permit (bgp-community-list)

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

Supported in the following platforms:

  • Wireless Controllers — RFS 4000

  • Service Platforms — NX 95XX, NX 96XX


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


permit community expanded <LINE>
permit community expanded <LINE>
Configures a permit expanded community list entry and associates it with a regular expression to match. The regular expression represents the patterns to match in the community attributes.
  • <LINE> – Provide the regular expression.
permit community standard [AA:NN|internet|local-AS|no-advertise|no-export]
permit community standard [AA:NN|internet| local-AS| no-advertise| no-export] Configures a permit standard community list entry and associates it with a predefined, globally used, known community or community number. The options are:
  • aa:nn - Configures the community number. The first part (aa) represents the AS number. The second part (nn) represents a 2-byte number.
  • internet – Advertises this route to the internet community
  • local-AS – Allows transmission of this route outside the local AS
  • no-advertise – Allows advertisement of this route to any peer (internal or external
  • no-export – Allows advertisement of this route to external BGP peers (keeping this route within an AS)


nx9500-6C8809(config-bgp-community-list-test)#permit community expanded 300
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-test1)#permit community standard no-export
nx9500-6C8809(config-bgp-community-list-test1)#show context
bgp community-list test1
 permit community standard no-export

Related Commands

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