Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
13-11
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 13 Configuring Route Policy Manager
Configuring Route Policy Manager
Configuring Extended Community Lists
You can use extended community lists to filter BGP routes based on the community attribute. The
community number consists of a 6-byte value in the aa4:nn format. The first four bytes represent the
autonomous system number, and the last two bytes represent a user-defined network number.
When you configure multiple values in the same extended community list statement, all extended
community values must match to satisfy the extended community list filter. When you configure multiple
values in separate extended community list statements, the first list that matches a condition is processed.
Use extended community lists in a match statement to filter BGP routes based on the extended
community attribute.
SUMMARY STEPS
1. configure terminal
2. ip extcommunity-list standard list-name {deny | permit} 4bytegeneric {transitive |
non-transitive} aa4:nn
or
ip extcommunit-list expanded list-name {deny | permit} expression
3. (Optional) show ip extcommunity-list name
4. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
ip extcommunity-list standard list-name
{deny | permit} 4bytegeneric {transitive
| nontransitive} community1
[community2...]
Example:
switch(config)# ip extcommunity-list
standard BGPExtCommunity permit
4bytegeneric transitive 65536:20
Creates a standard BGP extended community list. The
community can be one or more extended communities
in the aa4:nn format.
ip extcommunity-list expanded list-name
{deny | permit} expression
Example:
switch(config)# ip extcommunity-list
expanded BGPExtComplex deny
1.5:[0-9][0-9]_
Creates an expanded BGP extended community list
using a regular expression.