HP MSR2000/3000/4000 Router Series MPLS Command Reference

156
display bgp routing-table vpnv4
Use display bgp routing-table vpnv4 to display BGP VPNv4 routing information.
Syntax
display bgp routing-table vpnv4 [ route-distinguisher route-distinguisher ] [ network-address [ { mask |
mask-length } [ longest-match ] ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
route-distinguisher route-distinguisher: Specifies an RD, a string of 3 to 21 characters in one of these
formats:
16 - bit AS n u m b e r :32-bit user-defined number. For example, 101:3.
32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
32-bit AS number:16-bit user-defined number, where the minimum value of the AS number is 65536.
For example, 65536:1.
network-address: Destination network address.
mask: Network mask, in dotted decimal notation.
mask-length: Length of the network mask, in the range of 0 to 32.
longest-match: Displays the longest matching BGP VPNv4 route.
Usage guidelines
If none of network-address, mask, or mask-length is specified, the command displays brief information
about all BGP VPNv4 routes.
If network-address mask or network-address mask-length is specified, the command displays detailed
information about the BGP VPNv4 route that exactly matches the specified address and mask.
If only network-address is specified, the command displays detailed information about the BGP VPNv4
route that exactly matches the specified address and the natural mask.
Examples
# Display brief information about all BGP VPNv4 routes.
<Sysname> display bgp routing-table vpnv4
BGP local router ID is 1.1.1.9
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Total number of routes from all PEs: 2
Route distinguisher: 100:1(vpn1)