• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set community no-advertise
• Use the none keyword to remove the community attribute from a route.
• Use the no version to delete the set clause from a route map.
• See set community.
set dampening
• Use to enable BGP route flap dampening only on routes that pass the match clauses
of, and are redistributed by, a particular route map.
• BGP creates a dampening parameter block for each unique set of dampening
parameters—such as suppress threshold and reuse threshold—used by BGP. For
example, if you have a route map that sets the dampening parameters to one set of
values for some routes and to another set of values for the remaining routes, BGP uses
and stores two dampening parameter blocks, one for each set.
• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set dampening 5 1000 1500 45 15
• Use the no version to delete the set clause from a route map.
• See set dampening.
set extcommunity
• Use to set the extended community attributes in a route map for BGP updates.
• You can specify a site-of-origin (soo) extended community and a route target (rt)
extended community at the same time in a set clause without overwriting the other.
• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set extcommunity rt 10.10.10.2:325
• Use the no version to delete the set clause from a route map.
• See set extcommunity.
set ip next-hop
• Use to set the next hop attribute of a route that matches a route map.
• This command is not supported for route maps used by the table-map command.
• You can specify an IP address or an interface as the next hop.
• Use the peer-address keyword to have the following effect:
• On outbound route maps, disables the next hop calculation by setting the next hop
to the IP address of the BGP speaker
• On inbound route maps, overrides any third-party next-hop configuration by setting
the next hop to the IP address of the peer
77Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing