BGP Flashcards

1
Q

Neighbor establishment port

A

TCP port 179

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

BGP message types

A

Open: Initiates connection and sends AS number, router ID, capabilities

Keepalive: Default interval is 60 seconds

Update: New or withdrawn routing info

Notification: Sent if error occurs

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

BGP session states

A

Idle
Connect
Active
OpenSent
OpenConfirm
Established

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

Idle state

A

Initial state, no connection made

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

Connect state

A

Attempts to establish TCP connection

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

Active state

A

Retries connection if unsuccessful

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

Opensent state

A

Open message sent, waiting for response

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

Openconfirm state

A

Open response received, keepalives exchanged

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

Established

A

Peers are fully connected and routes are exchanged

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

Stuck in idle

A

misconfigured peer IP or AS
TCP 179 blocked
No connectivity
CPU limitations

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

Stuck in connect

A

Peer not responding to TCP connection request
Peer IP address or port not reachable
Passive mode enabled on both peer where neither peer initiates the connection

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

Stuck in active

A

Connectivity issues
No matching BGP config
TCP session timing out due to firewall or slow network

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

Stuck in opensent

A

Mismatched AS number, BGP version, authentication
Peer not responding
Router drops open message due to corruption or incorrect settings

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

Stuck in openconfirm

A

Peer not sending keepalive, maybe misconfigured timers
Network instability
Router software or hardware issues

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

Attributes in order

A

Weight
Local Preference
Locally Originated
AS Path Length
Origin Type
Multi-Exit Discriminator (MED)
eBGP over iBGP
IGP Metric
Router ID
Neighbor Address

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

Communities

A

No-export - Don’t advertise outside local AS
No-advertise - Don’t advertise to peers
Local-as - Don’t advertise to eBGP peers, only iBGP

Set communities on routes using route maps or policies

17
Q

Route-reflector

A

Solves full-mesh iBGP problem by creating a central route-sharing point

18
Q

Confederations

A

Solves full-mesh iBGP problem by splitting the AS into sub-ASes, where the members in the confederation use iBGP within their sub-AS and eBGP outside their sub-AS. The outside views the confederation as one AS