set routing route-map set-action weight
The set routing route-map set-action weight command modifies the weight value of the route with the one configured in the action clause.
The delete routing route-map set-action weight command restores the default behavior of not modifying the weight attribute of the route.
Command Syntax
set routing route-map <route-map-name> order <NUMBER>set-action weight <VALUE>
delete routing route-map <route-map-name> order <NUMBER> set-action weight <VALUE>
Parameter
Parameter | Description |
route-map <route-map-name> | Specifies the name of the route map. Required. |
order <NUMBER> | Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535. |
weight <VALUE> | Specifies the value to be set as the weight attribute of the route. Range: 0 to 65535. |
Example
- Configure a action clause in the route map to modify the weight value of the route:
admin@Xorplus# set routing route-map GlobalMap order 10 set-action weight 100 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.