mask
Mask to filter or match hosts that are part of the specified network.
longer-prefixes
If a prefix is specified, optionally specify to show routes matching the specified Network/Mask pair only.
switch(bgp)# show ip bgp
Local AS : 100 Local Router-id : 10.0.102.138
Status codes: * - valid, > - best, i - internal, e - external, s - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Nexthop Metric LocalPref Weight AsPath
--------------------------------------------------------------
* e 11.0.0.0/8 10.0.102.40 0 0 200 ?
*>e 11.0.0.0/8 10.0.102.153 0 0 200 i
*>e 22.0.0.0/8 10.0.102.40 0 0 200 ?
* e 22.0.0.0/8 10.0.102.198 0 0 300 500 ?
*>e 33.0.0.0/8 10.0.102.40 0 0 200 ?
* e 33.0.0.0/8 10.0.102.198 0 0 300 400 ?
Synopsis:
show ip bgp
ipv4-addr/masklen
Displays specific information on the route and the BGP path attributes of the route.
switch(bgp)# show ip bgp 11.0.0.0/8
Local AS : 100 Local Router-id :
Network : 11.0.0.0/8 Nexthop : 10.0.102.40
Peer : 10.0.102.40 Origin : incomplete
Metric : 0 Local Pref :
Weight : 0 Calc. Local Pref: 100
Best : No Valid : Yes
Type : external Stale : No
AS-Path : 200
Communities : 200:20 100:50
Network : 11.0.0.0/8 Nexthop : 10.0.102.153
Peer : 10.0.102.153 Origin : igp
Metric : 0 Local Pref :
Weight : 0 Calc. Local Pref : 100
Best : Yes Valid : Yes
Type : external Stale : No
AS-Path : 200
Communities :
Synopsis:
show ip bgp
ipv4-addr/masklen regexp aspath-reg-ex
Displays detailed information on the route if the route’s
aspath
information matches the supplied regular
expression. This will filter both on the prefix/len and the regular expression.
402
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08