16 set as-path, 17 set atomic-aggregate, Set as – PLANET XGS3-24040 User Manual

Page 392: Path, Set atomic, Aggregate

Advertising
background image


29-105

29.16 set as-path

Command:

set as-path prepend <as-num>

no set as-path prepend [<as-num>]

Function:

Add AS numbers in the AS path domain of the BGP routing message. The “no set as-path

prepend [<as-num>]” command deletes this configuration.

Parameter:

<as-num > is the AS number, circulating inputting several numbers is available.

Command Mode:

route-map mode

Usage Guide:

To add AS number in the As domain of the BGP, the AS path length should be lengthened so to

affect the best neighbor path option. To use this command, one match clause should at first be

defined.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#set as-path prepend 200

29.17 set atomic-aggregate

Command:

set atomic-aggregate

no set atomic-aggregate

Function:

Configure the atomic aggregate attributes. The “no set atomic-aggregate” command deletes this

configuration.

Parameter:

None

Command Mode:

route-map mode

Usage Guide:

The BGP informs other BGP speaker by the atomic aggregate attributes. Local system selects a

sub-specified route other than the more specified routes included in it. To use this command, one

match clause should at first be defined.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Advertising