display bgp routing-table ipv4 unicast as-path-acl
Use display bgp routing-table ipv4 unicast as-path-acl to display BGP IPv4 unicast routes permitted by
an AS path list.
Syntax
display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] as-path-acl
as-path-acl-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 routes permitted by an AS
path list for the public network.
as-path-acl-number: Specifies an AS path list by its number in the range of 1 to 256.
Usage guidelines
The command with the unicast keyword has the same effect as that without the unicast keyword.
Examples
# Display BGP routes permitted by AS path list 1.
<Sysname> display bgp routing-table ipv4 as-path-acl 1
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 as-path