set routing route-map set-action label-index


The set routing route-map set-action label-index command modifies the label-index attribute of the route entry with the value configured in the action clause.
The delete routing route-map set-action label-index command restores the default behavior of not modifying the label-index attribute of the route entry.

Command Syntax

set routing route-map <route-map-nameorder <NUMBERset-action label-index <label-index>

delete routing route-map <route-map-name> order <NUMBER> set-action label-index <label-index>


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.

label-index <label-index>

Specifies the label index value to be set in the route entry. Range: 0 to 1048560.


Example

  •  Configure a action clause in the route map to modify the label-index value of the route:
admin@Xorplus# set routing route-map GlobalMap order 10 set-action label-index 100
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.