D-Link DXS-3600-32S CLI Guide - Page 97
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide, EXTCOMMUNITY, VALUE, REGEXP, myecom,
View all D-Link DXS-3600-32S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 97 highlights
EXTCOMMUNITY REGEXP DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide (Optional) Consists of a set of an rt VALUE or a soo VALUE. It can accept 12 VALUEs in total for one entry. There are two different types for the rt values or soo values: • IP address:number: The IP address should be a global IP address that is assigned to the user and the number is assigned from a numbering space that is administered by the user. The number can be 1-65535. • AS number:number: The AS Number should be a public AS Number (Both 2bytes AS number and 4-bytes AS number works) that is assigned to the user and the number is assigned from a numbering space that is administered by the user. The number can be 1-4294967295 for 2-bytes AS number and 1-65535 for 4bytes AS number. (Optional) 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 Usage Guideline BGP extended community exchange is disabled by default. It is enabled on a perneighbor basis with the neighbor send-community command. Global Configuration Mode. Level: 8. (EI Mode Only Command) The extended community attribute is used for implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies through different autonomous systems. All names of the standard extcommunity list and expended extcommunity list must not be the same. This command can be applied multiple times. BGP extended community attributes exchanged between BGP peers are controlled by the neighbor send-community command. If permit rules exist in an extended community list, routes with extended 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 extended community list, all routes will be denied. Use the show ip extcommunity-list command to verify your settings. Example The following example defines a standard extended community list named myecom with an entry. DXS-3600-32S(config)# ip extcommunity-list standard myecom permit rt 1:1 soo 1.1.1.1:1 DXS-3600-32S(config)# Example The following example show how to delete an entry in an extended community list early configured. After that, the community list myecom has no entry, but it still exists. DXS-3600-32S(config)#no ip extcommunity-list standard myecom permit rt 1:1 soo 1.1.1.1:1 DXS-3600-32S(config)# Example The following example show how to delete an extended community list no matter whether it has entries or not. DXS-3600-32S(config)# no ip extcommunity-list standard myecom DXS-3600-32S(config)# Example The following example creates an expanded extended community list named myexpcom with an entry. DXS-3600-32S(config)# ip extcommunity-list expanded myexpcom permit _20[0-9] DXS-3600-32S(config)# 89