Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
BGP Commands
OmniSwitch CLI Reference Guide
September 2009
page 44-141
ip bgp policy route-map med-mode
Configures the action to be taken when setting the Multi-Exit Discriminator (MED) attribute for a match-
ing route.
ip bgp policy route-map name sequence_number med-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 MED.
inc
Increment the MED in the matching route by the value specified in the 
command. No action is taken if no MED 
is found in the matching route.
dec
Decrement the MED in the matching route by the value specified in the 
 command. No action is taken if no MED 
is found in the matching route.
rep
Replace the MED in the matching route by the value specified in the 
 command even if no MED is found in the 
matching route.
Defaults
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
This command is used in conjunction with 
. The first example below shows 
the combined usage. In the second example, the MED value is incremented for a matching route by 5.
Examples
-> ip bgp policy route-map routemap1 1 med-mode inc
-> ip bgp policy route-map routemap1 1 med 5 med-mode inc
Release History
Release 6.1; command was introduced.
parameter
default
 none | inc | dec | rep
none