D-Link DXS-3600-16S CLI Guide - Page 96
ip extcommunity-list
View all D-Link DXS-3600-16S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 96 highlights
Usage Guideline DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide 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)# 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 EXTCOMMUNITY-LISTNAME permit deny Specifies the extended community list-name. It can accept up to 16 characters. The syntax is general string that does not allow space. (Optional) Specifies the extended community to accept. (Optional) Specifies the extended community to reject. 88