Users Guide
Example
OS10(conf-route-map)# set metric-type internal
Supported
Releases
10.2.0E or later
set next-hop
Sets an IPv4 or IPv6 address as the next-hop.
Syntax
set {ip | ipv6} next-hop ip-address
Parameters ip-address — Enter the IPv4 or IPv6 address for the next-hop.
Default Not configured
Command Mode ROUTE-MAP
Usage
Information
If you apply a route-map with the set next-hop command in ROUTER-BGP mode, it takes precedence
over the next-hop-self command used in ROUTER-NEIGHBOR mode. In a route-map configuration,
to configure more than one next-hop entry, use multiple set {ip | ipv6} next-hop commands.
When you apply a route-map for redistribution or route updates in ROUTER-BGP mode, configure only
one next-hop. Configure multiple next-hop entries only in a route-map used for other features, such as
policy-based routing (PBR). The no version of this command deletes the setting.
Example
OS10(conf-route-map)# set ip next-hop 10.10.10.2
Example (IPv6)
OS10(conf-route-map)# set ipv6 next-hop 11AA:22CC::9
Supported
Releases
10.2.0E or later
set origin
Set the origin of the advertised route.
Syntax
set origin {egp | igp | incomplete}
Parameters
● egp — Enter to add to existing community.
● igp — Enter to send inside the local-AS.
● incomplete — Enter to not advertise to peers.
Default Not configured
Command Mode ROUTE-MAP
Usage
Information
The no version of this command deletes the set clause from a route map.
Example
OS10(conf-route-map)# set origin egp
Supported
Releases
10.2.0E or later
set tag
Sets a tag for redistributed routes.
Syntax
set tag tag-value
Parameters tag-value — Enter a tag number for the route to redistribute, from 0 to 4294967295.
Access Control Lists 1533