set routing route-map set-action metric-type


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

Command Syntax

set routing route-map <route-map-name> order <NUMBERset-action metric-type <type-1|type-2>

delete routing route-map <route-map-name> order <NUMBER> set-action metric-type <type-1|type-2>


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.

metric-type <type-1|type-2>

Specifies the metric-type value of the route entry. The value could be type-1 or type-2.


Example

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

Copyright © 2024 Pica8 Inc. All Rights Reserved.