Displaying And Maintaining Static Routes; Static Route Configuration Example; Basic Static Route Configuration Example - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

To configure this feature for an existing static route, simply associate the static route with a track
entry. For a non-existent static route, configure it and associate it with a Track entry.
If a static route needs route recursion, the associated track entry must monitor the nexthop of the
recursive route instead of that of the static route; otherwise, a valid route may be mistakenly
considered invalid.

Displaying and Maintaining Static Routes

To do...
Display the current
configuration information
Display the brief information of
the IP routing table
Display the detailed
information of the IP routing
table
View information of static
routes
Delete all the static routes

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.
Figure 1-1 Network diagram for static route configuration
Use the command...
display current-configuration
display ip routing-table
display ip routing-table verbose
display ip routing-table protocol static
[ inactive | verbose ]
delete static-routes all
1-4
Remarks
Available in any
view
Available In
system view

Advertisement

Chapters

Table of Contents
loading

Table of Contents