EasyManua.ls Logo

Cisco Nexus 3548

Cisco Nexus 3548
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
160
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
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:
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.
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 Description
feature bgp Enables BGP.
match community Matches an community in a route map.
send-community Configures BGP to propagate community attributes to BGP peers.
set community Sets a community in a route map.

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals