When configuring BGP, several common mistakes can cause session failures, missing routes, or improper route propagation. These mistakes can cause sessions to remain in Idle/Active states or prevent advertised routes from being installed in the routing table.
Below are the most frequent errors, their causes, and how to troubleshoot them effectively. To view a detailed explanation for each issue, simply click the provided links.
In the previous lesson, we established iBGP peering between two routers in the same Autonomous System (AS 2350) and configured network advertisements.
We ended the lesson with a challenge to verify iBGP was properly advertising routes and to advertise Loopback1 on both devices.
BGP (Border Gateway Protocol) is the backbone of the internet, enabling networks to communicate and exchange routing information. It allows routers to determine the best path for forwarding data between different networks, known as Autonomous Systems (ASes).
There are two types of BGP:
In this lesson, we'll configure iBGP between two routers within the same Autonomous System (AS) using a simple two-router setup.
added privileged command:
show processes cpu
show processes memory
added switch privileged command:
show spanning-tree interface fastethernet PORT/PORT portfast
show spanning-tree interface gigabitethernet PORT/PORT portfast
added switch global config commands:
spanning-tree portfast default
no spanning-tree portfast default
added switch interface config command:
spanning-tree portfast disable
no spanning-tree portfast disable
spanning-tree portfast trunk
no spanning-tree portfast trunk
improved command context help
fixed submitted crash issue when pinging public IP addresses
other misc. fixes and improvements
What's New:
updated spanning-tree calculations and logic
added switch global command:
spanning-tree mode pvst
spanning-tree mode rapid-pvst
spanning-tree vlan [1-1005] forward-time [4-30]
spanning-tree vlan [1-1005] hello-time [1-10]
spanning-tree vlan [1-1005] max-age [6-40]
no spanning-tree vlan [1-1005] forward-time
no spanning-tree vlan [1-1005] hello-time
no spanning-tree vlan [1-1005] max-age
added privileged commands:
show spanning-tree summary
show spanning-tree root
show spanning-tree interface fastethernet PORT/PORT
show spanning-tree interface gigabitethernet PORT/PORT
show spanning-tree interface fastethernet PORT/PORT detail
show spanning-tree interface gigabitethernet PORT/PORT detail
added switch interface configuration command:
spanning-tree cost [1-200000000]
no spanning-tree cost
spanning-tree port-priority [0-240]
no spanning-tree port-priority
spanning-tree vlan [1-1005] cost [1-200000000]
no spanning-tree vlan [1-1005] cost
spanning-tree vlan [1-1005] port-priority [0-240]
no spanning-tree vlan [1-1005] port-priority
other misc. fixes and improvements
Added privilege command:
show interfaces description
Added router privileged commands:
show ip bgp
show ip route bgp
clear ip bgp *
clear ip bgp * soft in
clear ip bgp * soft out
show ip ospf interface brief
debug ip bgp
no debug ip bgp
Added router BGP commands:
neighbor A.B.C.D ebgp-multihop [1-255]
no neighbor A.B.C.D ebgp-multihop [1-255]
default-metric [0-4294967295]
neighbor A.B.C.D weight [0-65535]
neighbor A.B.C.D shutdown
bgp default local-preference [0-4294967295]
neighbor A.B.C.D route-map WORD in
neighbor A.B.C.D route-map WORD out
no neighbor A.B.C.D route-map WORD in
no neighbor A.B.C.D route-map WORD out
no neighbor A.B.C.D weight [0-65535]
no default-metric [0-4294967295]
no neighbor A.B.C.D shutdown
no bgp default local-preference [0-4294967295]
neighbor A.B.C.D next-hop-self
no neighbor A.B.C.D next-hop-self
neighbor A.B.C.D update source loopback <0-2147483647>
no neighbor A.B.C.D update source loopback <0-2147483647>
network a.b.c.d
network a.b.c.d mask a.b.c.d
no network a.b.c.d mask a.b.c.d
no network a.b.c.d
redistribute connected
no redistribute connected
redistribute connected route-map WORD
no redistribute connected route-map WORD
neighbor A.B.C.D password WORD
no neighbor A.B.C.D password WORD
auto-summary
no auto-summary
synchronization
no synchronization
Added route-map command:
set weight [0-65535]
set local-preference [0-4294967295]
set metric [0-4294967295]
Other optimization and improvements