Routing Flashcards

1
Q

In what type of routing algorithm does each router sends all or some portion of its routing table only to directly connected devices?

A

Distance vector

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

What does an advanced distance vector algorithm provide that a traditional distance vector does not?

A

Advanced distance vector algorithms rapid convergence, use of hello mechanisms, formation of neighborships, and the ability to balance traffic over equal- and unequal-metric paths.

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

In what routing algorithm does each router build a picture of the network and calculates the shortest path to each known destination?

A

Link state

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

What routing algorithm is similar to distance vector protocols, but instead of looking at the distance to figure out the best loop-free path, it looks at various BGP path attributes?

A

Path vector

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

What is the purpose of a floating static route?

A

A floating static route is a static route that a router uses as a backup to a primary or dynamic route.

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

What is the default AD (administrative distance) that OSPF uses?

A

110

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

What does the EIGRP topology table contain?

A

The EIGRP topology table contains all of the prefixes that are advertised in that particular EIGRP autonomous system.

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

What is the hello timer interval that EIGRP uses on a slow interface?

A

60 seconds

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

What is the main purpose of a virtual link in an OSPF implementation?

A

A virtual link in OSPF provides a disconnected area with a logical path to the backbone (Area 0).

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

In OSPFv3, the AllDRouters designated router (DR) is represented by what address?

A

FF02::06

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

What is the administrative distance of a connect interface?

A

0

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

What is the administrative distance of a static route?

A

1

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

What is the administrative distance of EIGRP summary route?

A

5

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

What is the administrative distance of BGP?

A

20

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

What is the administrative distance of Internal EIGRP?

A

90

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

What is the administrative distance of OSPF?

A

110

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

What is the administrative distance of IS-IS?

A

115

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

What is the administrative distance of RIP?

A

120

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

What is the administrative distance of EIGRP external route?

A

170

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

What is the administrative distance of Internal and Local BGP?

A

200

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

What are the three main components of path selection?

A

Prefix length, administrative distance, and metric

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

What type of static routes can reference the outbound interface of a router?

A

Directly attached static routes
ip route network subnet-mask next-hop-interface-id.

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

What type of static route is a route whose next hop and the destination network are covered by another learned route in the RIB?

A

Recursive static routes
ip route network subnet-mask next-hop-ip.

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

What type of static route is a fully specified static route is a route that specifies both an interface and a next-hop IP address?

A

Fully specified static routes
ip route network subnet-mask interface-id next-hop-ip

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

What is a floating static route?

A

A static route that the router uses as a backup to a primary or dynamic route
ip route network subnet-mask next-hop-interface-id 205

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

What is a successor route in EIGRP?

A

The successor route is the route with the lowest-metric path to reach the destination network.

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

What is the first next-hop router for the successor route?

A

Successor

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

What is the EIGRP metric value for the lowest-metric path to reach a destination network?

A

Feasible distance (FD)

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

In EIGRP, what is the distance reported by a router to reach a particular network prefix?

A

Reported distance (RD)

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

What states that for a route to be considered a backup route, the RD received for that route must be less than the FD that is calculated locally?

A

Feasibility condition

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

What is not the current best route but a backup route that can be used if the successor route is lost?

A

Feasible successor

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

T/F: EIGRP relies on the periodic advertisement of all network prefixes, which is done with other routing protocols, such as RIP and OSPF

A

False

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

T/F: EIGRP relies on the periodic advertisement of all network prefixes, which is done with other routing protocols, such as RIP and OSPF

A

False

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

What EIGRP packet type is used for discovering EIGRP neighbors and for detecting when a neighbor is lost?

A

Hello

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

What is the EIGRP default hello timer?

A

5 seconds
60 sec for slower interfaces

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

What is the amount of time EIGRP deems the router as still reachable and functioning?

A

Hold time

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

What is the EIGRP default hold timer?

A

The default hold time is three times the hello time interval. So, the default is 15 seconds, and it is 180 seconds on slower links.

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

What EIGRP packet type is used to get specific information from a neighbor?

A

Request

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

What EIGRP packet type is used to transmit routing and reachability information with EIGRP neighbors?

A

Update

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

What EIGRP packet type is used to search for other paths during convergence?

A

Query

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

What EIGRP packet type is sent in response to a query packet?

A

Reply

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

EIGRP uses which protocol number and multicast address for communication?

A

IP protocol number 88. Communication happens using the multicast group address 224.0.0.10.

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

What contains all of the prefixes that are advertised in a particular EIGRP autonomous system?

A

Topology Table

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

What does the K1 value represent?

A

The minimum bandwidth of the route, in Kbps

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

What does the K2 value represent?

A

The effective load of the route, expressed as a number from 0 to 255, where 255 is 100% loading.

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

What does the K3 value represent?

A

The route delay, in tens of microseconds: Scaled delay = Delay/10.

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

What does the K4 value represent?

A

Reliability: The likelihood of successful packet transmission, expressed as a number between 0 and 255, where 255 means 100% reliability and 0 means no reliability.

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

What does the K5 value represent?

A

The minimum maximum transmission unit (MTU) size of the route, in bytes. It can be 0 or any positive integer.

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

How would you configure manual EIGRP route summarization in classic mode?

A

ip summary-address eigrp command in interface configuration mode

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

How would configure manual EIGRP route summarization in named mode?

A

summary-address command

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

How does OSPF calculate cost?

A

The cost is inversely proportional to the bandwidth of that interface, and the higher the bandwidth of an interface, the lower the cost.

Cost = 100 Mbps/Bandwidth of the Interface, in Mbps

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

What needs to parameters need to match for OSPF routers to from an adjacency?

A

Area ID, authentication, hello/ dead timers, stub area flag, and MTU

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

What determines which router will be the DR on a broadcast segment?

A

Highest OSPF priority. In the event of a tie, the router with the highest router ID wins.

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

What is the multicast address routers running OSPF should be able to receive these packets?

A

224.0.0.5

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

What is the multicast address for only DR OSPF routers?

A

224.0.0.6

56
Q

In which OSPF state no hellos have been received from any router on the segment, but hellos are being sent?

A

Down

57
Q

On non-broadcast multi-access links, which OSPF state indicates that no recent hello has been received from the neighbor?

A

Attempt

58
Q

Which OSPF state hello packet was detected on the interface, but bidirectional communication has not yet been established?

A

Init

59
Q

In which OSPF state bidirectional communication with the neighbor has occurred, and the router saw its own router ID in the neighbor field of the hello packet coming from the neighbor?

A

Two-way

60
Q

In which OSPF state do routers establish the initial sequence number that is to be used for information exchange?

A

Exstart

61
Q

In which OSPF state do routers send database descriptor packets describing their LSDB?

A

Exchange

62
Q

In which OSPF state do routers finalize the information exchange?

A

Loading

63
Q

In which OSPF state is the adjacency is completed?

A

Full

64
Q

Which OSPF packet type is used for discovering and maintaining neighbors?

A

Hello

65
Q

Which OSPF packet type is used for summarizing link-state database contents?

A

Database descriptor (DBD)

66
Q

Which OSPF packet type is used to request link-state database updates?

A

Link-state request (LSR)

67
Q

Which OSPF packet type is used to send link-state database updates?

A

Link-state update (LSU)

68
Q

Which OSPF packet type is used to ensure reliable transmission of LSAs?

A

Link-state ack (LSACK)

69
Q

How would you configure OSPF via the interface method?

A

int g1/1
ip ospf 1 area 0

70
Q

What command allows you to verify OSPF interface info?

A

show ip ospf interface and show ip ospf interface brief commands

71
Q

If not specified, how does OSPF dynamically assign the RID?

A

The router ID (RID) is dynamically allocated and is the highest IP address of any loopback interface in the up state. If there are no loopback interfaces in the up state, then the highest IP address of any active physical interface in the up state is used when the OSPF process initializes.

72
Q

What does a passive interface mean in OSPF?

A

A passive interface in OSPF prevents the sending of OSPF hellos and prevents the processing of any received OSPF packets.

73
Q

How would advertise a default route in OSPF?

A

You advertise the default route by using the command default-information originate [always] [metric metric value] metric-type type-value] in the OSPF process. The always option installs a default route even if one does not exist in the RIB.

74
Q

How can you influence OSPF DR placement on a router?

A

You can raise the priority above the default value (which is 1) to make an interface more favorable than other interfaces that have the default value. You change the priority by using the interface configuration command ip ospf priority 0-255.

75
Q

What type of LSA advertises the network prefixes that have originated from a different area?

A

Type 3 (summary LSA)

76
Q

What type of LSA advertises the multi-access network segment that is attached to a DR within an area?

A

Type 2 (network LSA)

77
Q

What type of LSA advertises the LSAs that are originated within an area?

A

Type 1 (router LSA)

78
Q

What type of LSA advertises the ID of the ABR that needs to be used to reach an ASBR if the ASBR is not in the area where the type 5 LSA is being seen?

A

Type 4 (ASBR summary)

79
Q

What type of LSA advertises LSAs for routes that were redistributed and therefore external to the OSPF routing domain?

A

Type 5 (AS external LSA)

80
Q

What type of LSA advertises redistributed routes in not-so-stubby areas (NSSAs) and is therefore external to the OSPF routing domain?

A

Type 7 (NSSA external LSA)

81
Q

What type of routes are most preferred in the OSPF path selection process?

A

Intra-area. The routes advertised through a type 1 LSA are always preferred over type 3 and type 5 LSAs. When multiple intra-area routes exist, the path with the lowest total path metric is installed in the RIB.

82
Q

After Intra-area routes, what is preferred next?

A

Interarea. These routes are flagged as O IA in the routing table.

83
Q

After Interarea routes, what is preferred next?

A

External type 1. External type 1 LSAs use the redistribution metric in addition to the lowest path metric to get to the ASBR that advertises the route.

84
Q

After External type 1 routes, what is preferred next?

A

External type 2.

85
Q

How can you configure interarea summarization?

A

Using the command area area-id range network subnet-mask [advertise | not-advertise] [cost metric] under the OSPF process.

86
Q

How can you configure external summarization?

A

summary-address network subnet-mask

87
Q

Do you enable OSPFv3 via network command or on the interface?

A

OSPFv3 specifies that each interface must be enabled using commands in interface configuration mode.

88
Q

Can multiple instances of OSPFv3 can run on a link?

A

Yes

89
Q

In OSPFv3, routers communicate with each other using the local interface’s ______ address as the source.

A

IPv6 link-local address

90
Q

What are the OSPFv3 multicast link-local scoped addresses?

A

FF02::05: OSPFv3 AllSPFRouters
OSPFv3 AllDRouters designated router (DR) router

91
Q

Do you need to configure a separate OSPFv3 process from regular IPv4 OSPF?

A

Yes by using the command router ospfv3 [process-id].

92
Q

What are the four required steps to configure OSPFv3?

A

Enable IPv6 unicast routing by using the command ipv6 unicast-routing.

Configure the OSPFv3 process by using the command router ospfv3 [process-id].

Define the router ID by using the command router-id router-id.

Enable OSPFv3 on an interface and assign the interface to an area by using the command ospfv3 process-id ipv6 area area-id.

93
Q

How many packet types does OSPF use for communication?

A

Five

94
Q

With OSPF, which factor is used for calculating the cost of an interface?

A

Bandwidth

95
Q

Which of the following is a pure distance vector routing protocol?

A. RIP

B. EIGRP

C. OSPF

D. BGP

A

RIP

96
Q

What is the default hello timer that EIGRP uses on slower interfaces?

A

60 Seconds

97
Q

In OSPF, what is the AllSPFRouters multicast destination?

A. 224.0.0.5

B. 224.0.0.6

C. 224.0.0.8

D. 224.0.0.10

A

224.0.0.5

98
Q

What is the multicast destination address that OSPFv3 uses to communicate with the AllDRouters designated routers?

A. 224.0.0.5

B. 224.0.0.6

C. FF02::05

D. FF02::06

A

FF02::06

99
Q

True or false: Unlike OSPFv2, OSPFv3 supports running multiple instances of OSPFv3 for each link

A

True

100
Q

What are the two blocks of private ASNs that organizations can use as long as they are not exchanged publicly on the Internet?

A

64,512–65,535 within the 16-bit ASN range

4,200,000,000–4,294,967,294 within the 32-bit range

101
Q

What are the three tables BGP uses to store information?

A

BGP neighbor table, BGP table, and the IP routing table

102
Q

How many message types does BGP use for communication?

A

4

103
Q

What are the four message types BGP uses for communication?

A

Open, update, notification, keepalive

104
Q

Which BGP message type indicates error conditions to BGP neighbors?

A

Notification

105
Q

Which BGP message type ensures the BGP neighbors are still alive?

A

Keepalive

106
Q

What are the default keepalive and hold times on Cisco routers?

A

Cisco routers use a default hold time of 180 seconds, so the keepalive interval is 60 seconds

107
Q

What type of BGP messages are responsible for setting up and establishing BGP adjacencies?

A

Open

108
Q

What type of BGP messages are responsible for advertising, updating, and withdrawing previously advertised routes?

A

Update

109
Q

What is the initial BGP state?

A

Idle. In this state, the router waits on a start event from the peering router, such as a peering confirmation from the remote peer.

110
Q

What is the BGP state where the BGP process tries to establish a TCP session with a peer using the ConnectRetry timer?

A

Active

111
Q

What is the state when the BGP routing process detects that a peer is trying to establish a TCP session with the local BGP speaker?

A

Connect

112
Q

What BGP state indicates an open message is sent from the originating router, that router waits for an open message from the other router?

A

OpenSent

113
Q

Which BGP state waits for a keepalive or notification message?

A

OpenConfirm

114
Q

Which BGP state indicates session is established, and BGP neighbors begin exchanging routes with update messages?

A

Established

115
Q

Which BGP attributes must be included with every prefix advertisement?

A

Well-known mandatory

116
Q

What are the well-known mandatory attributes?

A

Origin, AS_PATH, Next_Hop

117
Q

What type of attributes may or may not be included with the advertised prefix?

A

Well-known discretionary

118
Q

What are the two Well-known discretionary attributes?

A

Local Preference and atomic aggregate

119
Q

What type of attributes do not have to be recognized by all implementations and can be set so that they are transitive and stay with route advertisements from AS to AS?

A

Optional transitive

120
Q

What type of attributes cannot be shared from AS to AS?

A

Optional nontransitive

121
Q

What is the BGP best path selection sequence?

A

We Love Oranges As Oranges Mean Pure Refreshment” for Weight, LOCAL_PREF, Originated Locally, AS_PATH, ORIGIN Type, MED, Paths, and RID.

Prefer the path with the highest WEIGHT (local to a router).

Prefer the path with the highest LOCAL_PREF (global within AS).

Prefer the path that was locally originated via a network or aggregate BGP subcommand or through redistribution from an IGP.

Prefer the path with the shortest AS path (that is, the smallest number of autonomous systems in the AS_PATH attribute).

Prefer the path with the lowest Origin type.

Prefer the path with the lowest MED. (MEDs are compared only if the first AS in the AS sequence is the same for multiple paths.)

Prefer eBGP over iBGP paths.

Prefer the path with the lowest IGP metric to the BGP next hop.

If both paths are external, prefer the path that was received first (that is, the oldest route).

Prefer the route that comes from the BGP router with the lowest router ID (RID).

Prefer the path from the lowest neighbor address (which is the IP address used in the BGP neighbor configuration).

122
Q

What command allows you to see bgp table?

A

show ip bgp

123
Q

What command displays the status of bgp connections?

A

show ip bgp summary

124
Q

What symbol indicates the best route for a prefix in the BGP table?

A

>

125
Q

What symbol indicates the route is valid in the BGP table?

A

*

126
Q

True or false: The network statement in BGP indicates to the local router which routes should be injected into the BGP table.

A

True

127
Q

Which BGP verification command shows information about the TCP and BGP connection to BGP neighbors?

show ip bgp summary

show ip route bgp

show ip bgp

show ip bgp neighbors

A

show ip bgp neighbors

128
Q

In which BGP state does the BGP process try to establish a TCP session with a peer by using the ConnectRetry timer?

A

Active

129
Q

True or false: The version number of a BGP table changes when BGP updates the table with routing information changes.

A

True

130
Q

Which of the following techniques is the third selection criterion when making the BGP best path determination?

Weight

Origin (originated)

AS path

MED

A

Origin

131
Q

True or false: AS_PATH is a well-known discretionary attribute.

A

False. Well-known mandatory

132
Q

In OSPFv3, what is a type 3 LSA?

A

interarea prefix LSAs

133
Q

In OSPFv3, what is a type 4 LSA?

A

interarea router LSAs

134
Q

In OSPFv3, what is a type 5 LSA?

A

AS external LSAs

135
Q

In OSPFv3, what is a type 8 LSA?

A

link LSAs

136
Q

In OSPFv3, what is a type 9 LSA?

A

intra-area prefix LSAs