2-2
ip route-static
Syntax
ip route-static
ip-address
{
mask
|
mask-length
} {
interface-type
interface-number
|
next-hop
}
[
preference
preference-value
] [
reject
|
blackhole
] [
detect-group group number
] [
description
text
]
undo ip route-static ip-address
{
mask
|
mask-length
} [
interface-type interface-number | next-hop
]
[
preference
preference-value
]
View
System view
Parameters
ip-address
: Destination IP address, in dotted decimal notation.
mask
: Subnet mask, in dotted decimal notation.
mask-length:
Mask length, in the range of 0 to 32.
interface-type
interface-number
: Next-hop outbound interface
.
next-hop
: Next hop IP address of the route, in dotted decimal notation.
preference preference-value
:
Preference level of a static route, in the range of 1 to 255. The default
preference is 60.
reject
: Indicates the destination is unreachable. If a static route to a destination is marked with
reject
,
all IP packets destined for this destination will be discarded, and the source host will be informed that
the destination is unreachable.
blackhole
: Indicates a blackhole route. If a static route to a destination is marked with
blackhole
, the
outbound interface of this route is the Null 0 interface 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 text
: Provides a description for the current route, which is a string of 1 to 60 characters.
detect-group group number
: Specifies a detect group number, which ranges from 1 to 25.
z
If you specify the next-hop outgoing interface when configuring a static route, the type of outgoing
interface can be
Null
only.
z
The packets sent to a
Null
interface, which is a virtual interface, will be discarded immediately.
This can decrease the system load.
z
For automatic detection information, refer to the part discussing
Auto Detect.
Description
Use the
ip route-static
command to configure a static route.
Use the
undo ip route-static
command to delete a static route.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...