set routing route-map match metric
The set routing route-map match metric command matches the MED value of the route with the value configured in the match clause.
The delete routing route-map match metric command restores the default behavior of not matching the MED value of the route.
Command Syntax
set routing route-map <route-map-name> order <NUMBER> match metric <value>
delete routing route-map <route-map-name> order <NUMBER> match metric <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. |
metric <value> | Specifies the value to be matched with the route entry MED in the range of 1 to 4294967295. |
Example
- Configure a match clause in the route map to match the metric of the route:
admin@Xorplus# set routing route-map GlobalMap order 10 match metric 100 admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.