542
[as-set]
: Show AS on the path in list, each AS is shown once.
Default:
No aggregate configuration
Command Mode:
BGP routing mode
Usage Guide:
Address aggregation reduces spreading routing messages outside. Use
summary-only option so to spread aggregate route to the neighbors without spreading
specific route. as-set option will list AS from each route covered by the aggregation only
once without repeat.
Example:
Switch(config-router)# aggregate-address 100.1.0.0/16 summary-only
Switch(config-router)# aggregate-address 100.2.0.0/16 summary-only as-set
Switch(config-router)# aggregate-address 100.3.0.0/16 as-set
14.8.3.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
14.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 routing 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)