BGP Commands
show bgp routes
show bgp routes {address-family [ipv4-unicast | ipv4-multicast]} {detail}
[all
| as-path <path-expression>
| community [no-advertise | no-export | no-export-subconfed
| number <community_num> | <AS_Num>:<Num>
]
| network [any / <netMaskLen> | <networkPrefixFilter>] {exact}
]
Description
Displays the BGP route information base (RIB).
Syntax Description
address-family
all
no-advertise
no-export
no-export-subconfed
community_num
AS_Num
Num
any
netMaskLen
networkPrefixFilter
exact
Default
If no address family is specified, IPv4 unicast is the default.
Usage Guidelines
The option
network any / <netMaskLen>
or greater than
<maskLength>
The option
network any / <netMaskLen> exact
exactly equal to
<maskLength>
Example
The following command displays the BGP route information base (RIB):
show bgp routes all
872
The address family. BGP supports two address families: IPv4 Unicast and
IPv4 Multicast.
Specifies all routes.
Specifies the no-advertise community attribute.
Specifies the no-export community attribute.
Specifies the no-export-subconfed community attribute.
Specifies a community number.
Specifies an autonomous system ID (0-65535).
Specifies the BGP community number.
Specifies all routes with a given or larger mask length.
Specifies a subnet mask length (number of bits).
Specifies an IP address and netmask.
Specifies an exact match with the IP address and subnet mask.
will display all BGP routes whose mask length is equal to
, irrespective of their network address.
will display all BGP routes whose mask length is
, irrespective of their network address.
ExtremeWare XOS 11.0 Command Reference Guide