301
1. AND the specified network address with the specified mask.
2. Display the route with the longest mask among the matching routes that have a mask shorter than
or equal to the specified mask.
Usage guidelines
• If the network-address, mask, and mask-length arguments are not 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
detailed 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 detailed information about 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 brief information about all BGP IPv4 unicast routes for the public network.
<Sysname> display bgp routing-table ipv4
Total number of routes: 4
BGP local router ID is 192.168.100.1
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
* > 10.2.1.0/24 10.2.1.1 0 0 i
e 10.2.1.2 0 0 200i
* > 192.168.1.0 192.168.1.135 0 0 i
* e 10.2.1.2 0 0 200i
Table 82 Command output
Field Description
Status codes
Status codes:
• * – valid—Valid route.
• > – best—Best route.
• d – dampened—Dampened route.
• h – history—History route.
• s – suppressed—Suppressed route.
• S – stale—Stale route.
• i – internal—Internal route.
• e – external—External route.