Setting parameters in the routes – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 750

716
Brocade TurboIron 24X Series Configuration Guide
53-1003053-01
Filtering
Syntax: match community
The
Separate the ACL names or IDs with spaces.
Here is another example.
These commands configure an additional community ACL, std_2, that contains community
numbers 23:45 and 57:68. Route map bgp3 compares each BGP4 route against the sets of
communities in ACLs std_1 and std_2. A BGP4 route that contains either but not both sets of
communities matches the route map. For example, a route containing communities 23:45 and
57:68 matches. However, a route containing communities 23:45, 57:68 and 12:34, or
communities 23:45, 57:68, 12:34, and no-export does not match. To match, the route
communities must be the same as those in exactly one of the community ACLs used by the match
community statement.
Setting parameters in the routes
Use the following command to define a set statement that prepends an AS number to the AS path
on each route that matches the corresponding match statement.
TurboIron(config-routemap GET_ONE)#set as-path prepend 65535
Syntax: set [as-path [prepend
| [community
[dampening [
null0 | [ip [default] next hop
internal] | [next-hop
| incomplete] | [tag
The as-path prepend
AS-path list for the route.
The automatic-tag parameter calculates and sets an automatic tag value for the route.
NOTE
This parameter applies only to routes redistributed into OSPF.
The comm-list parameter deletes a community from a BGP4 route community attributes field.
The community parameter sets the community attribute for the route to the number or well-known
type you specify.
The dampening [
dampening parameters for the route. The
after which the route penalty becomes half its value. The
route penalty must become before the route becomes eligible for use again after being
suppressed. The
Layer 3 Switch suppresses the route. The
number of minutes that a route can be suppressed regardless of how unstable it is. For information
and examples, refer to
“Configuring route flap dampening”
TurboIron(config)#ip community-list standard std_2 permit 23:45 56:78
TurboIron(config)#route-map bgp3 permit 1
TurboIron(config-routemap bgp3)#match community std_1 std_2 exact-match