1-3
z
When configuring a static route, the static route does not take effect if you specify the next hop
address first and then configure it as the IP address of a local interface, such as VLAN interface.
z
If you do not specify the preference when configuring a static route, the default preference will be
used. Reconfiguring the default preference applies only to newly created static routes.
z
If the destination IP address and mask are both configured as 0.0.0.0 with the
ip route-static
command, the route is the default route.
z
For detailed information about track, refer to
Track Configuration
in the
System Volume
.
Displaying and Maintaining Static Routes
To do…
Use the command…
Remarks
Display the current
configuration information
display current-configuration
Display the brief information of
the IP routing table
display ip routing-table
Display the detailed
information of the IP routing
table
display ip routing-table verbose
View information of static
routes
display ip routing-table
protocol
static
[
inactive
|
verbose
]
Available in any
view
Delete all the static routes
delete static-routes all
Available In
system view
Static Route Configuration Example
Basic Static Route Configuration Example
Network requirements
The IP addresses and masks of the switches and hosts are shown in the following figure. Static routes
are required for interconnection between any two hosts.
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...