3com 8807 参照ガイド
386
C
HAPTER
23: S
TATIC
R
OUTE
C
ONFIGURATION
C
OMMANDS
Example
# There is a corresponding route in natural mask range. Display the summary.
<SW8800>display ip routing-table 169.0.0.0
Destination/Mask Protocol Pre Cost Nexthop Interface
169.0.0.0/16 STATIC 60 0 192.168.1.2 Vlan-interface10
169.0.0.0/8 STATIC 60 0 192.168.1.2 Vlan-interface10
For detailed description of the output information, see Table 48.
# There is no corresponding route (only the longest matching route is displayed) in
natural mask range and summary is displayed.
natural mask range and summary is displayed.
<SW8800>display ip routing-table 192.168.1.2
Destination/Mask Protocol Pre Cost Nexthop Interface
192.168.1.0/24 DIRECT 0 0 192.168.1.1 Vlan-interface10
# There are corresponding routes in the natural mask range. Display the detailed
information.
information.
<SW8800> display ip routing-table 169.0.0.0 verbose
Routing tables:
Generate Default: no
+ = Active Route, - = Last Active, # = Both * = Next hop in use
Summary count: 3
**Destination: 169.0.0.0 Mask: 255.255.0.0
Protocol: #STATIC Preference: 60
*NextHop: 192.168.1.2 Interface: 192.168.1.1(Vlan-interface10)
Vlinkindex: 0
State: <Int ActiveU Gateway Static Unicast>
Age: 10:20 Cost: 0/0 Tag: 0
**Destination: 169.0.0.0 Mask: 255.0.0.0
Protocol: #STATIC Preference: 60
*NextHop: 192.168.1.2 Interface: 192.168.1.1(Vlan-interface10)
Vlinkindex: 0
State: <Int ActiveU Gateway Static Unicast>
Age: 4:39 Cost: 0/0 Tag: 0
# There are no corresponding routes in the natural mask range (only displaying the
longest matched route). Display the detailed information.
longest matched route). Display the detailed information.
<SW8800> display ip routing-table 169.168.1.2 verbose
Routing tables:
Generate Default: no
+ = Active Route, - = Last Active, # = Both * = Next hop in use
Summary count: 1
**Destination: 192.168.1.0 Mask: 255.255.255.0
Protocol: #DIRECT Preference: 0
*NextHop: 192.168.1.1 Interface: 192.168.1.1(Vlan-interface10)
Vlinkindex: 0
State: <Int ActiveU Retain Unicast>
Age: 12:51 Cost: 0/0 Tag: 0
For detailed description of the output information, see Table 49.
display ip routing-table
ip-address1 ip-address2
Syntax
display ip routing-table ip-address1 mask1 ip-address2 mask2 [ verbose ]