7 bgp bestpath as-path ignore, 8 bgp bestpath compare-confed-aspath, Bgp bestpath as – PLANET XGS3-24040 User Manual

Page 516: Path ignore, Bgp bestpath compare, Confed, Aspath

Advertising
background image


35-229

35.7 bgp bestpath as-path ignore

Command: bgp bestpath as-path ignore

 n o b g p b e s tp a th a s -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

Related Command: bgp bestpath compare-confed-aspath, bgp bestpath compare-routerid, bgp

bestpath med, no bgp bestpath compare-confed-aspath, no bgp bestpath compare-routerid, no

bgp bestpath med

35.8 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

Advertising