15 set aggregator, Set aggregator – PLANET XGS3-24040 User Manual

Page 391

Advertising
background image


29-104

Usage Guide:

A route-map may consist of several nodes each of which is a check unit. The check sequence

among nodes is identified by sequence-number. “permit” means the node filter will be passed if all

match subs are obtained by current route and then further all the set sub of this node will be

executed without entering the check in the next node; if the match subs can not be met, the proceed

to the check in next node. Relation among different node should be “or”, namely one node check

passed then the route filter is passed when the switch checks each node in turn in the route-map.

Attentions should be paid on that at least one node match mode should be “permit” when more than

one node is defined. When a route-map is used for filtering routing messages, if certain routing

message can not pass any node check, then it is considered denied by the route-map. If all nodes in

the route-map are set to deny mode, then all routing message should not be able to pass that

route-map.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#match as-path 60

Switch(config-route-map)#set weight 30

29.15 set aggregator

Command:

set aggregator as <as-number> <ip_addr>

no set aggregator as [<as-number> <ip_addr>]

Function:

Assign an AS number for BGP aggregator. The “no set aggregator as [<as-number> <ip_addr>]

deletes this configuration.

Parameter:

<as-number > is the AS number, <ip_addr> is the ip address of the aggregator shown in decimal

notation.

Command Mode:

route-map mode

Usage Guide:

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 aggregator as 200 10.1.1.1

Advertising