
186
Example:
Show AS number and match the regular expression with ASDOT method.
Switch(config)#router bgp 200
Switch(config-router)#bgp asnotation asdot
Related Command:
None.
1.8.3.6 bgp bestpath as-path ignore
Command: bgp bestpath as-path ignore
n o b g p b estpath as
-path ignore
Function:
Set to ignore the AS-PATH length. The “
no bgp bestpath as-path ignore
” command
cancels this configuration.
Parameter:
None.
Default:
Not set.
Command Mode:
BGP route mode.
Usage Guide:
Length of AS-PATH will be compared in BGP pathing, and its length can be
ignored by using this configuration.
Example:
Set to ignore the AS-PATH length.
Switch(config)#router bgp 200
Switch(config-router)#bgp bestpath as-path ignore
1.8.3.7 bgp bestpath compare-confed-aspath
Command: bgp bestpath compare-confed-aspath
no bgp bestpath compare-confed-aspath
Function:
Set to concern the confederation AS-PATH length. The “
no bgp bestpath
compare-confed-aspath
” command cancels this configuration.
Parameter:
None.
Default:
Not configured.
Command Mode:
BGP route mode.
Usage Guide:
Normally only the length of external AS-PATH will be compared in BGP pathing.
By using this configuration, lengths of AS inner confederation AS-PATH will be compared at the
same time.
Example:
Switch(config-router)#bgp bestpath compare-confed-aspath
1.8.3.8 bgp bestpath compare-routerid
Command: bgp bestpath compare-routerid
no bgp bestpath compare-routerid
Function:
Compare route ID; the “
no bgp bestpath compare-routerid
” command cancels this