OmniSwitch OS6860/OS6900/OS10K Troubleshooting Guide Part No.032996-00 Rev.A
AOS Release 7.X and 8.X January 2015
Alcatel-Lucent Page 93 of 148
13. Troubleshooting BGP
Summary of the commands in this chapter is listed here:
__________________________________________________________________
show ip routes
show ip router database
show ip bgp routes <ip-addr> <mask>
show ip bgp path
show ip bgp path <ip-addr> <mask>
show ip bgp path neighbor-adv
show ip bpg path neighbor-rcv
show ip redist
show ip bgp network
show ip bgp neighbors
___________________________________________________________________
13.1. BGP process
Summary and comparing with CISCO
Step Cisco key commands AOS key command
1. Load BGP & Build the neighbors
neighbor (with-in router bgp) ip bgp neighbor & status enable
2. Build the BGP table
Show network (with-in router bgp) ip bgp network & status enable
redistribute (with-in router bgp) ip redist & status enable
3. Exchange BGP routes with neighbors
aspathlist, prefix-list, selectively permit
route-map set policy – metrics, local-pref…
show ip bgp neighbor <ip-addr> advertised routes show ip bgp path neighbor-[rcv |adv] <ip-addr>
4. Build the ip routing table
with-in bgp: 9 step include local-pref between routing protocols: distance / route-pref
Load BGP & Build the Neighbors
ip load bgp
ip bgp autonomous-system <as> !64512–64534 private
ip bgp status enable !default is disable
ip bgp neighbor <ip addr> !create peer
ip bgp neighbor <ip addr> remote-as <as> !assign remote as
ip bgp neighbor <ip addr> next-hop-self !standard practice
add: update-source LoopBack0 !if multiple paths
add: ebgp-multihop !not directly attached
ip bgp neighbor <id addr> md5 <key> !check logic for key
ip bgp neighbor <ip addr> status enable !default is disable
Build the Neighbor - Troubleshooting Commands
show ip bgp !global settings
show ip bgp statistics !global statistics
show ip bgp neighbors !address, AS, state, …
CHECKS: ip addresses, ASN, Router-ID, MD5
show ip bgp neighbor <ip-addr> !per neighbor details