match local-preference

Syntax

match local-preference <VALUE>

no match local-preference <VALUE>

Description

Matches the local preference value of the route with the value configured in the match clause.

The no form of this command restores the default behavior of not matching the local preference value of the route.

Command context

config-route-map

Parameters

<VALUE>

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

Authority

Administrators

Example

Configuring a match clause in the route map to match the local preference of the route:

switch(config)# route-map GlobalMap permit seq 11
switch(config-route-map-GlobalMap-11)# match local-preference 100