ip large-community-list standard

Configures a BGP Large-Community access control list (ACL), specifies the large-community number or type, and whether to permit or deny traffic.

Syntax

ip large-community-list standard large-community-list-name [ seq seq-value ] { deny | permit } ADMIN:OPER1:OPER2
no ip large-community-list standard large-community-list-name [ [ seq seq-value ]{deny | permit } ADMIN:OPER1:OPER2 ]

Command Default

No large-community ACL is configured.

Parameters

large-community-list-name
Range is from 1 through 32 ASCII characters.
deny
Denies a matching pattern based on a large community pattern specified in the list.
permit
Permits a matching pattern based on a large community pattern specified in the list.
seq seq-value
Specifies a sequence value. Valid values range from 1 through 65535.
ADMIN
A four-octet namespace identifier for a BGP Large-Communities Global Administrator.
OPER1
A four-octet operator-defined value for BGP Large-Communities Local Data Part 1.
OPER2
A four-octet operator-defined value for BGP Large-Communities Local Data Part 2.

Modes

Global configuration mode

Usage Guidelines

Use the no form of this command to remove the BGP Large-Community ACL.

A standard large-community list does not accept a regular expression.

There are two ways to delete a filter from the list. The first is by using the sequence number parameter no ip large-community-list standard large-community-list-name seq seq-value. The second is by executing the syntax no ip large-community-list standard large-community-list-name , resulting in all filters within the large-community list container, being removed from the configuration database.

Examples

The following example creates a standard large-community list.

device# configure terminal
device(config)# ip large-community-list standard lc-acl-1 seq 10 permit 64497:1:528