9 bgp bestpath compare-routerid, 10 bgp bestpath med – Accton Technology ES4626 User Manual

Page 530

Advertising
background image

530

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 union AS-PATH will be compared

at the same time.

Example:

Switch(config-router)#bgp bestpath compare-confed-aspath

13.8.3.9 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 configuration

Parameter:

None

Default:

Not configured

Command Mode: BGP route mode

Usage Guide:

Normally the first arrived route from the same AS (with other conditions

equal) will be chosen as the best route. By using this command, source router ID will also

be compared.

Example:

Announce the same route prefix through two devices (10.1.1.64 and 10.1.1.68)from the

same AS (100) to another device(10.1.1.66, AS200)

Switch(config-router)#bgp bestpath compare-routerid

13.8.3.10 bgp bestpath med

Command: bgp bestpath med {[confed] [missing-as-worst]}

no bgp bestpath med {[confed] [missing-as-worst]}

Function:

Configure whether the MED attributes should be compared in the

confederation path and the treatment when MED is unavailable. The “no bgp bestpath

med {[confed] [missing-as-worst]}

” command cancels this configuration

Parameter: [confed]

: Compare MED in the confederation path

[missing-is-worst]

: Consider as max MED value when missing.

Default:

Not configured

Command Mode: BGP route mode

Usage Guide:

Choose whether MED is compared among confederations by this

command. If MED is missing. It is considered max when missing-is-worst or else 0

Example:

Advertising
This manual is related to the following products: