Switch 7700 Command reference Guide, v2.0

Table Of Contents
Routing Table Display Commands 109
Example
To display the routing information of destination addresses ranging from 1.1.1.0
to 2.2.2.0., with a subnet mask of 24, enter the following:
<SW7700>display ip routing-table 1.1.1.0 24 2.2.2.0 24
The information displays in the following format:
Routing tables:
Summary count: 3
Destination/Mask Proto Pre Cost Nexthop Interface
1.1.1.0/24 DIRECT 0 0 1.1.1.1
Vlan-interface1
1.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
2.2.2.0/24 DIRECT 0 0 2.2.2.1
Vlan-interface2
display ip routing-table
ip-prefix
Syntax
display ip routing-table ip-prefix ip_prefix_name [ verbose ]
View
All views
Parameter
ip_prefix_name Enter the ip prefix list name.
verbose Enter to display the verbose information of both the active and inactive
routes that passed filtering rules. Without this parameter, this command displays
the summary of active routes that passed filtering rules.
Description
Use the command display ip routing-table ip-prefix ip_prefix_name
to view information on the routes that passed filtering rules for the specified IP
prefix name.
Use the command display ip routing-table ip-prefix ip_prefix_name
verbose
to display both the active and inactive routes that passed filtering
rules. Without the
verbose parameter, this command displays the summary of
the active routes that passed filtering rules.
Example
To display the summary information for ip prefix list abc2, active route only, enter
the following:
<SW7700>display ip routing-table ip-prefix abc2
The information displays in the following format:
Routes matched by ip-prefix abc2:
Summary count: 4
Destination/Mask Proto Pre Cost Nexthop Interface
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0
169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1
169.0.0.0/15 Static 60 0 2.1.1.1 LoopBack1