HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
310
advertised-routes: Displays routing information advertised to the specified peer.
received-routes: Displays routing information received from the specified peer.
network-address: Specifies the IP address of the destination network.
mask: Specifies the mask of the destination network, in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
statistics: Displays route statistics.
Usage guidelines
• If the network-address, mask, and mask-length arguments are not specified, the command displays
all BGP IPv4 unicast routing information advertised to or received from the specified BGP peer.
• 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, the command
displays information about the 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 all BGP IPv4 unicast routing information advertised to BGP peer 10.2.1.2 for the public
network.
<Sysname> display bgp routing-table ipv4 peer 10.2.1.2 advertised-routes
Total number of routes: 2
BGP local router ID is 192.168.100.1
Status codes: * - valid, > - best, d - damped, h - history,
s - suppressed, S - Stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
* > 10.2.1.0/24 10.2.1.1 0 0 i
* > 192.168.1.0 192.168.1.135 0 0 i
# Display all BGP IPv4 unicast routing information received from BGP peer 10.2.1.2 for the public
network.
<Sysname> display bgp routing-table ipv4 peer 10.2.1.2 received-routes
Total number of routes: 2
BGP local router ID is 192.168.100.1
Status codes: * - valid, > - best, d - damped, h - history,
s - suppressed, S - Stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn