switch(config-route-map)# set as-path {tag | prepend {last-as number | as-1 [as-2... ]}}
|
Modifies an AS-path attribute for a BGP route. You can prepend the configured number of last AS numbers or a string of particular
AS-path values (as-1 as-2...as-n ).
|
switch(config-route-map)# set comm-list name delete
|
Removes communities from the community attribute of an inbound or outbound BGP route update. Use the ip community-list command to create the community list.
|
switch(config-route-map)# set community {none | additive | local-AS | no-advertise | no-export | community-1 [community-2... ]}
|
Sets the community attribute for a BGP route update.
Note
|
When you use both the set community and set comm-list delete commands in the same sequence of a route map attribute, the deletion operation is performed before the set operation.
|
Note
|
Use the send-community command in BGP neighbor address family configuration mode to propagate BGP community attributes to BGP peers.
|
|
switch(config-route-map)# set dampening halflife reuse suppress duration
|
Sets the following BGP route dampening parameters:
-
halflife —The range is from 1 to 45 minutes. The default is 15.
-
reuse —The range is from is 1 to 20000 seconds. The default is 750.
-
suppress —The range is from is 1 to 20000. The default is 2000.
-
duration —The range is from is 1 to 255 minutes. The default is 60.
|
switch(config-route-map)# set distance value
|
Sets the administrative distance of routes for OSPFv2 or OSPFv3. The range is from 1 to 255.
|
switch(config-route-map)# set extcomm-list name delete
|
Removes communities from the extended community attribute of an inbound or outbound BGP route update. Use the ip extcommunity-list command to create the extended community list.
|
switch(config-route-map)# set extcommunity 4byteas-generic {transitive | nontransitive } {none | additive ] community-1 [community-2... ]}
|
Sets the extended community attribute for a BGP route update.
Note
|
When you use both the set extcommunity and set extcomm-list delete commands in the same sequence of a route map attribute, the deletion operation is performed before the set operation.
|
Note
|
Use the send-community command in BGP neighbor address family configuration mode to propagate BGP extended community attributes to BGP peers.
|
|
switch(config-route-map)# set extcommunity cost community-id1 cost [igp | pre-bestpath ] [community-id2... ]}
|
Sets the cost community attribute for a BGP route update. This attribute allows you to customize the BGP best path selection
process for a local autonomous system or confederation. The community-id range is from 0 to 255. The cost range is from 0 to 4294967295. The path with the lowest cost is preferred. For paths with equal cost, the path with the lowest
community ID is preferred.
The igp keyword compares the cost after the IGP cost comparison. The pre-bestpath keyword compares before all other steps in the bestpath algorithm.
|
switch(config-route-map)# set extcommunity rt community-1 [additive ] [community-2... ]}
|
Sets the extended community route target attribute for a BGP route update. The community value can be a 2-byte AS number:4-byte network number, a 4-byte AS number:2-byte network number, or an IP address:2-byte
network number.
Use the additive keyword to add a route target to an existing extended community route target attribute.
|
switch(config-route-map)# set forwarding-address
|
Sets the forwarding address for OSPF.
|
switch(config-route-map)# set level {backbone | level-1 | level-1-2 | level-2 }
|
Sets what area to import routes to for IS-IS. The options for IS-IS are level-1, level-1-2, or level-2. The default is level-1.
|
switch(config-route-map)# set local-preference value
|
Sets the BGP local preference value. The range is from 0 to 4294967295.
|
switch(config-route-map)# set metric [+ | - ]bandwidth-metric
|
Adds or subtracts from the existing metric value. The metric is in Kb/s. The range is from 0 to 4294967295.
|
switch(config-route-map)# set metric bandwidth [delay reliability load mtu ]
|
Sets the route metric values. Metrics are as follows:
-
metric0 —Bandwidth in Kb/s. The range is from 0 to 4294967295.
-
metric1 —Delay in 10-microsecond units.
-
metric2 —Reliability. The range is from 0 to 255 (100 percent reliable).
-
metric3 —Loading. The range is from 1 to 200 (100 percent loaded).
-
metric4 —MTU of the path. The range is from 1 to 4294967295.
|
switch(config-route-map)# set metric-type {external | internal | type-1 | type-2 }
|
Sets the metric type for the destination routing protocol. The options are as follows:
-
external —IS-IS external metric
-
internal — IGP metric as the MED for BGP
-
type-1 —OSPF external type 1 metric
-
type-2 —OSPF external type 2 metric
The set metric-type internal command affects an outgoing policy and an eBGP neighbor only. If you configure both the metric and metric-type internal commands in the same BGP peer outgoing policy, then Cisco NX-OS ignores the metric-type internal command.
|
switch(config-route-map)# set nssa-only
|
Sets Type-7 LSA generated on ASBR with no P bit set. This prevents Type-7 to Type-5 LSA translation in OSPF.
|
switch(config-route-map)# set origin {egp as-number | igp | incomplete }
|
Sets the BGP origin attribute. The EGP as-number range is from 0 to 65535.
|
switch(config-route-map)# set tag name
|
Sets the tag value for the destination routing protocol. The name parameter is an unsigned integer.
|
switch(config-route-map)# set weight count
|
Sets the weight for the BGP route. The range is from 0 to 65535.
|