host1(config-route-map)#
exit
host1(config)#
exit
host1#
show route-map
route-map miami, permit, sequence 10
Match clauses:
match community corporate5
Issue either of the following commands to delete the entire match community entry:
host1(config-route-map)#
no match community
host1(config-route-map)#
no match community corporate5 dade2
Matching a Community List Exactly
You can use the
exact-match
keyword for the
match community
command to specify
that a match exists only for the exact community numbers specified in the community
list. The
exact-match
keyword applies only to a standard community list—that is, one
not specified by a regular expression. You cannot use the
exact-match
keyword with a
community list that is specified by a regular expression.
Consider the following example:
host1(config)#
ip community-list 1 permit 100 200 300
host1(config)#
exit
host1#
show ip community-list
Community standard list 1
permit 0:100 0:200 0:300
host1(config)#
route-map example1 permit 10
host1(config-route-map)#
match community 1 exact-match
host1(config)#
exit
host1#
show route-map example1
route-map example, permit, sequence 10
Match clauses:
community (community-list filter): 1 exact-match
The route map
example1
permits a route only if the route contains community 100 and
community 200 and community 300 and no additional communities.
If you do not specify the
exact-match
option, the route map also permits a match on a
route that contains additional communities. For example, a route that contains
communities 100, 200, 300, 400, and 450 matches.
Removing Community Lists from a Route Map
You can use the
set comm-list delete
command to remove the specified community
list from routes matching the route map, provided that you created the community list
with a single community number per list entry. For example, you cannot remove the
community lists 231:10 and 231:20 with the
set comm-list delete
command if you created
them with the following command:
host1(config)#
ip community list 1 permit 231:10 231:20
You can, however, remove the lists with the
set comm-list delete
command if you created
them separately with the following commands:
host1(config)#
ip community list 1 permit 231:10
Copyright © 2010, Juniper Networks, Inc.
8
JunosE 11.2.x IP Services Configuration Guide
Summary of Contents for JUNOSE 11.2.X IP SERVICES
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Page 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Page 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Page 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Page 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Page 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Page 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Page 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Page 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Page 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Page 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Page 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...