238
display bgp routing-table ipv4 unicast community-list
Use
display bgp routing-table ipv4 unicast community-list
to display BGP IPv4 unicast routing
information matching the specified BGP community list.
Syntax
display bgp routing-table ipv4
[
unicast
] [
vpn-instance
vpn-instance-name
]
community-list
{
{
basic-community-list-number
|
comm-list-name
} [
whole-match
] |
adv-community-list-number
}
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31
characters. If no VPN is specified, the command displays BGP IPv4 unicast routing information matching
the specified BGP community list for the public network.
basic-community-list-number
: Specifies a basic community list by its number in the range of 1 to 99.
comm-list-name
: Specifies a community list by its name, a string of 1 to 63 characters.
whole-match
: Displays routes exactly matching the specified community list. Without this keyword, the
command displays routes whose COMMUNITY attributes comprise the specified community list.
adv-community-list-number
: Specifies an advanced community list by its number in the range of 100 to
199.
Usage guidelines
The command with the
unicast
keyword has the same effect as that without the
unicast
keyword.
Examples
# Display BGP routing information matching BGP community list 100.
<Sysname> display bgp routing-table ipv4 community-list 100
Total number of routes: 1
BGP local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
>e 30.1.1.0/24 20.1.1.1 0 200i
For command output, see
Table 61
.
Related commands
ip community-list