set weight
Syntax
set weight <VALUE>
no set weight <VALUE>
Description
Modifies the weight attribute of the route with the value configured in the set clause.
The
no
form of this command restores the default behavior of not modifying the weight attribute of the route.
Command context
config-route-map
Parameters
<VALUE>
Specifies the value to be set as the weight attribute of the route. Range: 0 to 65535.
Authority
Administrators or local user group members with execution rights for this command.
Example
Configuring a set clause in the route map to modify the metric value of the route:
switch(config)# route-map GlobalMap permit seq 11 switch(config-route-map-GlobalMap=11)# set weight 100