set comm-list delete
■
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.
set community
■
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.
set dampening
Route Maps
■
15
Chapter 1: Configuring Routing Policy
Содержание IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...