12 set aggregator, 13 set as-path – Accton Technology ES4626 User Manual
Page 373

373
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
13.2.3.12 set aggregator
Command: set aggregator as
no set aggregator as [
Function:
Assign an AS number for BGP aggregator. The “no set aggregator as
[
” deletes this configuration.
Parameter: <as-number >
is the AS number,
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
13.2.3.13 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