2-4 - Troubleshoot BGP Flashcards

1
Q

Describe the characteristics of BGP (Border Gateway Protocol).

A
  • path-vector routing protocol
  • sends updates to its neighbors using reliable transport (TCP)
  • highly scalable protocol for the “Internet”
  • establishes neighborships
  • each administrative domain has a unique AS number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is iBGP (internal BGP)?

A

when both neighbors are in the same AS

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

What is eBGP (external BGP)?

A

when both neighbors are in different AS

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

What are the 3 basic parts of BGP configuration?

A
  1. Define the BGP process
  2. Establish the neighbor relationship
  3. Advertise the networks into BGP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

IOS-XR command:
show bgp summary

A

shows the list of BGP neighborships, their current states, amount of received prefixes, and other info

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

IOS-XE command:
show ip bgp summary

A

shows the list of BGP neighborships, their current states, amount of received prefixes, and other info

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

Describe these fields of the BGP summary table:

BGP route identifier
Neighbor
AS
MsgRcvd
MsgSent
TblVer
InQ
OutQ
Up/Down
State
PfxRcd

A

BGP route identifier: IP address that all other BGP speakers recognize as the address of this router
Neighbor: IP address of the remote neighbor
AS: AS number of the listed neighbor
MsgRcvd: Number of BGP messages received from neighbor
MsgSent: Number of BGP messages sent to neighbor
TblVer: BGP table version
InQ: number of messages waiting to process from this neighbor
OutQ: number of messages that are queued and waiting to transmit to this neighbor; TCP flow control prevents this router from overwhelming a neighbor with a large update
Up/Down: length of time this neighbor has been in its current state
State: the BGP state; could be established, active, idle, open sent, open confirm, or idle (admin)
PfxRcd: amount of prefixes being received from that neighbor (when session is established)

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

IOS-XR command:
network

A

in BGP subconfig mode, advertise a network into BGP

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

IOS/IOS-XE command:
network

A

in BGP subconfig mode, advertise a network into BGP

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

IOS-XR command:
route-policy [route-policy name] [in|out]

A

in neighbor subconfig mode, applies a route policy to a neighbor in a particular direction

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

IOS-XR command:
show bgp

A

shows the BGP table and all known prefixes, along with other details

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

IOS/IOS-XE command:
show ip bgp

A

shows the BGP table and all known prefixes, along with other details

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

Explain the following BGP prefix status codes:

s
d
h
r
S

A

s: suppressed (e.g. summarization)
d: dampening (route is penalized for going up and down too often, so its not advertised until the penalty expires)
h: history (route is unavailable and probably down, but historic info of the route exists)
r: rib failure (route did not install in the RIB)
S: stale (appears in the NSF-aware router if a route is stale)

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

IOS-XR command:
update-source [interface]

A

in the neighbor subconfig mode, set the local update-source address to be used for the neighborships

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

IOS/IOS-XE command:
neighbor [x.x.x.x] update-source [interface]

A

in the BGP subconfig mode, set the local update-source address to be used for the neighborships

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

Full-mesh iBGP is needed because of the BGP split-horizon rule. What two alternatives can be used instead of a full mesh of iBGP neighborships that overcomes BGP split-horizon rule while being more scalable?

A
  • BGP route reflector
  • BGP confederations
17
Q

Describe the BGP neighbor states

Idle
Open Sent
Open Confirm
Active
Established

A

Idle: BGP session is down
Connect: when SYN-ACK packet is received (TCP 3 way handshake)
Open Sent: when the initial BGP Open message is sent
Open Confirm: when the initial BGP Open message is received
Active: router has sent an Open packet and is waiting for a response.
Established: BGP session is up

18
Q

IOS-XR command:
bgp consistency-checker [error-message | auto-repair] [interval (minutes)]

A

in BGP subconfig mode, configures the consistency checker, which will identify route inconsistencies and take an action to correct it

19
Q

IOS-XR command:
show bgp neighbor

A

show BGP neighbor details

20
Q

IOS/iOS-XE command:
show ip bgp neighbor

A

show BGP neighbor details

21
Q

debug ip tcp transactions

A

find valuable information about failed connection attempts

22
Q

debug ip bgp events

A

all BGP events will display on the console as they happen

23
Q

debug ip bgp keepalives

A

get a printout on the console for every keepalive packet that is sent or received

24
Q

debug ip bgp updates

A

get a printout on the console for every update message that is sent or received

25
Q

debug ip tcp transactions

A

displays the connect attempts

26
Q

Which of the following statements best describes BGP?

A. A link state protocol where each router advertises its connected interfaces
B. A distance vector protocol that uses the best path based on a metric
C. A path-vector protocl that contains the destination network of the next router
D. An interior gateway protocol that operates within the service provider network

A

C

27
Q

Which of the following statements is true about BGP?

A. BGP sends routing updates to its neighbors by using an unreliable transport
B. The unreliable transport mechanism that BGP uses is standard UDP
C. BGP computes shortest paths with attributes that attach to reachable IP subnets
D. The sender of the information does not always know if the receiver has the information

A

C