Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
13-10
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
2. ip community-list standard list-name {deny | permit} [community-list ] [internet] [local-AS]
[no-advertise] [no-export]
or
ip community-list expanded list-name {deny | permit} expression
3. (Optional) show ip community-list name
4. (Optional) copy running-config startup-config
DETAILED STEPS
This example shows how to create a community list with two entries:
switch# configure terminal
switch(config)# ip community-list standard BGPCommunity permit no-advertise 65536:20
switch(config)# ip community-list standard BGPCommunity permit local-AS no-export
switch(config)# copy running-config startup-config
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
ip community-list standard list-name
{deny | permit} [community-list]
[internet] [local-AS] [no-advertise]
[no-export]
Example:
switch(config)# ip community-list
standard BGPCommunity permit
no-advertise 65536:20
Creates a standard BGP community list. The list-name
can be any case-sensitive, alphanumeric string up to 63
characters. The community-list can be one or more
communities in the aa:nn format.
ip community-list expanded list-name
{deny | permit} expression
Example:
switch(config)# ip community-list
expanded BGPComplex deny
50000:[0-9][0-9]_
Creates an expanded BGP community list using a
regular expression.
Step 3
show ip community-list name
Example:
switch(config)# show ip community-list
BGPCommunity
(Optional) Displays information about community
lists.
Step 4
copy running-config startup-config
Example:
switch# copy running-config
startup-config
(Optional) Saves this configuration change.