Ip Route-Static - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches

1.1.2 ip route-static

Syntax
ip route-static dest-address { mask | mask-length } { gateway-address | interface-type
interface-number [ gateway-address ] } [ preference preference-value ] [ tag tag-value ]
[ description description-text ]
undo ip route-static dest-address { mask | mask-length } [ gateway-address |
interface-type interface-number [ gateway-address ] ] [ preference preference-value ]
View
System view
Parameters
dest-address: Destination IP address of the static route, in dotted decimal notation.
mask: Mast of the IP address, in dotted decimal notation.
mask-length: Mask length, in the range 0 to 32.
gateway-address: IP address of the next hop, in dotted decimal notation.
interface-type interface-number: Specifies the output interface by its type and number.
If the output interface is a broadcast interface, such as an Ethernet interface, a virtual
template or a VLAN interface, the next hop address must be specified.
preference preference-value : Specifies the preference of the static route, which is in
the range of 1 to 255 and defaults to 60.
tag tag-value: Sets a tag value for the static route from 1 to 4294967295. The default is
0. Tags of routes are used in routing policies to control routing.
description description-text: Configures a description for the static route, which
consists of 1 to 60 characters, including special characters like space, but excluding
"?".
Description
Use the ip route-static command to configure a unicast static route.
Use the undo ip route-static command to delete a unicast static route.
When configuring a unicast static route, note that:
1)
If the destination IP address and the mask are both 0.0.0.0, the configured route is
a default route. If routing table searching fails, the router will use the default route
for packet forwarding.
2)
Different route management policies can be implemented for different route
preference configurations. For example, specifying the same preference for
different routes to the same destination address enables load sharing, while
specifying different preferences for these routes enables route backup.
Chapter 1 Static Routing Configuration Commands
1-2

Advertisement

Table of Contents
loading

Table of Contents