Alcatel-Lucent 6850-48 参照ガイド

ページ / 3444
BGP Commands
page 44-132
OmniSwitch CLI Reference Guide
September 2009
ip bgp policy route-map lpref-mode
Configures the action to be taken when setting local preference attribute for a local matching route.
ip bgp policy route-map name sequence_number lpref-mode {none | inc | dec | rep}
Syntax Definitions
name
The route map name.
sequence_number
The route map sequence number. The valid range is 1–255.
none
Do not set the local preference attribute.
inc
Increment the local preference attribute in the matching route by the 
value specified in the 
 command. No 
action is taken if no local preference attribute is found in the matching 
route.
dec
Decrement the local preference attribute in the matching route by the 
value specified in the 
 command. No 
action is taken if no local preference attribute is found in the matching 
route.
rep
Replace the local preference attribute in the matching route by the value 
specified in the 
 command even if no 
local preference attribute is found in the matching route.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
• This command is used in conjunction with
The example below shows 
the combined usage. 
• In this example, the local preference value is incremented for a matching route by 555.
Examples
-> ip bgp policy route-map routemap1 1 lpref-mode none
-> ip bgp policy route-map routemap1 1 lpref 555 lpref-mode inc
Release History
Release 6.1; command was introduced.
parameter
default
none | inc | dec | rep
none