Routing Protocols Flashcards

1
Q

OSPF Adjacency

A

When OSPF neighbors have synchronised link-state databases.

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

OSPF Hello packets

A

Sent out on each OSPF-enabled interface to discover neighbour routers and for keep-alive

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

What are LSAs and their use?

A

Link-state advertisement, used to build routing tables in an OSPF area.

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

What is the name for OSPFv2 Type 1 LSA?

A

Router LSA

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

Which routers send OSPFv1 Type 1 LSAs?

A

This LSA is sent by every OSPF router in the network.

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

What is the name for OSPFv2 Type 2 LSA?

A

Network LSA

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

What is the name for OSPFv2 Type 3 LSA?

A

Network Summary LSA

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

What is the name for OSPFv2 Type 4 LSA?

A

Autonomous System Boundry Router (ASBR) Summary LSA

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

What is the name for OSPFv2 Type 5 LSA?

A

AS External LSA

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

What is the OSPFv2 Type 6 LSA?

A

Retired - was designed for multicast OSPF

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

What is the name for OSPFv2 Type 7 LSA?

A

Not-so-stubby Area (NSSA) External LSA

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

What are the Opaque LSAs?

A

Type 9 - 11 LSAs.

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

What is LSA Group Pacing?

A

Groups LSAs with similar refresh times and packs into a single OSPF update message.

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

What is an OSPF Area?

A

Logical division of routers and links within an OSPF domain.

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

What is the OSPF Backbone Area?

A

Area with a reserved ID of 0 or 0.0.0.0. which connects to all other areas in the OSPF domain.

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

What is an OSPF ABR?

A

Area Border Router

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

What is an OSPF ASBR?

A

Autonomous System Boundary Router

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

What is a Stub Area?

A

An area that does not allow AS External Type 5 LSAs.

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

What is a Not-so-stubby Area (NSSA)?

A

A stub area that is configured to allow the importing of AS external routes using redistribution.

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

What is an OSPF Virtual Link?

A

Allows an ABR to connect to the backbone area where no physical connection is possible.

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

What is an OSPF Designated Router (DR)

A

Used in a broadcast network to control LSA flooding and represent the network to the rest of the area.

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

OSPF Broadcast network type

A

Multiple routers communicating over a shared medium such as ethernet.

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

OSPF Point-to-point network type

A

Exists only between two routers, such as a single l3 link.

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

How does OSPF Simple password authentication work?

A

Cleartext password sent as part of the OSPFv2 message.

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

How does OSPF MD5 authentication digest work?

A

An MD5 digest based on the message and the encrypted password is sent with the OSPF update.

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

What is BGP?

A

Border Gateway Protocol, a dynamic routing protocol that uses a path vector algorithm to exchange routing information between speakers.

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

BGP AS (Autonomous System)

A

A routing domain with one or more interior gateway protocols (IGPS) and a consistent set of routing policies.

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

What are BGP peers?

A

BGP peers are speakers that have been configured to communicate and have an active TCP connection with each other.

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

What are the three BGP Peer configuration options supported by NXOS?

A

IP address and single AS number
Prefix and single AS number
Prefix and multiple AS numbers

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

What is the BGP Router ID?

A

32-bit value often represented by an IPv4 address that must be unique to the BGP peers on the network.

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

BGP Path Selection Algorithm

A

Runs each time a path is added or removed for a given network, or if BGP configuration is changed.

Steps:
1 - Valid path (e.g. next-hop is reachable)
2 - Highest weight
3 - Highest local preference
4 - Locally originated
5 - Shortest AS path
6 - Lowest origin type (e.g. IGP over EGP)
7 - Lowest Multi-exit discriminator (MED)
8 - eBGP or iBGP
9 - Lowest IGP metric
10 - Last selection in best-path algorithm
11 - Shortest cluster length
12 - Lowest peer IP address

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

Multiprotocol BGP (MBGP)

A

Supports multiple address families, e.g. one set of routes for IPv4 unicast, one for IPv4 multicast and one for IPv6 unicast

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

Configuring OSPFv2

A
feature ospf (requires Enterprise Services Package license)
!
router ospf 1
  router-id 1.1.1.1
  log-adjacency-changes
  auto-cost reference-bandwidth 100 Gbps
!
interface vlan 30,40
  ip router ospf 1 area 1
!
interface ethernet 2/1
  ip router ospf 1 area 0
  ip ospf authentication message-digest
  ip ospf message-digest-key 1 md5 cisco
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Configuring OSPFv3

A
feature ospfv3
!
router ospfv3 1
  router-id 1.1.1.1
  log-adjacency-changes
  auto-cost ref-bandwidth 100 Gbps (sets the reference bandwidth to calculate the default metrics for an interface, default is 40 Gbps so must be set higher if there are interfaces with bandwidth greater than that) 
!
interface vlan 30, 40
  ip router ospfv3 1 area 1
!
interface ethernet 2/1
  ip router ospfv3 1 area 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

OSPF and BFD

A

Detects an outage between two adjacent devices.

Layer 1 mechanisms are unreliable in detecting the loss of a link or neighbouring device, e.g. WAN or switch between peers goes down.

L3 protocols use hello mechanism to detect the loss of a neighbor to acheive fast convergence.

BFD provides sub second failure detection between two adjacent devices.

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

BFD Neighbor Session

A

OSPF discovers a neighbour.

OSPF sends a request to the local BFD process to initiaite a BFD neighbor session with the OSPF neighbor router.

The BFD neighbor session with the OSPF neighbor router is established.

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

BFD OSPF Convergence

A

A failure occurs in the network

The BFD neighbor session with the OSPF neighbor router is torn down.

BFD notifies the local OSPF process that the BFD neighbor is no longer reachable.

The local OSPF process tears down the OSPF neighbor relationship.

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

4 steps for configuring BFD

A

Disable address identical IDS check

Enable BFD feature

Disable ICMP redirects on any interfaces that use BFD

Enable BFD for the required L3 protocol.

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

Configuration example BFD

A
no hardware ip verify address (disable IDS check)
!
feature bfd
!
interface ethernet 1/2-4
  no ip redirects (disable ICMP redirects)
!
router ospf 1
  bfd
!
interface vlan 10
  no ip redirects
  no ipv6 redirects
  hsrp bfd
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

MP-BGP

A

MP-BGP supports multiple address families carryingg different sets of routes

BGP can carry one set of routes for a variety of protocols (ipv4 unicast, ipv4 multicast, ipv6 unicast, ipv6 multicast,etc)

MP-BGP maintains a separate Routingg Information Base (RIB) for each configured address family

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

MP-BGP Configuration Example

A

router bgp 62000
neighbor 192.168.1.2 remote-as 22003
address-family ipv4 multicast
address-family ipv6 multicast

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

MP-BGP template example

A
router bgp 61000
  template peer-policy BasePolicy
    maximum-prefix 20
!
neighbor 192.168.1.1 remote-as 61001
  address-family ipv4 unicast
    inherit peer-policy BasePolicy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

OSPF hello_interval

A

How often hello packets are sent, default 10 seconds

44
Q

OSPF dead-interval

A

If a hello packet from a neighbor is not recieved in this interval, it is removed from the local neighbor table. Default is 40 seconds.

45
Q

What does a router do when an LSA is recieved?

A

Floods it out of all OSPF enabled interfaces, ensuring all routers in the network have identical information.

46
Q

OSPF Convergence

A

When all routers in the network have identical link-state databases.

47
Q

LSA MaxAge

A

Interval after which an LSA is removed from the link-state database if no update is recieved.

48
Q

What does the OSPFv2 Type 1 LSA include?

A

The state and cost of all links and a list of all OSPFv2 neighbours on the link.

49
Q

Does the OSPFv2 Type 1 LSA trigger an SPF recalculation?

A

Yes

50
Q

What is the flooding behaviour for OSPFv2 Type 1 LSAs?

A

Flooded to the local local OSPFv2 Area

51
Q

Which routers send OSPFv2 Type 2 LSAs?

A

Sent by the designated router (DR)

52
Q

What does the OSPFv2 Type 2 LSA include?

A

It lists all routers in the multi-access network.

53
Q

Does the OSPFv2 Type 2 LSA trigger an SPF recalculation?

A

Yes

54
Q

Which routers send OSPFv2 Type 3 LSAs?

A

Sent by the area border router to an external area.

55
Q

What does the OSPFv2 Type 3 LSA include?

A

The link cost from the area border router to the local destination.

56
Q

Which routers send OSPFv2 Type 4 LSAs?

A

Sent by the area border router to an external area.

57
Q

What does the OSPFv2 Type 4 LSA include?

A

This LSA advertises the link cost to the ASBR only.

58
Q

Which routers send OSPFv2 Type 5 LSAs?

A

Autonomous System Boundry Routers (ASBR)

59
Q

What does the OPSFv2 Type 5 LSA include?

A

The link cost to an external autonomous system destination.

60
Q

What is the flooding behaviour for OSPFv2 Type 5 LSAs?

A

Flooded throughout the autonomous system.

61
Q

Which routers send OSPFv2 Type 7 LSAs?

A

The Autonomous System Boundry Router (ASBR) in a Not-so-stubby Area (NSSA).

62
Q

What does the OSPFv2 Type 7 LSA include?

A

The link cost to an external autonomous system destination.

63
Q

What is the flooding behaviour for OSPFv2 Type 7 LSAs?

A

Flooded only within the local Not-so-stubby Area (NSSA).

64
Q

What is the flooding behaviour for OSPFv2 Type 9 LSAs?

A

Flooded to local network.

65
Q

What is the flooding behaviour for OSPFv2 Type 10 LSAs?

A

Flooded to local area.

66
Q

What is the flooding behaviour for OSPFv2 Type 11 LSAs?

A

Type 11 is flooded to local autonomous system

67
Q

What are the Opaque LSAs used for?

A

Advertising application-specific information that may be used by OSPF or other applications.

68
Q

What does an Opaque LSA consist of?

A

Standard LSA header followed by application specific information.

69
Q

What does OSPFv2 use Opaque LSAs for?

A

Supporting the OSPFv2 graceful restart capability.

70
Q

How often are LSAs flooded to the network?

A

Every 30 minutes

71
Q

What is the benefit of LSA group pacing?

A

Controls the flooding of LSAs to reduce high CPU or buffer usage.

72
Q

How do OSPF areas affect LSA flooding?

A

LSA flooding is contained within an area.

73
Q

What is the format for an OSPF area ID?

A

32 bit value in numerical or dotted-decimal notation.

74
Q

What areas does an ABR connect to?

A

Connects to both the backbone area and at least one other area.

75
Q

What link-state databases does an ABR keep?

A

Maintains a separate link-state database for each area it connects to.

76
Q

What LSAs does an ABR send?

A

Sends Network Summary (type 3) LSAs from one area to the backbone area.

77
Q

What is an Autonomous System?

A

A network or collection of networks controlled by a single technical administration entity or organisation.

78
Q

What does an OSPF ASBR connect to?

A

Connects an OSPF area to another autonomous system.

79
Q

How does a stub area route to external autonomous systems?

A

Using a default route via the backbone area.

80
Q

What is the requirement for all routers in a stub area?

A

All routers in the area are stub routers

81
Q

Can an ASBR exist in a stub area?

A

No

82
Q

Can virtual links be configured in a stub area?

A

No

83
Q

How do ASBRs advertise AS external routes in a NSSA?

A

By generating Type 7 LSAs and flooding into the NSSA.

84
Q

Does OSPF flood external routes from other areas into an NSSA?

A

No

85
Q

How would OSPF flood external routes from an NSSA into other areas?

A

By configuring the NSSA ABR to convert type 7 LSAs into type 5 LSAs.

86
Q

What is an alternative use for OSPF Virtual Links?

A

Recovery of a partitioned network, where part of the area cannot reach the designated ABR to backbone area.

87
Q

What is an OSPF BDR?

A

Backup designated router, takes over if the designated router fails.

88
Q

How does a receiving router validate an OSPF message with MD5 message digest?

A

By locally calculating the digest of the message and configured password against the digest recieved with the message.

89
Q

What is the purpose of the sequence number included in MD5 authenticated OSPFv2 messages?

A

To ensure no message is replayed in the network.

90
Q

Does NXOS support IPSec options for OSPFv3 authentication?

A

No

91
Q

What is included in the routing information exchanged by BGP?

A

The route prefix for a destination, path of autonomous systems, and additional path attributes.

92
Q

How can BGP path selection be influenced?

A

Path selection can be influenced by configuring policies to alter the well-known mandatory, well-known discretionary, and optional transitive attributes.

93
Q

What is ECMP?

A

Equal-cost multipath, multiple ‘best paths’ that tie for top place in routing metric calculations can be used to load balance traffic.

94
Q

What port does BGP use to create sessions with neighbours?

A

TCP 179

95
Q

What happens once a TCP connection is established between BGP peers?

A

They exchange complete BGP routing tables with each other.

96
Q

What would cause an incremental BGP update between peers?

A

A topology change in the network or a routing policy change.

97
Q

BGP keepalives

A

Messages exchanged between BGP peers during periods of inactivity between routing updates.

98
Q

BGP Hold time

A

The maximum time limit betwen receiving consecutive BGP update or keepalive messages from a peer.

99
Q

What is the default BGP Router ID?

A

The IPv4 address of a loopback interface on the router, or if none are configured the highest IPv4 address assigned to a physical interface.

100
Q

When OSPF starts neighbor negotiations, which 5 settings must match between OSPF neighbours for them to be able to establish adjacencies?

A
Area ID
Authentication
Hello/Dead intervals
Stub flag
MTU
101
Q

How is the OSPF DR selected?

A

The router with the highest priority will be selected as DR. If multiple routers exist with the same priority, the one with the highest router ID will be selected

102
Q

How does OSPFv3 expand on OSPFv2?

A

Provides support for IPv6 routing prefixes and the large size IPv6 addresses.

103
Q

How are OSPFv3 LSAs expressed compared to OSPFv2 LSAs?

A

Prefix and prefix length instead of address and mask.

104
Q

What does OSPFv3 use link-local addresses for?

A

Neighbor discovery and other features.

105
Q

Is BFD supported in both OSPFv2 and OSPFv3?

A

No, only OSPFv2.