H3C S3100-52P Command Manual page 5

Static route
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – Static Route
H3C S3100-52P Ethernet Switch
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[Sysname-acl-basic-2000] rule deny source any
[Sysname-acl-basic-2000] display ip routing-table acl 2000
Routes matched by access-list 2000:
Summary count: 2
Destination/Mask
10.1.1.0/24
10.1.1.2/32
Refer to
# Display the detailed information about the active and inactive routes that match ACL
2000.
<Sysname> display ip routing-table acl 2000 verbose
Routes matched by access-list 2000:
+ = Active Route, - = Last Active, # = Both
Destinations: 2
Holddown: 0
**Destination: 10.1.1.0
**Destination: 10.1.1.2
Table 1-2 Description on the fields of the display ip routing-table command
Field
Destination
Mask
Protocol
Preference
Nexthop
Interface
Protocol
DIRECT
DIRECT
Table 1-1
or the description on the output fields.
Routes: 2
Delete: 0
Protocol: #DIRECT
*NextHop: 10.1.1.2
State: <Int ActiveU Retain Unicast>
Age: 35:37:03
Protocol: #DIRECT
*NextHop: 127.0.0.1
State: <NoAdvise Int ActiveU Retain Gateway Unicast>
Age: 35:37:03
Destination address
Subnet mask
Protocol that discovers the route
Route preference
Next hop to the destination
Outbound interface through which data packets are forwarded to the
destination network segment.
Pre
Cost
0
0
0
0
Hidden: 0
Mask: 255.255.255.0
Preference: 0
Interface: 10.1.1.2(Vlan-interface1)
Cost: 0/0
Mask: 255.255.255.255
Preference: 0
Interface: 127.0.0.1(InLoopBack0)
Cost: 0/0
Description
1-4
Chapter 1 IP Routing Table
Commands
Nexthop
Interface
10.1.1.2
Vlan-interface1
127.0.0.1
InLoopBack0
* = Next hop in use

Advertisement

Table of Contents
loading

Table of Contents