Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »


The set routing route-map match local-preference command matches the local preference value of the route with the value configured in the match clause.
The delete routing route-map match local-preference command restores the default behavior of not matching the local preference value of the route.

Command Syntax

set routing route-map <route-map-name> <NUMBERmatch local-preference <value>

delete routing route-map <route-map-name> <NUMBER> match local-preference <value>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

<NUMBER>

Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.

local-preference <value>

Specifies the value to be matched with the route entry local preference in the range of 1 to 4294967295.


Example

  •  Configure a match clause in the route map to match the local preference of the route:
admin@Xorplus# set routing route-map GlobalMap 10 match local-preference 100
admin@Xorplus# set routing route-map GlobalMap 10 action permit
admin@Xorplus# commit
  • No labels