11. BGP Message and FSM Flashcards

1
Q

What are the BGP message types?

A
  • Open
  • Keepalive
  • Update
  • Route Refresh
  • Notification
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is special about the route refresh message?

A

The route refresh message is when a soft reset occurs

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

What does setting the KEEPALIVE interval to 0 represent?

A

Keepalives are never sent

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

What is the default keepalive interval for BGP?

A

60 seconds

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

In which BGP message type would you find the NLRI and path attributes?

A

UPDATE

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

What are the stages FSM of BGP?

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 Idle stage?

A

BGP detects a start event, tries to initiate a TCP connection, and listens for a new connection from another peer

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

What happens if an error causes BGP to go back to the Idle state for the second time?

A

The ConnectRetry timers is set to 60 seconds and must decrement to 0 before a new connection can be initiated. Further errors wil double the timer in legnth of the previous one

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

What happens in the Connect stage?

A

BGP initiates the connection. If the three-way handshake completes, the ConnectRetry timer resets, an OPEN message will be send to the neighbor. The status will be changed to OpenSent

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

What happens if the ConnectRetry timer depletes before the Connect stage has completed?

A

A new TCP connection is attempted, the ConnectRetry timer is reset and the state is set to Active. The neighbor with the higher IP manages the connection

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

What happens in the Active stage?

A

BGP start a new three-way handshake,. If succesful an OPEN message is send, the hold timer placed 4 minutes and the status changed to OpenSent.

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

What happens if the connection attempt fails in the Active state?

A

The state moves back to Connect and the ConnectRetry timer is reset

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

What happens in the OpenSent stage?

A

The router will wait for an open message and will compare:

  • BGP version
  • Source IP
  • AS
  • RID
  • Security parameters

The hold timer is negotiated (lower wins) and a KEEPALIVE is send (if not set to 0). The state if moved to OpenConfirm

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

What happens when an error is found in the OPEN message during the OpenSent stage?

A

A notification message is sent, and the state is moved back to Idle

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

What happens when TCP receives a disconnect message in the OpenSent state?

A

BGP closes the connection and goes back to Active

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

What happens in the OpenConfirm stage?

A

BGP waits for a KEEPALIVE of NOTIFICATION. If a KEEPALIVE is received the state will move to established. With NOTIFICATION back to idle

17
Q

What happens in the Established stage?

A

Routes will be exchanged with UPDATE messages.