H3C S3100-52P Command Manual page 17

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

Advertisement

Command Manual – Static Route
H3C S3100-52P Ethernet Switch
Use the undo ip route-static command to delete a static route.
By default, the system can obtain the subnet route directly connected to the router.
When you configure a static route, if no preference is specified for the route, the
preference defaults to 60, and if the route is not specified as reject or blackhole, the
route will be reachable by default.
When configuring a static route, note the following points:
If the destination IP address and the mask are both 0.0.0.0, what you are
configuring is a default route. All the packets that fail to find a routing entry will be
forwarded through this default route.
You cannot configure an interface address of the local switch as the next hop
address of a static route.
You can configure a different preference to implement flexible route management
policy.
Related commands: display ip routing-table.
Examples
# Configure the next hop of the default route as 129.102.0.2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2
Chapter 2 Static Route Configuration Commands
2-3

Advertisement

Table of Contents
loading

Table of Contents