Networked Systems Design Flashcards

1
Q

What is OSPF?

A

Open Shortest Path First is a link-state routing protocol developed as an alternative to RIP.

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

What are the advantages of OSPF over RIP?

A

Faster convergence and scalability to larger network implementations.

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

What is the purpose of areas in OSPF?

A

Areas help control routing update traffic within a routing domain.

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

What information does a link-state include?

A

Network prefix, prefix length, and cost.

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

What are the five types of OSPF packets?

A
  • Hello packet
  • Database description packet
  • Link-state request packet
  • Link-state update packet
  • Link-state acknowledgment packet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the Hello packet in OSPF?

A

Discovers neighbors and establishes neighbor adjacencies.

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

What does the Link-State Database (LSDB) represent?

A

Information about all other routers in the network.

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

What command is used to view the Adjacency Database in OSPF?

A

show ip ospf neighbor

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

What is the SPF algorithm used for in OSPF?

A

To calculate the shortest path to each node in the network.

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

What are the main steps in the link-state routing process?

A
  • Establish Neighbor Adjacencies
  • Exchange Link-State Advertisements
  • Build the Link State Database
  • Execute the SPF Algorithm
  • Choose the Best Route
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the best practice for single-area OSPF?

A

Use area 0.

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

What are Area Border Routers (ABRs)?

A

Routers interconnecting multiple OSPF areas.

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

What is OSPFv3?

A

The OSPF equivalent for exchanging IPv6 prefixes.

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

True or False: OSPFv3 supports both IPv4 and IPv6.

A

True.

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

What is the function of the Database Description (DBD) packet?

A

Checks for database synchronization between routers.

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

Fill in the blank: OSPF uses the _______ algorithm to determine the best paths.

A

SPF

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

What are the seven states of OSPF operation?

A
  • Down state
  • Init state
  • Two-way state
  • ExStart state
  • Exchange state
  • Loading state
  • Full state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the routing table generated from in OSPF?

A

The link-state database after running the SPF algorithm.

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

What does the Forwarding Database contain?

A

List of routes generated from the link-state database.

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

What is the Down State in OSPF?

A

No Hello packets received = Down. Router sends Hello packets. Transition to Init state.

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

What happens in the Init State of OSPF?

A

Hello packets are received from the neighbor containing the Router ID of the sending router. Transition to Two-Way state.

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

What is the Two-Way State in OSPF?

A

Communication between the two routers is bidirectional. On multiaccess links, routers elect a DR and a BDR. Transition to ExStart state.

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

What occurs during the ExStart State?

A

On point-to-point networks, the two routers decide which router will initiate the DBD packet exchange and the initial DBD packet sequence number.

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

What is the purpose of the Exchange State in OSPF?

A

Routers exchange DBD packets. If additional router information is required, transition to Loading; otherwise, transition to Full state.

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

What is the Loading State in OSPF?

A

LSRs and LSUs are used to gain additional route information. Routes are processed using the SPF algorithm. Transition to Full state.

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

What defines the Full State in OSPF?

A

The link-state database of the router is fully synchronized.

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

How do routers establish neighbor adjacencies in OSPF?

A

The router sends a Hello packet containing its router ID out all OSPF-enabled interfaces to the address 224.0.0.5.

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

What is the OSPF router ID?

A

A 32-bit number formatted like an IPv4 address, assigned to uniquely identify a router among OSPF peers.

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

What happens when a neighboring OSPF-enabled router receives a Hello packet?

A

If the router ID is not in its neighbor list, it attempts to establish an adjacency with the initiating router.

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

What are the steps for establishing adjacency on a multiaccess network?

A
  1. Down to Init State 2. Init State 3. Two-Way State 4. Elect the DR & BDR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What occurs during the DR and BDR election?

A

The router with the highest router ID or priority is elected as the DR; the second highest is the BDR.

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

What challenges does OSPF face on multiaccess networks?

A
  1. Creation of multiple adjacencies 2. Extensive flooding of LSAs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

How does OSPF use areas?

A

OSPF uses areas for scalability, allowing a large routing domain to be divided into smaller areas.

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

What databases does OSPF create and maintain?

A
  • Adjacency database * Link-state database (LSDB) * Forwarding database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

What algorithm does OSPF use to build the topology table?

A

The Dijkstra SPF (shortest-path first) algorithm.

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

What does cost represent in OSPF?

A

Cost is used to determine the best path to the destination.

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

What is the single-area OSPF best practice?

A

Best practice is to use area 0.

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

What is a DROTHER in OSPF?

A

A router that is neither the DR nor the BDR.

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

What are some important fields in the Hello packet?

A

Type, router ID, area ID, network mask, hello interval, router priority, dead interval, DR, BDR, list of neighbors.

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

What multicast address is used to send Hello packets?

A

224.0.0.5.

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

Why is DR and BDR election necessary in multiaccess networks?

A

To prevent chaotic network traffic from flooding and acknowledging all LSAs by every router.

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

What is the role of the designated router (DR) in OSPF?

A

To be the collection and distribution point for LSAs sent and received.

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

What are the three criteria for deriving a router ID in Cisco routers?

A
  • Explicitly configured using the OSPF router-id command
  • Highest IPv4 address of configured loopback interfaces
  • Highest active IPv4 address of physical interfaces.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

What is the recommended method to assign a router ID?

A

Explicitly configure it using the OSPF router-id command.

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

What command is used to verify the router ID?

A

show ip protocols.

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

How can a router ID be changed after it has been selected?

A

By reloading the router or resetting the OSPF process.

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

What command is preferred to reset the router ID?

A

clear ip ospf process.

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

What is the significance of the router ID during database synchronization?

A

The router with the highest router ID sends their database descriptor packets first.

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

Fill in the blank: OSPF is a _______ routing protocol.

A

link-state.

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

What command is used to reset all OSPF processes?

A

clear ip ospf process

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

What is the basic syntax for the OSPF network command?

A

network network-address wildcard-mask area area-id

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

What does the wildcard mask refer to in OSPF configuration?

A

The inverse of the subnet mask configured on the interface

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

What is the effect of sending unnecessary OSPF messages on a LAN?

A

Inefficient use of bandwidth, resources, and increased security risk

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

What command is used to prevent the transmission of routing messages through a router interface while still advertising the network?

A

passive-interface

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

What command is used to configure OSPF directly on the interface?

A

ip ospf process-id area area-id

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

What is the advantage of specifying the exact interface IPv4 address in OSPF configuration?

A

No wildcard mask calculation is necessary

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

What is the default subnet mask for loopback interfaces in OSPF?

A

/32

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

What does R1 advertise when configured with a loopback interface as a point-to-point network?

A

The full network

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

What command must be removed when switching from using network commands to using the ip ospf command?

A

no network command

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

What interface command is used to configure OSPF on GigabitEthernet 0/0/0?

A

ip ospf 10 area 0

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

What happens to the state of an OSPF neighbor when the interface goes down?

A

Changes from FULL to DOWN

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

What type of network does OSPF use for advertising the full network?

A

Point-to-point network

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

What command can be used to verify OSPF router roles?

A

show ip ospf interface

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

What is the function of the Designated Router (DR) in a multiaccess OSPF network?

A

Collecting and distributing LSAs

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

What multicast IPv4 address does the DR use?

66
Q

What is the role of the Backup Designated Router (BDR)?

A

Maintains a relationship with all routers and takes over if the DR fails

67
Q

What is the state of a router that is neither the DR nor BDR?

68
Q

What multicast address do DROTHER routers use to send OSPF packets?

69
Q

In a multiaccess OSPF topology, how are DR and BDR elected?

A

Based on the highest router ID

70
Q

What is the router ID of the elected DR in the given multiaccess OSPF network?

71
Q

What is the router ID of the BDR in the given multiaccess OSPF network?

72
Q

What command is used to verify OSPF neighbor adjacencies?

A

show ip ospf neighbor

73
Q

What OSPF neighbor state indicates full adjacency with a non-DR or BDR router?

A

FULL/DROTHER

74
Q

What is the normal state for an OSPF router?

75
Q

What is the default priority of OSPF routers during DR/BDR election?

76
Q

Fill in the blank: The router with the highest interface priority is elected as the _______.

A

[Designated Router (DR)]

77
Q

Fill in the blank: The router with the second highest interface priority becomes the _______.

A

[Backup Designated Router (BDR)]

78
Q

What happens if the DR stops producing Hello packets?

A

The BDR promotes itself to DR

79
Q

What two states can a router have with the DR?

A

FULL/DR and FULL/BDR

80
Q

What indicates there are problems in forming OSPF adjacencies?

A

A router stuck in a state other than FULL

81
Q

What is the significance of the 2-WAY state in a multiaccess broadcast network?

A

It is a normal state for non-DR or BDR routers

82
Q

What does the command ‘show ip ospf interface’ reveal about a router’s role?

A

It confirms if the router is DR, BDR, or DROTHER

83
Q

What is the first criterion for the OSPF DR/BDR election process?

A

The router with the highest interface priority is elected as the DR.

84
Q

What happens if the interface priority value is set to 0?

A

That interface cannot be elected as DR nor BDR.

85
Q

What is the default priority of multiaccess broadcast interfaces in OSPF?

86
Q

If the interface priorities are equal, how is the DR elected?

A

The router with the highest router ID is elected as the DR.

87
Q

What triggers the OSPF election process?

A

The first router with an OSPF-enabled interface becoming active on the network.

88
Q

True or False: The addition of a new router initiates a new election process.

89
Q

What occurs if the DR fails?

A

The BDR is automatically promoted to DR.

90
Q

What command is used to set the priority of an OSPF interface?

A

ip ospf priority value.

91
Q

What does a priority value of 0 indicate?

A

The interface does not become a DR or BDR.

92
Q

What is the formula used to calculate the OSPF cost?

A

Cost = reference bandwidth / interface bandwidth.

93
Q

What is the default reference bandwidth for OSPF?

A

100,000,000 bps.

94
Q

How can you manually set the OSPF cost value on an interface?

A

Use the command ip ospf cost value.

95
Q

What happens when the reference bandwidth is adjusted?

A

It affects the calculation used to determine the metric, not the actual bandwidth capacity.

96
Q

What command must be configured on every router to adjust the reference bandwidth?

A

auto-cost reference-bandwidth Mbps.

97
Q

What is the accumulated cost of an OSPF route?

A

The accumulated value from one router to the destination network.

98
Q

How do you verify the current OSPF cost assigned to an interface?

A

Use the show ip ospf interface command.

99
Q

What is the total cost for R1 to reach the 10.10.2.0/24 network if the link to R2 costs 10 and the loopback default cost is 1?

100
Q

What command is used to verify the accumulated cost for a specific network?

A

show ip route.

101
Q

Fill in the blank: The _______ command allows you to influence path selection within OSPF.

A

ip ospf cost.

102
Q

True or False: Changing the reference bandwidth affects the actual bandwidth on the link.

103
Q

How can the cost value reported by the local OSPF router be changed?

A

Use the interface configuration command ip ospf cost value

Example: R1(config-if)# ip ospf cost 30

104
Q

What command is used to simulate a link failure between R1 and R2?

A

Shut down the Gigabit Ethernet 0/0/0 interface

This verifies that the routing table updates to use R3 as the next-hop router.

105
Q

What is the default interval for OSPFv2 Hello packets?

A

10 seconds

This is the default timer value on multiaccess and point-to-point networks.

106
Q

What does the Dead interval signify in OSPF?

A

The period the router waits to receive a Hello packet before declaring the neighbor down

Default is 40 seconds on multiaccess and point-to-point networks.

107
Q

What command is used to verify OSPFv2 interface intervals?

A

show ip ospf interface

This command shows configured Hello and Dead intervals.

108
Q

What happens when the Dead Timer expires?

A

R1 and R2 lose adjacency

This requires both routers to be configured with the same Hello interval.

109
Q

What command is used to propagate a default static route in OSPFv2?

A

default-information originate

This instructs the router to propagate the default route information.

110
Q

How can the Hello and Dead intervals be modified?

A

Using the commands ip ospf hello-interval seconds and ip ospf dead-interval seconds

Use ‘no’ commands to reset to defaults.

111
Q

What indicates that a route was learned using OSPFv2?

A

O*E2

The asterisk signifies a good candidate for the default route, and E2 indicates it’s an external route.

112
Q

What command verifies the received default route on R1?

A

show ip route

This shows the routing table including the default route learned via OSPF.

113
Q

True or False: Hello packets are sent on interfaces set to passive by the passive-interface command.

A

False

Hello packets are not sent on passive interfaces.

114
Q

Fill in the blank: OSPF Hello packets are transmitted to multicast address _______.

115
Q

What is the command to view OSPF neighbor adjacencies?

A

show ip ospf neighbor

This command displays OSPF neighbor states and Dead Time.

116
Q

What is the impact of increasing OSPF timers for quicker network failure detection?

A

Increases traffic

Quick convergence may be prioritized over extra traffic.

117
Q

What command is used to check the routing table for the default route on R2?

A

show ip route | begin Gateway

This command filters the output to show the default route.

118
Q

How does the Cisco IOS automatically adjust the Dead interval?

A

To four times the Hello interval

If the Hello interval is set to 5 seconds, the Dead interval becomes 20 seconds.

119
Q

What command verifies that the desired interfaces are active with correct IP addressing?

A

show ip interface brief

120
Q

What command verifies that the routing table contains all the expected routes?

A

show ip route

121
Q

Which command is used to verify that the router has formed an adjacency with its neighboring routers?

A

show ip ospf neighbor

122
Q

What indicates that two routers have not formed an OSPFv2 adjacency?

A

Router ID not displayed or not in FULL state

123
Q

True or False: A non-DR or BDR router with another non-DR or BDR router will display a full adjacency.

124
Q

What are the conditions that may prevent two routers from forming an OSPFv2 adjacency? (List at least two)

A
  • Subnet masks do not match
  • OSPFv2 Hello or Dead Timers do not match
  • OSPFv2 Network Types do not match
  • Missing or incorrect OSPFv2 network command
125
Q

Which command provides a quick way to verify vital OSPF configuration information?

A

show ip protocols

126
Q

What is the default administrative distance for OSPF?

127
Q

What command examines the OSPFv2 process ID and router ID?

A

show ip ospf

128
Q

What command provides a detailed list for every OSPFv2-enabled interface?

A

show ip ospf interface

129
Q

Fill in the blank: The basic syntax for the network command in OSPF is network ______ area area-id.

A

network-address wildcard-mask

130
Q

What is the purpose of the passive-interface command?

A

To stop transmitting routing messages through a router interface but still allow that network to be advertised

131
Q

What multicast IPv4 address is used by the DR to distribute LSAs?

132
Q

What happens if the DR stops producing Hello packets?

A

The BDR promotes itself and assumes the role of DR

133
Q

What address do DROTHERs use to send OSPF packets to the DR and BDR?

134
Q

True or False: Only the DR and BDR listen for the multicast address 224.0.0.6.

135
Q

What command is used to verify OSPFv2 adjacencies?

A

show ip ospf neighbor

136
Q

What is the highest priority criteria for deriving the router ID for an OSPF router?

A

Explicitly configured using the OSPF router-id command

137
Q

List the order of criteria Cisco routers use to derive the router ID.

A
  • Explicitly configured router ID
  • Highest IPv4 address of configured loopback interfaces
  • Highest active IPv4 address of physical interfaces
138
Q

What command provides a summary of OSPFv2-enabled interfaces?

A

show ip ospf interface brief

139
Q

What does the command ‘show ip ospf interface’ display?

A

Process ID, local router ID, network type, OSPF cost, DR and BDR information, adjacent neighbors

140
Q

What is the significance of a loopback interface advertised as a /32 host route?

A

It simulates a real LAN

141
Q

What command is used to verify OSPFv2 adjacencies?

A

show ip ospf neighbor

This command displays the OSPF neighbor relationships and their states.

142
Q

What are the possible states of neighbors in multiaccess networks?

A
  • FULL/DROTHER
  • FULL/DR
  • FULL/BDR
  • 2-WAY/DROTHER

These states indicate different levels of adjacency in OSPF.

143
Q

How is the DR (Designated Router) elected in OSPF?

A

Based on the highest interface priority

If priorities are equal, the router with the highest router ID is elected.

144
Q

What happens if the interface priority is set to 0?

A

The interface cannot be elected as DR nor BDR

Setting priority to 0 effectively disables participation in DR/BDR elections.

145
Q

What is the default priority of multiaccess broadcast interfaces in OSPF?

A

1

This is the initial setting for interface priority unless configured otherwise.

146
Q

Are OSPF DR and BDR elections pre-emptive?

A

False

If the DR fails, the BDR is automatically promoted to DR without a new election.

147
Q

What command is used to set the priority of an interface in OSPF?

A

ip ospf priority value

The value can range from 0 to 255.

148
Q

What does a lower OSPF cost indicate?

A

A better path

OSPF uses cost as a metric for route selection.

149
Q

What is the formula to calculate OSPF cost?

A

Cost = reference bandwidth / interface bandwidth

This formula helps determine the cost associated with a specific route.

150
Q

What command can adjust the reference bandwidth in OSPF?

A

auto-cost reference-bandwidth

This command allows for the adjustment of OSPF cost calculations based on interface speed.

151
Q

What does the command ip ospf cost value do?

A

Sets the OSPF cost value for an interface

This value can be manipulated to influence routing decisions.

152
Q

What happens when the Dead interval expires before a Hello packet is received?

A

OSPF removes the neighbor from its LSDB

This is part of OSPF’s mechanism to maintain accurate routing information.

153
Q

What is the default Dead interval for OSPF on multiaccess and point-to-point networks?

A

40 seconds

This is set to 4 times the Hello interval by default.

154
Q

Which command can be used to verify OSPFv2 interface intervals?

A

show ip ospf interface

This command provides detailed information about OSPF interface configurations.

155
Q

What is the role of an ASBR in OSPF?

A

Router between an OSPF routing domain and a non-OSPF network

ASBR stands for Autonomous System Boundary Router.

156
Q

What command must be used to propagate a default route from an ASBR?

A

ip route 0.0.0.0 0.0.0.0 [next-hop-address | exit-intf]

This command sets up a default static route on the ASBR.

157
Q

What is the command to verify the default route settings on the ASBR?

A

show ip route

This command displays the routing table, including default routes.

158
Q

What command can be used to check if OSPF is operating as expected?

A

show ip ospf

This command provides information about OSPF operations and statistics.

159
Q

What does the command ip ospf hello-interval value do?

A

Sets the OSPF Hello interval

This interval determines how often Hello packets are sent.

160
Q

What does the command ip ospf dead-interval value do?

A

Sets the OSPF Dead interval

This interval determines how long to wait before removing a neighbor.

161
Q

What command is used to clear the OSPF process?

A

clear ip ospf process

This command resets the OSPF process, useful for troubleshooting.