ip bgp policy route-map lpref
ip bgp policy route-map lpref
Configures the local preference value for the route map.
ip bgp policy route-map name sequence_number lpref value
Syntax Definitions
name
sequence_number
value
Defaults
parameter
value
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
This command is used in conjunction with
next line shows the combined usage.
•
In this example, the local preference value will be incremented for a matching route by 555.
Examples
-> ip bgp policy route-map routemap1 1 lpref 555
-> ip bgp policy route-map routemap1 1 lpref 555 lpref-mode inc
Release History
Release 7.1.1; command was introduced.
Related Commands
ip bgp policy prefix6-list
ip bgp policy route-map lpref-
mode
MIB Objects
alaBgpRouteMapTable
alaBgpRouteMapLocalPref
page 19-130
The route map name.
The route map sequence number. The valid range is 1–255.
The local preference value. The valid range is 0–4294967295
default
0
ip bgp policy route-map
Creates or deletes a policy route map.
Configures the action to be taken when setting local preference
attribute for a local matching route.
lpref-mode. The example on the
OmniSwitch CLI Reference Guide
BGP Commands
March 2011