BGP Flashcards

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

1/49

flashcard set

Earn XP

Description and Tags

Flashcards generated from lecture notes on Border Gateway Protocol (BGP)

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

Border Gateway Protocol (BGP)

A standardized exterior gateway protocol designed to exchange routing and reachability information among autonomous systems (AS) on the Internet.

2
New cards

Path-vector routing protocol

BGP is classified as a path-vector routing protocol, and it makes routing decisions based on paths, network policies, or rule-sets configured by a network administrator.

3
New cards

Interior Border Gateway Protocol (IBGP)

BGP used for routing within an autonomous system.

4
New cards

Exterior Border Gateway Protocol (EBGP)

The Internet application of the BGP protocol.

5
New cards

BGP Peers

BGP neighbors, called peers, are established by manual configuration among routers to create a TCP session on port 179.

6
New cards

Internal BGP (iBGP)

BGP runs between two peers in the same autonomous system (AS).

7
New cards

External BGP (eBGP)

BGP runs between different autonomous systems.

8
New cards

Route-maps

Mechanism consisting of a set of rules to control how routes are propagated, allowing actions such as dropping or modifying route attributes based on given criteria.

9
New cards

Autonomous System Number (ASN)

A special number assigned by IANA used primarily with Border Gateway Protocol which uniquely identifies a network under a single technical administration that has a unique routing policy, or is multi-homed to the public internet.

10
New cards

Public ASN

An ASN in the public range is globally unique and may be announced on the global Internet to your ISP or at an internet exchange point (peering point) via BGP.

11
New cards

Private ASN

The private ASN should not be seen on the global Internet (they shouldn't be announced via your exterior gateway routing protocol); they are used by ISPs using BGP confederations or in private networks.

12
New cards

Multi-homed

Having a connection to more than one ISP.

13
New cards

iBGP

A routing protocol used for exchanging routing information between two or more routers within an autonomous system (AS).

14
New cards

eBGP

A routing protocol used to exchange information between two autonomous systems (AS), connecting distinct networks such as those of different internet service providers.

15
New cards

Loopback Interface

A virtual interface that will never go down unless the router crashes or is manually shut down, making it best practice to use for configuring IBGP.

16
New cards

EBGP Multihop

A configuration used when eBGP neighbors are not directly connected, requiring the TTL value of BGP packets to be increased.

17
New cards

BGP Idle State

The first BGP state that listens for an incoming connection request from its peer router. BGP may also get stuck in this state for many reasons, such as TCP port 179 or ports over 1023 being closed.

18
New cards

BGP Connect State

A state where BGP tries to complete the three-way TCP handshake. If successful, it resets the ConnectRetry timer and shifts to the OpenSent state.

19
New cards

BGP Active State

A state where BGP kicks off and attempts a new TCP connection. If it is established successfully, it will send an Open message to its peer and move to the OpenSent state.

20
New cards

BGP OpenSent State

A state where BGP is listening for an Open message from its neighbor. Once received, it checks for matching parameters and potential errors.

21
New cards

BGP OpenConfirm State

A state where BGP listens for Keepalive messages from its peer. If they are sent and received successfully, BGP shifts to the final Established state.

22
New cards

BGP Established State

A state where the BGP neighbor adjacency has been created, and update and Keepalive messages are exchanged.

23
New cards

BGP update-source

A command that tells BGP which interface to source the BGP packets out of.

24
New cards

Split horizon

A method used by distance vector protocols to prevent network routing loops by never sending routing information back in the direction from which it was received.

25
New cards

iBGP split horizon

A BGP router will not advertise prefixes from one iBGP neighbor to another iBGP neighbor.

26
New cards

Route Reflector

A BGP mechanism that overrides the general behavior of not sharing routes by BGP routers and shares routes to its neighbors based on certain rules, in order to avoid loops and stale routes.

27
New cards

Route Reflector Cluster

A route reflector and its clients, or possibly multiple route reflectors sharing the same clients.

28
New cards

Confederation

An AS that has been subdivided into a group of sub-autonomous systems, known as member autonomous systems.

29
New cards

Route Recursion

The process that all routers complete to find out what interface to use when routing to a particular prefix.

30
New cards

Next-hop-self

A command that forces BGP to use a specific next hop instead of protocol’s choice, commonly used to ensure IBGP peers learn how to reach advertised routes.

31
New cards

BGP Weight

A Cisco-specific parameter used in BGP to influence outbound routing, where a higher weight is preferred; it is only locally significant and not passed between neighbors.

32
New cards

BGP Local Preference

A BGP attribute used to influence the outbound routing decision of a router, where a higher local preference is preferred; it is passed between iBGP neighbors but not eBGP neighbors.

33
New cards

AS Path Prepend

A technique to influence BGP best path selection by artificially increasing the AS path length, making a path less desirable for routing.

34
New cards

BGP Origin Codes

BGP Path attribute that defines the origin of routing information, with 'i' (IGP) having the highest priority, followed by 'e' (EGP), and '?' (incomplete).

35
New cards

Deterministic-med

Command that ensures the comparison of the MED variable when choosing routes advertised by different peers in the same autonomous system.

36
New cards

Always-compare-med

Command that ensures the comparison of the MED for paths from neighbors in different autonomous systems.

37
New cards

EIGRP Leak Map

A method to advertise a specific prefix within the range of a summary advertisement in EIGRP.

38
New cards

Prefix list

Mechanism containing one or more ordered entries, processed sequentially, to permit or deny routes based on prefix and length.

39
New cards

Atomic Aggregate

Used in BGP to alert speakers that information has been lost due to route aggregation, and the aggregate path might not be the best.

40
New cards

BGP Communities

A group of destinations that share a common property, used to trigger routing decisions, such as acceptance, rejection, preference, or redistribution.

41
New cards

BGP Conditional Route Injection

This feature allows more specific routes to be generated based on administrative policy or traffic engineering information in order to provide more specific control over the forwarding of packets to these more specific routes, which are injected into the BGP routing table only if the configured conditions are met.

42
New cards

BGP Conditional Advertisement

Feature triggered if a route prefix is not present in output of the non-exist-map command, then the route specified by the advertise-map command is announced.

43
New cards

BGP Maximum-Prefix

Feature that controls how many prefixes can be received from a neighbor, useful for protecting against route overloads.

44
New cards

Regular Expressions

A way to define patterns to match specific AS paths.

45
New cards

Regular Expression: .*

Match anything .

46
New cards

Regular Expression: ^$

Match locally originated routes.

47
New cards

Regular Expression: ^100_

Match learned from AS 100.

48
New cards

Regular Expression: _100$

Match originated in AS 100.

49
New cards

Regular Expression: 100

Match any instance of AS 100.

50
New cards

Regular Expression: ^[0-9]+$

Match directly connected ASes.