BGP

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

48 Terms

1
New cards

BGP (Border Gateway Protocol) -

BGP is considered a "Path Vector" Routing protocol.

BGP was not built to route 'within' an Autonomous System (AS), but rather to route between AS's.

2
New cards

BGP ASN Numbers -

1 - 65535

Private range: 64512 - 65535

3
New cards

BGP (Border Gateway Protocol) TCP port -

TCP 179

4
New cards

BGP Router, Neighbor relationship -

BGP router = speaker

Neighbor relationship = peer

5
New cards

iBGP Peers -

BGP neighbors within the same AS

6
New cards

eBGP Peers -

BGP neighbors connecting separate AS

7
New cards

BGP True Benefit -

Controlling how traffic 'enters' the local AS, rather than how traffic 'exits' it.

8
New cards

Default BGP max-hop -

Max of 1 hop away. Can be overwritten by using 'eBGP-multihop' option with the 'neighbor' command.

9
New cards

AD for eBGP route -

20

10
New cards

AD for iBGP and locally originated routes -

200

11
New cards

BGP peer message: OPEN -

Sent to initiate connection. Contains several parameters:

  • BGP Version - must match between BGP peers

  • Local AS Number

  • BGP Router ID

12
New cards

BGP peer message: KEEPALIVE -

Sent every 60 sec to ensure that the remote peer is still available.

If a router does not receive a KEEPALIVE from a peer for a Hold-time period (default 180 sec) router declares that peer dead.

13
New cards

BGP peer message: UPDATE -

Used to exchange routers between peers.

14
New cards

BGP peer message: NOTIFICATION -

Sent when there is a fatal error condition.

If NOTIFICATION is received, BGP peer session is torn down and reset

15
New cards

BGP Finite-State Machine (FSM) process to establish peer session. -

IDLE

CONNECT

ACTIVE

OpenSent

OpenConfirm

ESTABLISHED

16
New cards

BGP FSM state: Idle -

Initial BGP state

17
New cards

BGP FSM state: Connect -

BGP waits for a TCP connection with the remote peer.

If successful, an OPEN message is sent.

If unsuccessful, session is placed in Active state.

18
New cards

BGP FSM state: Active -

BGP attempts to initiate a TCP connection with remote peer.

If successful, an OPEN message is sent.

If unsuccessful, BGP will wait for a ConnectRetry timer to expire, and place session back in Connect.

19
New cards

BGP FSM state: OpenSent -

BGP Both established the TCP connection AND send an OPEN message, and is waiting for a reply OPEN message. Once it receives a reply OPEN message, the BGP peer will send a KEEPALIVE message.

20
New cards

BGP FSM state: OpenConfirm -

BGP listens for a reply KEEPALIVE message

21
New cards

BGP FSM state: Established -

BGP session is fully established.

UPDATE messages containing routing information will now be sent.

22
New cards

BGP Peer is stuck in ACTIVE state: potential problems. -

  • No IP connectivity (no route to host)

  • Incorrect 'neighbor' statement

  • Access-list filtering TCP port 179

23
New cards

Fundamental BGP rule before route is advertised to eBPG peer. -

Route must be in Routing Table before BGP will advertise the network to an eBGP peer.

24
New cards

BGP Confederation -

Sub-AS's or AS's within an AS

25
New cards

BGP Peer-group -

Simplify configuration of groups of neighbors, assuming those neighbors share identical settings.

Conserve processor/memory resources by sending updates to all peer-group members simultaneously, as opposed to sending individual updates to each neighbor.

26
New cards

BGP Attribute Types -

Well-known Mandatory

Well-known Discretionary

Optional Transitive

Optional Non-Transitive

27
New cards

BGP Attribute Type: Well-known Mandatory -

Standard attributes supported by all BGP implementations and always included in every BGP update

28
New cards

BGP Attribute Type: Well-known Discretionary -

Standard attributes supported by all BGP implementations and are optionally included BGP updates

29
New cards

BGP Attribute Type: Optional Transitive -

Optional attribute that may not be supported by all implementations of BGP.

Transitive indicates that a non-compliant BGP router will forward the unsupported attribute unchanged, when sending updates to peers.

30
New cards

BGP Attribute Type: Optional Non-Transitive -

Optional attribute that may not be supported by all implementations of BGP.

Non-Transitive indicates that a non-compliant BGP router will strip out the unsupported attribute, when sending updates to peers.

31
New cards

BGP Attribute: AS-Path -

Well-known Mandatory.

Identifies the list or path of traversed AS's to reach a particular destination

32
New cards

BGP Attribute: Next-Hop -

Well-known Mandatory.

Identifies the next hop IP address to reach a particular destination.

33
New cards

BGP Attribute: Origin -

Well-known Mandatory.

Identifies the originator of the route.

34
New cards

BGP Attribute: Local Preference -

Well-known Discretionary.

Provides a preference to determine the best path for outbound traffic.

35
New cards

BGP Attribute: Atomic Aggregate -

Well-known Discretionary.

Identifies routes that have been summarized, or aggregated.

36
New cards

BGP Attribute: Aggregator -

Optional Transitive.

Identifies the BGP router that performed an address aggregation.

37
New cards

BGP Attribute: Community -

Optional Transitive.

Tags routes that share common characteristics into communities.

38
New cards

BGP Attribute: Multi-Exit-Discriminator (MED) -

Optional Non-Transitive.

Provides a preference to eBGP peers to a specific inbound router

39
New cards

BGP Attribute: Weight (Cisco proprietary) -

Similar to Local Preference, provides a local weight to determine the best path for outbound traffic.

40
New cards

BGP Best Path Determination -

Weight - Which router has the highest weight?

Local Preference - Which route has the highest local preference?

Locally Originated - Did the local router originate this route? In other words, is the next hop to the destination 0.0.0.0?

AS-Path - Which router has the shortest AS-Path?

Origin Code - Where did the route originate? IGP, EGP, or unknown?

MED - Which path has the lowest MED?

BGP Route Type - Is this an eBGP or iBGP route? eBGP routes are preferred.

Age - Which route is the oldest? Oldest is preferred.

Router ID - Which route originated from the router with the lowest BGP router ID?

Peer IP Address - Which route originated from the router with the lowest IP?

41
New cards

When applying attributes: where are Weight and Local Preference applied? -

Applied to inbound routes, dictating the best outbound path.

42
New cards

When applying attributes: where are AS-Path and MED applied? -

Applied to outbound routes, dictating best inbound path.

43
New cards

Local Preference Attribute -

Applied to inbound external routes, dictating best outbound path.

Passed on to iBGP peers when sending updates. Informs iBGP routers how to exit the AS, if multiple paths exist.

44
New cards

Local Preference (32 bit) number range -

0 - 4294967295

Highest is preferred.

Default = 100

45
New cards

AS-Path Attribute -

Applied to outbound routes, indicating the best inbound path.

2 things can be accomplished with this attribute: pre-pend and filter.

46
New cards

AS-Path Prepend -

Add to existing AS-Path resulting in a longer AS-Path.

Makes route less desirable for inbound traffic.

47
New cards

MED (MultiExit Discriminator) attribute -

Applied to outbound routes, dictating the best inbound path into the AS.

Lower metric preferred.

Default = 0.

48
New cards

Redistributed Routes -

Automatically summarized when added to BGP