HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

307
Usage guidelines
If the mask and mask-length arguments are not specified, the system ANDs the specified network
address with the mask of a route. If the result matches the network address of the route, the
command displays advertisement information for the route.
If the mask or mask-length argument is specified, the command displays advertisement information
for the BGP IPv4 unicast route that matches both the specified destination network address and the
mask (or mask length).
The command with the unicast keyword has the same effect as that without the unicast keyword.
Examples
# Display advertisement information of BGP IPv4 unicast routes destined to network 10.2.1.0/24 for the
public network.
<Sysname> display bgp routing-table ipv4 10.2.1.0 24 advertise-info
BGP local router ID: 192.168.100.1
Local AS number: 100
Paths: 1 best
BGP routing table information of 10.2.1.0/24:
Advertised to peers (1 in total):
10.2.1.2
Table 88 Command output
Field Description
Paths Number of optimal routes destined to the specified network.
BGP routing table information of
10.2.1.0/24
Advertisement information of BGP routes destined to network
10.2.1.0/24.
Advertised to peers (1 in total) Peers to which the route has been advertised and the number of peers.
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