H3C s3600 series Command Manual page 222

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

View
System view
Parameters
ip-address: IP address in dotted decimal notation.
mask: Subnet mask.
mask-length: Length of the subnet mask, that is, the number of successive bits in the subnet mask
whose values are 1.
interface-type interface-number: Interface type and interface number.
next-hop: Next hop IP address in dotted decimal notation.
preference-value: Priority of the route. This argument ranges from 1 to 255.
reject: Specifies the route to be unreachable. If you specify this keyword when executing this command,
any packet destined for the specified IP address is discarded, and the system informs the source that
the destination is unreachable.
blackhole: Specifies the route to be a blackhole route. If you specify this keyword when executing this
command, all outbound interfaces of the static route are the NULL 0 interfaces regardless of the next
hop. In addition, the system discards any packet transmitted along this route without informing the
source.
group-number: Detected group number ranging from 1 to 25.
Description
Use the ip route-static detect-group command to configure a static route, whose validity depends on
detecting results as follows:
The route is valid when the detecting result is reachable.
The route is invalid when the detecting result is unreachable.
Use the undo ip route-static command to remove an existing static route.
Examples
# Configure a static route to 192.168.1.5/24 with 192.168.0.2 as the next hop, and control the static
route validity using the detecting result of detected group 10.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip route-static 192.168.1.5 24 192.168.0.2 detect-group 10
After the configuration, if detected group 10 is reachable, the static route is valid; if detected group 10 is
unreachable, the static route is invalid.
option
Syntax
option [ and | or ]
undo option
View
Detected group view
1-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents