beautypg.com

6 bgp always-compare-med, 7 bgp bestpath as-path ignore, 8 bgp bestpath compare-confed-aspath – Accton Technology ES4626 User Manual

Page 529

background image

529

Relevant Command: aggregate-address, no aggregate-address

13.8.3.6 bgp always-compare-med

Command: bgp always-compare-med

no bgp always-compare-med

Function:

Configures If MED comparation is always performed. The “no bgp

always-compare-med

” command cancels this configuration.

Parameter:

None

Default:

Not configured.

Command Mode:BGP route mode

Usage Guide:

Normally the BGP compares the MED only when the AS is the same. By

using this configuration, MED of routes from different AS source will also be compared.

Example:

Announce the same route prefix through the two AS (100 and 300) to the same AS (200)

while carrying different MED;

Configure on the route 10.1.1.64

Switch(config-router)#bgp always-compare-med

13.8.3.7 bgp bestpath as-path ignore

Command: bgp bestpath as-path ignore

  no bgp bestpath 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:

Add this setting on B:

Switch(config)#router bgp 200

Switch(config-router)#bgp bestpath as-path ignore

13.8.3.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.

This manual is related to the following products: