D-Link DXS-3600-EM-4QXS CLI Guide - Page 95
ip community-list
View all D-Link DXS-3600-EM-4QXS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide Example This example shows how to delete an entry in an AS path access list, earlier configured. DXS-3600-32S#configure terminal DXS-3600-32S(config)#no ip as-path access-list mylist deny ^65535$ DXS-3600-32S(config)# Example After that, the AS path access list, called 'mylist', has no entry, but it still exists. The following example show how to delete an AS path access list, no matter whether it has entries or not. DXS-3600-32S#configure terminal DXS-3600-32S(config)#no ip as-path access-list mylist DXS-3600-32S(config)# 7-33 ip community-list This command is used to create a community list or add a community list entry to an existing community list. Use the no form of this command to delete the community list or one of its entries. Standard Community Lists: ip community-list standard COMMUNITY-LIST-NAME [{permit | deny} COMMUNITY] no ip community-list standard COMMUNITY-LIST-NAME [{permit | deny} COMMUNITY] Expanded Community Lists: ip community-list expanded COMMUNITY-LIST-NAME [{permit | deny} REGEXP] no ip community-list expanded COMMUNITY-LIST-NAME [{permit | deny} REGEXP] Parameters COMMUNITY-LIST-NAME permit deny COMMUNITY REGEXP Specifies the community list name. It can accept up to 16 characters. The syntax is general string that does not allow space. Specifies the community to accept. Specifies the community to reject. Specifies the community value, which is a 32-bit integer. It can be a user-specified number represented by AA:NN, where AA (AS number) is the upper part of the word and NN (community number, user-specified) is the lower part of the word. It can also be one of the following reserved community values: internet - Specifies that routes are advertised to all peers (internal and external). local-AS - Specifies that routes not to be advertised to external BGP peers. no-advertise - Specifies that routes not to be advertised to other BGP peers. no-export - Specifies that routes not to be advertised outside of the Autonomous System boundary. Specifies to configures a regular expression that is used to specify a pattern to match against an input string. Regular expressions can be used only with expanded community lists. The maximum length is 80 characters. Default Command Mode Command Default Level The BGP community exchange is disabled by default. It is enabled on a perneighbor basis with the neighbor send-community command. The Internet community is applied to all routes or prefixes by default, until any other community value is configured with this command or the set community command. Global Configuration Mode. Level: 8. (EI Mode Only Command) 87