R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

231
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the prefix information in the ORF message from the BGP peer 10.110.25.20.
<Sysname> display bgp peer 10.110.25.20 received ip-prefix
ORF ip-prefix entries: 2
ge: greater-equal le: less-equal
index rule prefix ge le
10 permit 111.111.111.0/24 26 32
20 deny 2.1.1.0/24 26 32
Table 49 Command output
Field Description
ORF ip-prefix entries Number of ORF prefix entries.
index Index of a prefix entry.
rule Matching rule of the prefix.
prefix Prefix information.
ge
Greater-equal, indicating that the mask length must be
greater than or equal to the specific value.
le
Less-equal, indicating that the mask length must be less
than or equal to the specific value.
display bgp routing-table
Use display bgp routing-table to display specified BGP routing information in the BGP routing table.
Syntax
display bgp routing-table [ ip-address [ { mask | mask-length } [ longer-prefixes ] ] ] [ | { begin | exclude
| include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
ip-address: Specifies a destination IP address.
mask: Specifies a network mask, in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
longer-prefixes: Displays the routing entries selected through the following steps:
1. AND the specified destination IP address with the specified mask.
2. AND the destination IP address of each route with the specified mask.