Alcatel-Lucent 6850-48 参照ガイド

ページ / 3444
BGP Commands
page 44-10
OmniSwitch CLI Reference Guide
September 2009
ip bgp bestpath as-path ignore
Indicates whether AS path comparison will be used in route selection. The AS path is the sequence of ASs 
through which a route has traveled. A shorter AS path is preferred over a longer AS path. The AS path is 
always advertised in BGP route updates. This command informs BGP to use the length of the AS path as a 
criteria for determining the best route.
ip bgp bestpath as-path ignore
no ip bgp bestpath as-path ignore
Syntax Definitions
N/A
Defaults
This command is enabled by default.
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to disable this feature after it has been enabled.
• AS path comparison does not consider the type of links connecting the ASs along the path. In some 
cases a longer path over very fast connections may be a better route than a shorter path over slower 
connections. For this reason the AS path should not be the only criteria used for route selection. BGP 
considers local preference before AS path when making path selections.
• The BGP protocol must be disabled (using the 
Examples
-> ip bgp bestpath as-path ignore
-> no ip bgp bestpath as-path ignore
Release History
Release 6.1; command was introduced.