
This format allows you to easily classify community names. For example, a common convention used in community naming is to
configure the first string as the local AS and the second string as the unique community within that AS. Using this convention,
communities 1:10, 1:20, and 1:30 can be easily identified as member communities of AS 1.
The device provides the following methods for filtering on community information.
•
Community filters
•
Community list ACLs
NOTE
The device cannot actively support community filters and community list ACLs at the same time. Use one method or the other
but do not mix methods.
NOTE
Once you define a filter or ACL, the default action for communities that do not match a filter or ACL is
deny
. To change the
default action to
permit
, configure the last filter or ACL entry as
permit any any
.
Community filters or ACLs can be referred to by match clauses in a route map.
Defining a community ACL
To configure community ACL 1, enter a command such as the following. This command configures a community ACL that permits
routes that contain community 123:2.
device(config)# ip community-list 1 permit 123:2
Syntax:
no ip community-list standard
string
[
seq
seq-value
]
deny
|
permit
community-num
The
string
parameter specifies the ACL name. (If you enter a number, the CLI interprets the number as a text string.)
The
standard
parameter specifies whether you are configuring a standard community ACL.
The
seq
seq-value
parameter is optional and specifies the sequence number for the community list. You can configure up to 199 entries
in a community list. If you do not specify a sequence number, the software numbers the entries in increments of 5, beginning with
number 5. The software interprets the entries in a community list in numerical order, beginning with the lowest sequence number.
The
deny
and
permit
parameters specify the action the software takes if a route community list matches a match clause in this ACL. To
configure the community-list match clauses in a route map, use the
match community
command.
The
community-num
parameter specifies the community type or community number. This parameter can have the following values:
•
num:num
- A specific community number
•
internet
- The Internet community
•
no-export
- The community of sub-autonomous systems within a confederation. Routes with this community can be exported
to other sub-autonomous systems within the same confederation but cannot be exported outside the confederation to other
autonomous systems or otherwise sent to EBGP neighbors.
•
local-as
- The local sub-AS within the confederation. Routes with this community can be advertised only within the local subAS.
•
no-advertise
- Routes with this community cannot be advertised to any other BGP4 devices at all.
The
regular-expression
parameter specifies a regular expression for matching on community names.
To use a community-list filter, use route maps with the
match community
parameter.
Filtering
FastIron Ethernet Switch Layer 3 Routing
406
53-1003627-04
Содержание FastIron SX 1600
Страница 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Страница 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Страница 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Страница 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Страница 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Страница 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Страница 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Страница 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Страница 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Страница 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...