permit (bgp-community-list)
  
    
      Creates and configures a permit community (expanded or standard)
        rule
    
    Supported in the following platforms: 
      
      
        - Service Platforms — NX9500, NX9600
Syntax
      
      permit community [expanded|standard]
      permit community expanded <LINE>
      permit community standard [AA:NN|internet|local-AS|no-advertise|no-export]
    
    Parameters
      
      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 communitylocal-AS – Allows transmission of this route outside the local ASno-advertise – Allows advertisement of this route to any peer (internal or
                    externalno-export – Allows advertisement of this route to external BGP peers (keeping
                    this route within an AS) | 
          
    
    Examples
      
      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-test)#
      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
nx9500-6C8809(config-bgp-community-list-test1)#