deny (bgp-ext-community-list)

Creates and configures a deny extended community (expanded or standard) rule

Supported in the following platforms:

Syntax

deny extcommunity [expanded|standard]
deny extcommunity expanded <LINE>
deny extcommunity standard [rt|soo] <COMMUNITY-NUMBER>

Parameters

deny extcommunity expanded <LINE>
deny extcommunity expanded <LINE> Configures a deny expanded named extended community list entry and associates it with a regular expression to match. The regular expression represents the patterns to match in the extended community attributes.
  • <LINE> – Provide the regular expression.
deny extcommunity standard [rt|soo] <COMMUNITY-NUMBER>
deny extcommunity standard [rt|soo] <COMMUNITY-NUMBER> Configures a deny standard named extended community list entry. and associates it with the target or origin community attributes.
  • rt – Configures the RT (route target) extended community attribute
    • soo – Configures the SOO (site-of-origin) extended community attribute
      • <COMMUNITY-NUMBER> – Specify the community number in one of the following formats: AA:NN or A.B.C.D:NN

Examples

nx9500-6C8809(config-bgp-extcommunity-list-test)#deny extcommunity standard rt 200:12
nx9500-6C8809(config-bgp-extcommunity-list-test)#show context
bgp extcommunity-list test
 deny extcommunity standard rt 200:12
nx9500-6C8809(config-bgp-extcommunity-list-test)#


    

Related Commands

no (bgp-ext-community-list) Removes the specified deny extended community rule from this extcommunity list