OmniSwitch OS6860/OS6900/OS10K Troubleshooting Guide Part No.032996-00 Rev.A
AOS Release 7.X and 8.X January 2015
Alcatel-Lucent Page 94 of 148
show ip bgp neighbors statistics !bgp message stats
show ip bgp routes <ip-addr><mask>
show ip bgp path neighbor{-rcv | -adv} <ip-addr>
show ip bgp path ip-addr <ip-addr> <mask> !detail – includes MED
show ip bgp dampening [stats}
ip bgp neighbor ip_address clear soft {in | out} !reset policies
Build the BGP Table – Configuration
[no] ip bgp network <ip addr> <mask>
ip bgp network <ip addr> <mask> metric <metric> //exact match
ip bgp network <ip addr> <mask> admin-state enable (a “triplet”, default: disable)
ip bgp aggregate-address <ip addr> <mask>
ip bgp aggregate-address <ip addr> <mask> summary-only !default
ip bgp aggregate-address <ip addr> <mask> metric <value> !optional
ip bgp aggregate-address <ip addr> <mask> admin-state enable
( a “quadlet”–define, summarize, enable, default: disable)
AND/OR see ip redist command set (redist & route map)
Note: default route via network, redist or default originate
Route Exchange Policy Configuration
ip bgp policy prefix-list <name> <net add> <mask>
ip bgp policy prefix-list <name> <net add> <mask> action permit
ip bgp policy prefix-list <name> <net add> <mask> admin-state enable
(“triplet – define, action, enable, default: admin state disable)
see also aspath-list & route-map
Use with: ip bgp neighbor <ip.addr> in-prefixlist <name>
& ip bgp neighbor <ip.addr> out-prefixlist <name>
Check with: show ip bgp path neighbor{-rcv | -adv} <ip-addr
MED policies : network, aggregate or policy route map
ip bgp network network_address ip_mask metric value
(CLI – 24-53, Network Configuration Guide 3-34)
ip bgp aggregate-address ip_address ip_mask [metric metric] [summary-only
ip bgp aggregate-address ip_address ip_mask [status {enable | disable}]
BGP Metric with a Route Map & Assign to Neighbor
ip bgp policy route-map <m1> 90 prefix-list med-filter !name & seq
ip bgp policy route-map <m1> 90 action permit !action
ADD EXAMPLES prefix-list | many others !conditions
ip bgp policy route-map <m1> 90 med 10 !attrib actions
ip bgp policy route-map <m1> 90 med-mode rep
!method --the default is none (not helpful)
ip bgp policy route-map <m1> 90 admin-state enable !enable
ip bgp neighbor <ip_addr> route-map <m1> filterout |in !check
or <ip_addr> route-map <m1> filter-in
ip bgp neighbor clear soft [in | out] !re-config
show ip route-map
Border Router Redistribution Policies