JIR - Chapter 2: Protocol-Independent Routing Flashcards

1
Q

What hierarchy level does the configuration for static routes occur?
(V1-2-5)

A

[edit routing-options]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a basic static route consist of?

V1-2-5

A

A destination prefix and its associated next hop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens when you specify “reject” as the next-hop value in a static route?
(V1-2-5)

A

The system sends an ICMP message (the network unreachable message) back to the source of the IP packet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens when you specify “discard” as the next-hop value in a static route?
(V1-2-5)

A

The system does not send back an ICMP message; the system drops the packet silently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a way a static route can become inactive?

V1-2-5

A

When the next hop becomes unreachable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Ture or False: By default, the next-hop IP address of static routes doesn’t have to be reachable using a direct route.
(V1-2-5)

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When is the “resolve” option on a static route used?

A

If the specified next hop is not directly connected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the default route preference for a static route?

V1-2-6

A

The default route preference for a static route is 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a “qualified-next-hop” on a static route used for?

V1-2-6

A
  • This allows an independent route preference for static routes to the same destination.
  • In this way, you can specify a second static route to the same destination that can be used in case the original static route fails.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When defining static routes, what does the “next-table” option do?
(V1-2-6)

A

It directs the matching traffic to the specified table where a second route lookup is performed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When defining static routes, what does the “no-readvertise” option do?
(V1-2-7)

A

Prohibits the referenced route from being redistributed through routing policy into a dynamic routing protocol such as OSPF.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

It is suggested that you use “no-readvertise” on what type of traffic?
(V1-2-7)

A

It is suggested to use “no-readvertise” on static routes that direct traffic out the management interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In a static route, where can you configure options that will be applied to all static routes on that device (unless there is an explicit value set for a particular route)?
(V1-2-7)

A

[edit routing-options static defaults]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List 4 options that can be assigned to static routes:

V1-2-7

A
  1. as-path
  2. community
  3. metric
  4. preference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are Aggregate routes?

V1-2-11

A

Aggregate routes allow you to combine groups of routes with a common address into a single entry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What hierarchy level are aggregate routes configured in?

V1-2-13

A

[edit routing-policy]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the default route preference of an Aggregate route?

V1-2-13

A

130

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the default next-hop value of an Aggregate route?

V1-2-13

A

reject

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

In an aggregate route, where can you configure options that will be applied to all static routes on that device (unless there is an explicit value set for a particular route)?
(V1-2-14)

A

[edit routing-options aggregate defaults]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: You can only configure one aggregate route per prefix?
(V1-2-14)

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

List 5 options that can be assigned to aggregate routes:

V1-2-14

A
  1. as-path
  2. community
  3. metric
  4. policy
  5. preference
22
Q

Which command can display the summary route and all contributing routes for an aggregate route?
(V1-2-15)

A

show route [prefix] exact detail

i.e: show route 172.29.0.0/20 exact detail

23
Q

True or False: The output of the “show route” command displays generated routes as static routes?
(V1-2-18)

A
  • Fase.

- The output of show route displays generated routes as aggregate routes.

24
Q

What is one of the possible uses of a Generated route?

V1-2-19

A

To source a default route (route of last resort) when specific conditions are met.

25
Q

For a route to qualify as a contributing route for a Generated route, what must the route have?
(V1-2-19)

A

The route must have a valid forwarding next-hop other than the local device; otherwise the generated route becomes hidden.

26
Q

What is a Martian address?

V1-2-27

A

Martian addresses are host or network addresses for which all routing information is ignored

-These addresses are never installed in the routing table and are usually sent by improperly configured systems on the network.

27
Q

What are the default Juniper Martian addresses?

V1-2-27

A
  1. 0.0.0/8
  2. 0.0.0/8
  3. 0.0.0/24
  4. 0.0.0/4
28
Q

What hierarchy level can you add additional Martian address prefixes?
(V1-2-27)

A

[edit routing-options]

29
Q

What command shows the list of registered Martian addresses?

What command filters the generated output to display the list for a specific table?
V1-2-27 V1-2-29

A

> show route martians

> show route martians table [table-name]
i.e: > show route martians table inet.0

30
Q

When setting up Martian addresses, in addition to the prefix and bitmask you must also include a match type.

What are the six default match types you can chose from?
(V1-2-27)

A
exact;
longer;
orlonger;
prefix-length-range;
through;
upto;
31
Q

What command option can be used to remove IP address blocks from the Martian list?
(V1-2-29)

A
  • you can use the “allow” command

i. e: set martians 240/4 orlonger allow

32
Q

What is a Juniper Routing Instance?

V1-2-31

A

-A routing instance is a unique collection of routing tables, interfaces, and routing protocol parameters.

33
Q

True or False: JunOS logically keeps the routing information in one routing instance apart from all other routing instances.
(V1-2-31)

A

True

34
Q

JunOS creates a default unicast routing instance named the master routing instance.

By default, which routing table is included in the master instance?
(V1-2-31)

A

By default the master routing instance contains the inet.0 table, which the device uses for IPv4 unicast routing.

35
Q

Under what hierarchy can you configure additional routing instances?

A

[edit routing-instances]

36
Q

List and define the six most common routing instance types:

V1-2-33

A
  1. forwarding: Used to implement filter-based forwarding for common Access Layer applications;
  2. l2vpn: Used in Layer 2 VPN implementations;
  3. no-forwarding: Used to separate large networks into smaller administrative entities;
  4. virtual-router; Used for non-VPN-related applications such as system virtualization;
  5. vpsl: Used for point-to-multipoint LAN implementations between a set of sites in a VPN;
  6. vrf: Used in Layer 3 VPN implementations.
37
Q

Type the config to create a virtual-router type routing-instance named “new-instance”.

Add the following interfaces and create a default route with a next-hop of 172.26.25.1:

ge-0/0/0.0
ge-0/0/1.0
lo0.1
(V1-2-34)

A
# set routing-instance new-instance instance-type virtual-router
# set routing-instance new-instance interface ge-0/0/0.0
# set routing-instance new-instance interface ge-0/0/1.0
# set routing-instance new-instance interface lo0.1
# set routing-instance new-instance routing-options static route 0.0.0.0/0 next-hop 172.26.25.1
38
Q

What is the naming format for a unicast IPv4’s routing-instance’s routing table?
(V1-2-35)

A

[instance-name].inet.0

39
Q

What is the operational command to view the interfaces associated to a particular routing-instance?
(V1-2-35)

A

> show interfaces terse routing-instance [instance-name]

40
Q

What is the operational command to source a ping from a specific routing-instance?
(V1-2-35)

A

> ping x.x.x.x routing-instance [instance-name]

41
Q

What is the operational command to view the routing table of a particular routing-instance?
(V1-2-35)

A

> show route table [instance-name.table-name]

(i.e: show route table instance-name.inet.0

42
Q

What is the operational command to view all routing-instances on your Juniper device
(V1-2-35)

A

> show route instance

43
Q

What method does JunOS provide for placing routing information in multiple tables simultaneously.

List three types of deployments where placing routing information in multiple routing tables simultaneously may be helpful?
(V1-2-36)

A

-Juniper uses routing information base (RIBs) groups.

  1. VPNs
  2. Multicast network
  3. Filter-based forwarding
44
Q

What hierarchy level do you define RIB groups?

V1-2-36

A

[edit routing-options]

45
Q

Type the config to create a rib-group with the name “test” that shares OSPF routes between inet.0 and test.inet.0 tables.
(V1-2-38)

A

set routing-options rib-groups test import-rib [inet.0 test.inet.0]

set protocols ospf rib-group test

46
Q

What is needed in order to connect two routing instances with a logical connection?
(V1-2-39)

A
  • You must configure a logical tunnel interface for each instance.
  • Next you must configure a peer relationship between the logical tunnel interfaces, thus creating a point-to-point connection.
47
Q

Type a config to create a logical tunnel interface that establishes a point-to-point connection between two routing-instances using fpc0/pic0/port0.
(V1-2-39)

A
# set interfaces lt-0/0/0 unit 0 encapsulation ethernet
# set interfaces lt-0/0/0 unit 0 peer-unit 1
# set interfaces lt-0/0/0 family inet
# set interfaces lt-0/0/0 unit 1 encapsulation ethernet
# set interfaces lt-0/0/0 unit 1 peer-unit 0
# set interfaces lt-0/0/0 unit 1 family inet
48
Q

When configuring logical tunnel interfaces what must be noted with regards to the following:

  1. What are the supported encapsulation types:
  2. What are the supported protocol family types:
  3. How many peer units can be configured per logical interfaces?
  4. To enable a logical tunnel interfaces, what must be done first?
    (V1-2-40)
A
  1. The supported encapsulation types are:
    a. ethernet
    b. ethernet circuit cross-connect (CCC)
    c. Ethernet VPLS
    d. Frame Relay
    e. Frame Relay CCC
    f. VLAN
    g. VLAN CCC
    h. VLAN VPLS
  2. IP, IPv6, ISO, MPLS
  3. Only 1 peer unit per logical interface can be configured. Example: uni 0 cannot peer with both unit 1 and unit 2.
  4. To enable an lt- interface, you must configure at least one physical interface statement.
49
Q

What is required to use physical interfaces to connect two routing-instances?
(V1-2-40)

A

You need two physical ports; one for each instance.

50
Q

When connecting two routing-instances by using physical interfaces, what must be done?
(V1-2-40)

A
  1. Define physical interfaces as you normally would
  2. Associate each interface with its respective routing instance under the [edit routing-instance instance-name] hierarchy.