DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
88
7-34 ip extcommunity-list
This command is used to create an extended community list or add an extended community entry to an existing
extended community list for VPN route filtering. Use the
no
form of this command to delete the extended community
list or remove one of its entries.
Standard IP Extended Community Lists:
ip extcommunity-list standard
EXTCOMMUNITY-LIST-NAME
[{permit | deny}
EXTCOMMUNITY
]
no ip extcommunity-list standard
EXTCOMMUNITY-LIST-NAME
[{permit | deny}
EXTCOMMUNITY
]
Expanded IP Extended Community Lists:
ip extcommunity-list expanded
EXTCOMMUNITY-LIST-NAME
[{permit | deny}
REGEXP
]
no ip extcommunity-list expanded
EXTCOMMUNITY-LIST-NAME
[{permit | deny}
REGEXP
]
Parameters
Usage Guideline
Use the community-lists to specify BGP community attributes. The community
attribute is used for implementing policy routing. It is an optional, transitive attribute
and facilitates transfer of local policies through different autonomous systems. It
includes community values that are 32 bits long. All names of the standard
community list and expended community list must not be the same.
This command can be applied multiple times. BGP community attributes exchanged
between BGP peers are controlled by the neighbor send-community command.
If the permit rules exist, in a community list, routes with community that does not
match any rule in the list will be denied. If there are no rules or only deny rules to be
configured in the community list, all routes will be denied.
Use the
show ip community-list
command to verify your settings.
Example
This example shows how to define a standard community list named ‘mycom’ with
an entry.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip community-list standard mycom deny no-export 20:30
DXS-3600-32S(config)#
Example
This example shows how to delete an entry in a community list, earlier configured.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#no ip community-list standard mycom deny no-export 20:30
DXS-3600-32S(config)#
Example
After that, the community list ‘mycom’ will have no entry, but it still exists.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#no ip community-list standard mycom
DXS-3600-32S(config)#
Example
This example shows how to create an expanded community list named ‘myexpcom’
with an entry.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip community-list expanded myexpcom permit _20[0-9]
DXS-3600-32S(config)#
EXTCOMMUNITY-LIST-
NAME
Specifies the extended community list-name. It can accept up to 16 characters. The
syntax is general string that does not allow space.
permit
(Optional) Specifies the extended community to accept.
deny
(Optional) Specifies the extended community to reject.
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...