Configuring Extended Community Lists - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Route Policy Manager
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
Step 3
show ip community-list name
Example:
switch(config)# show ip community-list
BGPCommunity
Step 4
copy running-config startup-config
Example:
switch# copy running-config
startup-config
The following example shows how to create a community list with two entries:
switch# config t
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

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.
2.
3.
4.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
16-10
config t
ip extcommunity-list standard list-name {deny | permit} generic {transitive | nontransitive}
aa4:nn
or
ip extcommunity-list expanded list-name {deny | permit} generic {transitive | nontransitive}
show ip extcommunity-list name
copy running-config startup-config
Chapter 16
Configuring Route Policy Manager
Purpose
(Optional) Displays information about community
lists.
(Optional) Saves this configuration change.
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents