R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

333
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. If no VPN instance is specified, the command displays the BGP IPv4 unicast routing
information for the public network.
network-address: Specifies a destination network address.
mask: Specifies a network mask, in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
longest-match: Specifies longest match mode, which selects the longest matching route through the
following steps:
1. ANDs the specified network address with the mask of each route.
2. Matches a route if the AND result is the same as the network address of the route and the mask of
the route is shorter than or equal to the specified mask.
3. Selects the route with the longest mask among the matching routes.
advertise-info: Displays advertisement information for BGP IPv4 unicast routes.
as-path-acl as-path-acl-number: Displays BGP IPv4 unicast routes that match the AS path list specified by
its number in the range of 1 to 256.
community-list: Displays BGP IPv4 unicast routes that match a community list.
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 case-sensitive 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 include the specified community list.
adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to
199.
peer ip-address: Displays BGP IPv4 unicast routing information advertised to or received from the
specified peer.
advertised-routes: Displays routing information advertised to the specified peer.
received-routes: Displays routing information received from the specified peer.
statistics: Displays routing statistics.
standby: Displays BGP IPv4 unicast routing information for a standby BGP process. If you do not specify
a standby BGP process, the command displays information for the active BGP process.
slot slot-number: Specifies the slot number of the card where the standby process resides.
Usage guidelines
If no parameters are specified, the command displays brief information about all BGP IPv4 unicast
routes.
If only the network-address argument is specified, the system ANDs the network address with the mask of
a route. If the result matches the network address of the route, the command displays information about
the route.
If the network-address mask or network-address mask-length argument is specified and the longest-match
keyword is not specified, the command displays information about the BGP IPv4 unicast route that
matches both the specified destination network address and the mask (or mask length).