permit (bgp-ext-community-list)

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

Supported in the following platforms:

Syntax

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

Parameters

permit extcommunity expanded <LINE>
permit extcommunity expanded <LINE> Configures a permit 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.
permit extcommunity standard [rt|soo] <COMMUNITY-NUMBER>
permit extcommunity standard [rt|soo] <COMMUNITY-NUMBER> Configures a permit standard named extended community list entry. and associates it with the target or origin community attributes.
  • rt – Configures the RT extended community attribute
    • soo – Configures the SOO 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)#permit extcommunity standard rt 300:03
nx9500-6C8809(config-bgp-extcommunity-list-test)#show context
bgp extcommunity-list test
 permit extcommunity standard rt 300:03
 deny extcommunity standard rt 200:12
nx9500-6C8809(config-bgp-extcommunity-list-test)#

Related Commands

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