158
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip community-list
ip community-list
To create a community list entry, use the ip community-list command. To remove the entry, use the no
form of this command.
ip community-list standard list-name {deny | permit} {aa:nn | internet | no-advertise |
no-export}
no ip community-list standard list-name
ip community-list expanded list-name {deny | permit} regexp
no ip community-list expanded list-name
Syntax Description
Command Default Community exchange is not enabled by default.
Command Modes Global configuration mode
standard list-name Configures a named standard community list.
permit Permits access for a matching condition.
deny Denies access for a matching condition.
aa:nn (Optional) Autonomous system number and network number entered in the
4-byte new community format. This value is configured with two 2-byte
numbers separated by a colon. A number from 1 to 65535 can be entered
each 2-byte number. A single community can be entered or multiple
communities can be entered, each separated by a space.
You can pick more than one of these optional community keywords.
internet (Optional) Specifies the Internet community. Routes with this community
are advertised to all peers (internal and external).
You can pick more than one of these optional community keywords.
no-export (Optional) Specifies the no-export community. Routes with this community
are advertised to only peers in the same autonomous system or to only other
subautonomous systems within a confederation. These routes are not
advertised to external peers.
You can pick more than one of these optional community keywords.
no-advertise (Optional) Specifies the no-advertise community. Routes with this
community are not advertised to any peer (internal or external).
You can pick more than one of these optional community keywords.
expanded list-name Configures a named expanded community list.
regexp Regular expression that is used to specify a pattern to match against an input
string.
Note Regular expressions can be used with expanded community lists
only.