The set
commands described below are available for use in route maps. Multiple set
commands may be used in a sequence of a route map.
Syntax:
[no] set
[ ip | ipv6 next-hop ] [ IP-addr
| IPv6-addr
]
Sets a next hop address.
|
Specifies setting either an IPv4 (IP) or IPv6 address, respectively.
|
|
Specifies the IPv4 (IP) or IPv6 address, respectively, to set.
|
The no
form of the command deletes the set clause from the sequence.
Syntax:
Sets the route metric to the specified value.
value
|
Value to be set for the route metric. This is an integer value between 0 and the maximum number supported by the routing switch.
|
The no
form of the command deletes the set clause from the sequence.
Syntax:
[no] set metric-type external
[ type-1 | type-2 ]
Sets the metric type of an OSPF external route.
type-1
|
Sets the metric type of an OSPF external route to type 1.
|
type-2
|
Sets the metric type of an OSPF external route to type 2.
|
The no
form of the command deletes the set clause from the sequence.
Syntax:
Sets the tag value of the route.
value
|
Value of the route tag. This is an integer value between 0 and the maximum number supported by the routing switch.
|
The no
form of the command deletes the set clause from the sequence.