Juniper JUNOSE 11.0.X IP SERVICES Configuration Manual page 41

For e series broadband services routers - ip services configuration
Table of Contents

Advertisement

set comm-list delete
set community
set dampening
Use to remove communities specified by the community list from the community
attribute of routes that match the route map.
You can use this command to delete communities only if the community list
was created with a single community per list entry, as the following sample
configuration for router host1 shows:
host1(config)#ip community-list 1 permit 231:10
host1(config)#ip community-list 1 permit 231:20
host1(config)#router bgp 45
host1(config-router)#neighbor 10.6.2.5 remote-as 5
host1(config-router)#neighbor 10.6.2.5 route-map indelete in
host1(config-router)#route-map indelete permit 10
host1(config-route-map)#set comm-list 1 delete
Router host1 receives the same route from 10.6.2.5 and applies the indelete
route map. BGP compares each list entry with the community attribute. A match
is found for the list entry 231:10, and this community is deleted from the
community attribute. Similarly, a match is found for the list entry of 231:20, and
this community is deleted from the community attribute.
Example
host1(config-route-map)#set comm-list 1 delete
Use the no version to delete the set clause from a route map.
See set comm-list delete.
Use to set the community attribute in BGP updates.
You can specify a community list number in the range 1–4294967295, or in the
new community format of AA:NN, or one of the following well-known
communities:
local-asr Prevents advertisement outside the local AS
no-advertise Prevents advertisement to any peer
no-export Prevents advertisement beyond the BGP confederation boundary
Alternatively, you can use the list keyword to specify the name of a community
list that you previously created with the ip community-list command.
Example
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.
Chapter 1: Configuring Routing Policy
Route Maps
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.0.x

Table of Contents