SROS Command Line Interface Reference Guide
Global Configuration Mode Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
438
ip route
<ip address> <subnet mask>
[
<interface or ip address>
| null 0]
<administrative distance>
Use the
ip route
command to add a static route to the route table. Use the
no
form of this command to
remove a configured static route. Variations of this command include:
ip route
<ip address> <subnet mask> <interface>
ip route
<ip address> <subnet mask> <interface> <administrative distance>
ip route
<ip address> <subnet mask> <ip address>
ip route
<ip address> <subnet mask> <ip address> <administrative distance>
ip route
<ip address> <subnet mask>
null 0
ip route
<ip address> <subnet mask>
null 0
<administrative distance>
ip route
<ip address> <subnet mask> <interface> <administrative distance>
track
<name>
ip route
<ip address> <subnet mask> <ip address> <administrative distance>
track
<name>
ip route
<ip address> <subnet mask> <interface>
tag
<number>
ip route
<ip address> <subnet mask> <interface> <administrative distance>
tag
<number>
ip route
<ip address> <subnet mask> <interface> <administrative distance>
track
<name>
tag
<number>
ip route
<ip address> <subnet mask> <ip address> <administrative distance>
track
<name>
tag
<number>
Syntax Description
<ip address>
Specifies the network address to add to the route table. IP addresses
should be expressed in dotted decimal notation (for example,
10.10.10.1
).
<subnet mask>
Specifies the subnet mask that corresponds to a range of IP addresses
(network) or a specific host. Subnet masks can be expressed in dotted
decimal notation (for example,
255.255.255.0
) or as a prefix length (for
example,
/24
).
[
<interface>
|
<ip address>
]
Specifies the far end IP address or an egress interface in the unit. Use the
ip route
<ip address> <subnet mask>
?
command to display a complete list
of egress interfaces.
null 0
Optional. Routes traffic destined for the specified network to the null
interface. The router drops all packets destined for the null interface. Use
the null interface to allow the router to advertise a route but not forward
traffic to the route.
<administrative distance>
Optional. Specifies an administrative distance associated with a particular
router used to determine the best route when multiple routes to the same
destination exist. The smaller the administrative distance the more
preferable the route. Range is 1 to 255.
track
<name>
Optional. Enables tracking on the indicated route. Once the named track
enters a fail state, the route specified by the command is disabled and traffic
will no longer be routed using that route. For more information on
configuring tracks, see
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......