Cisco Nexus 3548 Command Reference Manual page 180

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

ip community-list
This example shows how to configure a logical AND condition; all community values must match in
order for the list to be processed:
switch# configure terminal
switch(config)# ip community-list standard test1 permit 65534:40 65412:60 no-export
switch(config)#
In the above example, a standard community list is configured that permits routes from the following:
This example shows how to configure a standard community list that denies routes that carry
communities from network 40 in autonomous system 65534 and from network 60 in autonomous system
65412. This example shows a logical AND condition; all community values must match in order for the
list to be processed.
switch# configure terminal
switch(config)# ip community-list standard test2 deny 65534:40 65412:60
switch(config)#
This example shows how to configure a named standard community list that permits routes from network
20 in autonomous system 40000.
switch# configure terminal
switch(config)# ip community-list standard RED permit 40000:20
switch(config)#
This example shows how to configure an expanded community list that denies routes that carry
communities from any private autonomous system:
switch# configure terminal
switch(config)# ip community-list expanded 500 deny
_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_
switch(config)#
This example shows how to configure a named expanded community list that denies routes from network
1 through 99 in autonomous system 50000:
switch# configure terminal
switch(config)# ip community-list list expanded BLUE deny 50000:[0-9][0-9]_
switch(config)#
Related Commands
Command
feature bgp
match community
send-community
set community
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
160
Network 40 in autonomous system 65534 and from network 60 in autonomous system 65412.
Peers in the same autonomous system or from subautonomous system peers in the same
confederation.
Description
Enables BGP.
Matches an community in a route map.
Configures BGP to propagate community attributes to BGP peers.
Sets a community in a route map.
Chapter
Unicast Routing Commands
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents