3Com 4500 50-PORT Switch User Manual


 
142 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS
View
All views
Parameter
ip_prefix_name Enter the ip prefix list name.
verbose Enter to display verbose information about 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 to view information
on the routes that passed filtering rules for the specified IP prefix name.
Example
To display the summary information for ip prefix list abc2, active route only, enter
the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]ip ip-prefix abc2 permit 10.1.1.0 24 less-equal 32
[4500]display ip routing-table ip-prefix abc2
The information displays in the following format:
Routes matched by ip-prefix abc2:
Summary count: 2
Destination/Mask Protocol Pre Cost Nexthop Interface
10.1.1.0/24 DIRECT 0 0 10.1.1.2 Vlan-interface1
10.1.1.2/32 DIRECT 0 0 127.0.0.1 InLoopBack0
For a detailed description of the output information, see Table 18.
To display the information on the active and inactive routes for prefix list abc2,
enter the following:
[4500]display ip routing-table ip-prefix abc2 verbose
The information displays in the following format:
Routes matched by ip-prefix abc2:
+ = Active Route, - = Last Active, # = Both* = Next hop in use
Summary count:2
**Destination: 10.1.1.0 Mask: 255.255.255.0
Protocol: #DIRECT Preference: 0
*NextHop: 10.1.1.2 Interface: 10.1.1.2(Vlan-interface1)
Vlinkindex: 0
State: <Int ActiveU Retain Unicast>
Age: 3:23:44 Cost: 0/0 Tag:0
**Destination: 10.1.1.2 Mask: 255. 255. 255. 255
Protocol: #DIRECT Preference: 0
*NextHop: 127.0.0.1 Interface: 127.0.0.1(InLoopBack0)
Vlinkindex: 0
State: <NoAdvise Int ActiveU Retain Gateway Unicast>
Age: 3:23:44 Cost: 0/0 Tag: 0