BGP Flashcards

1
Q

What is a BGP autonomous system

A

A series of routers under the same administrative domain

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

How does BGP fundamentally determine the shortest path to a prefix.

A

By using a route with the lowest amount of AS tags

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

How does BGP prevent routing loops?

A

If a route is learned containing the local AS number (aka looped), the route is discarded.

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

What is external BGP?

A

The peering of routers in different AS numbers

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

Which TCP ports does BGP use for session establishment?

A

TCP 179

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

What are the 6 states of BGP peering?

A
Idle
Connect
Active
Opensent
Openconfirm
Established
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What happens in the BGP ‘Idle’ state?

A

BGP listens and attempts to establish a connection over tcp 179

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

What happens in the BGP ‘Connect’ state?

A

BGP waits for the connection process to complete. Once finished the interface with the higher IP address will manage the connection state.

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

What happens in the BGP ‘Active’ state?

A

The higher ip router (active) Initiates a new tcp 179 connection. The passive router waits for this session to begin so routes can be shared.

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

What happens in the BGP ‘Opensent’ state?

A

BGP config is checked and verified between peers. Source IPs and AS numbers are checked and router ID is confirmed unique.

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

What happens in the BGP ‘Openconfirm’ state?

A

Both peers wait to receive their keep alive messages. The default keep alive time is 60 secs. Dead time is 180 secs.

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

What is the default keep alive and dead timer interval for BGP?

A

60 seconds keep alive

180 seconds dead timer

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

What happens in the BGP ‘Established’ state?

A

Peer keeps lives are flowing and routes are exchanged.

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

What weight does BGP assign a locally originated route?

A

32,768

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

What 8 variables determine BGP path selection?

A
Weight 
Local preference
Shortest AS path
Origin type
Multi-exit discriminator 
eBGP over iBGP
Lowest IGP cost to next BGP hop
Oldest route
Lowest RID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the 1st metric used by Cisco BGP routers for route selection?

A

Weight - learned routes have a weight of 0 and internally generated have a weight of 32,768

17
Q

What are the ADs of eBGP and iBGP routes

A

eBGP - 20

iBGP - 200

18
Q

What is a BGP route with origin type unknown?

A

It is a route learned via redistribution (either connected or IGP)

19
Q

What is a BGP route with origin type IGP?

A

A IGP route learned via the specified network command.