no (bgp-community-list)

Removes a deny or permit community rule from this community list

Supported in the following platforms:

Syntax

no [deny|permit] community expanded <LINE>
no [deny|permit] community standard [AA:NN|internet|local-AS|no-advertise|no-export]

Parameters

no <PARAMETERS>
no <PARAMETERS> Removes a deny or permit expanded community rule from this community list
  • <LINE> – Specify the regular expression associated with the rule.

Examples

The following example shows the settings of the community list ‘test‘ before the ‘no‘ command is executed:

nx9500-6C8809(config-bgp-community-list-test)#show context
bgp community-list test
 permit community expanded 300
 deny community expanded 100
nx9500-6C8809(config-bgp-community-list-test)#
nx9500-6C8809(config-bgp-community-list-test)#no deny community expanded 100

The following example shows the settings of the community list ‘test‘ after the ‘no‘ command is executed:

nx9500-6C8809(config-bgp-community-list-test)#show context
bgp community-list test
 permit community expanded 300
nx9500-6C8809(config-bgp-community-list-test)#