match local-preference

Syntax

match local-preference没有match local-preference

描述

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

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

Command context

config-route-map

Parameters

指定的值matched with the route entry local preference in the range of 1 to 4294967295.

权威

Administrators or local user group members with execution rights for this command.

Example

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

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