BGP Routing Protocol Slide Presentation
BGP Routing Protocol Slide Presentation
3
BGP Tables
• Neighbor table
• List of BGP neighbors
• IP routing table
• List of best paths to destination networks
BGP Neighbor Relationship
External bgp NEIGHBORs
R1(config)#router bgp 1
R1(config-router)#neighbor 192.168.12.2 remote-as 2
R2(config)#router bgp 2
R2(config-router)#neighbor 192.168.12.1 remote-as 1
R1(config)#router bgp 1
R1(config-router)#neighbor 192.168.12.2 remote-as 12
R2(config)#router bgp 2
R2(config-router)#neighbor 192.168.12.1 remote-as 12
Internal BGP Neighbors
Command Description
show ip bgp neighbors Displays all received routes (both accepted
{address} received-routes and rejected) from the specified neighbor.
Displays all routes that are received and
accepted from the specified neighbor.
show ip bgp neighbors
{address} routes This output is a subset of the output
displayed by the received-routes
keyword.
show ip bgp neighbors Displays all BGP routes that have been
{address} advertised-routes advertised to neighbors.
BGP verification
Command Description
Displays entries in the BGP table.
show ip bgp Specify a network number to get more specific
information about a particular network.
Displays detailed information about the TCP and BGP
show ip bgp neighbors
connections to neighbors.
• Prefer the route with highest • Prefer the route with the lowest
weight. MED.
Weight 0
• Cisco proprietary
• Local to the router, not sent to
any BGP neighbor
• Paths with the highest weight
• Range from 0 to 65535, default 0
Weight 50
Weigh attribute
LP 100
LP 200
MED 500