Display Ip Routing-Table Ip-Prefix - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

# Display route entries by specifying a destination IP address and mask and the longer-match
keyword.
[Sysname] display ip routing-table 11.1.1.1 24 longer-match
Routing Table : Public
Summary Count : 1
Destination/Mask
11.1.1.0/24
For detailed description of the above output, see
# Display route entries for destination addresses in the range 1.1.1.0 to 5.5.5.0.
<Sysname> display ip routing-table 1.1.1.0 24 5.5.5.0 24
Routing Table : Public
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.2.2.0/24
2.2.2.1/32

display ip routing-table ip-prefix

Syntax
display ip routing-table ip-prefix ip-prefix-name [ verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.
verbose: Displays detailed routing table information, including that for inactive routes. With this
argument absent, the command displays only brief information about active routes.
Description
Use the display ip routing-table ip-prefix command to display information about routes permitted by
a specified prefix list.
This command is intended for the follow-up display of routing policies. If the specified prefix list is not
configured, detailed information about all routes (with the verbose keyword) or brief information about
all active routes (without the verbose keyword) is displayed.
Examples
# Configure a prefix list named test, permitting routes with a prefix of 2.2.2.0 and a mask length
between 24 and 32.
<Sysname> system-view
[Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32
Proto Pre Cost
Static 60
0
Proto Pre Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
NextHop
Interface
0.0.0.0
NULL0
Table
1-1.
NextHop
Interface
1.1.1.1
Vlan1
127.0.0.1
InLoop0
2.2.2.1
Vlan2
127.0.0.1
InLoop0
1-9

Advertisement

Table of Contents
loading

Table of Contents