H3C S3100-52P Command Manual page 13

Routing protocol
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – Routing Protocol
H3C S3100-52P Ethernet Switches
regardless of the next hop address, and all the IP packet addresses destined for this
destination are dropped without the source host being notified.
description: Provides a description for the current route.
detect-group: Specifies a detect group.
Description
Use the ip route-static command to configure a static route.
Use the undo ip route-static command to delete a manually configured 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 command: display ip routing-table.
Example
# Configure the next hop of the default route as 129.102.0.2.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] 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