5 bgp aggregate-nexthop-check, 6 bgp always-compare-med, Bgp aggregate – PLANET XGS3-24040 User Manual

Page 515: Nexthop, Check, Bgp always, Compare

Advertising
background image


35-228

Switch(config-router)#aggregate-address 100.3.0.0/16 as-set

Related Command: bgp aggregate-nexthop-check, no bgp aggregate-nexthop-check

35.5 bgp aggregate-nexthop-check

Command: bgp aggregate-nexthop-check

no bgp aggregate-nexthop-check

Function: Configures whether BGP checks all the route next-hop in aggregating. The “no bgp

aggregate-nexthop-check” command cancels this configuration, namely not check the next-hop

accordance of aggregate route.

Parameter: None.

Default: No nexthop checked during aggregating.

Command Mode: Global mode

Usage Guide: When check is enabled, the aggregate will not be performed if the next-hop of the covered

routes are not in accordance. When checking is disabled, all covered route will be aggregated into the

aggregate route.

Example:

Switch(config)#bgp aggregate-nexthop-check

Relevant Command: aggregate-address, no aggregate-address

35.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: The AS (200) receives the same route prefix form the two AS (100 and 300) carrying different

MED, configure the MED comparison is always performed.

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

Advertising