2 aggregate-address, 3 bgp always-compare-med – CANOGA PERKINS 9175 Command Reference User Manual

Page 247

Advertising
background image

CanogaOS Command Reference

16-2

16.2 aggregate-address

Use this command to configure BGP aggregate entries.

Use the no parameter with this command to disable this function.

Command Syntax

(no) aggregate-address IPADDRESS {summary-only|as-set}

IPADDRESS = A.B.C.D/M Specifies the aggregate prefix.

summary-only Filters more specific routes from updates.

as-set Generates AS set path information

Default

Disabled

Command Mode

Router mode

Usage

Aggregates are used to minimize the size of routing tables. Aggregation combines the characteristics of

several different routes and advertises a single route.The aggregate-address command creates an aggregate

entry in the BGP routing table if any more-specific BGP routes are available in the specified range. Using the

summary-only parameter advertises the prefix only, suppressing the more-specific routes to all neighbors.

Examples

Switch# configure terminal

Switch(config)# router bgp 100

Switch(config-router)# aggregate-address 10.0.0.0/8 as-set summary-only

Related Commands

match as-path

16.3 bgp always-compare-med

Use this command to compare the Multi Exit Discriminator (MED) for paths from neighbors in different

autonomous systems.

Use the no parameter with this command to disallow the comparison.

Command Syntax

(no) bgp always-compare-med

Default

Disabled

Advertising