ip large-community-list extended

Configures a BGP Large Community access control list (ACL), specifies the large-community name, and specifies whether to permit or deny traffic, including through the use of a regular expression.

Syntax

ip large-community-list extended large-community-list-name [ seq seq ] { deny | permit } string
no ip large-community-list extended large-community-list-name [ [ seq seq ] { deny | permit } string ]

Command Default

No extended large-community list is configured.

Parameters

large-community-list-name
Specifies an ACL, from 1 through 32 ASCII characters in length.
seq seq-value
Specifies a sequence value. Valid values range from 1 through 65535.
deny
Denies a matching pattern based on a regular expression string.
permit
Permits a matching pattern based on a regular expression string.
string
A regular expression. Range is from 1 through 32 ASCII characters.

Modes

Global configuration mode

Usage Guidelines

Unlike a standard large-community list, this command does accept a regular expression.

The no form of the command removes a configured ACL.

Examples

The following example creates an extended community list.

device# configure terminal
device(config)# ip large-community-list extended lc-acl-ext-1 seq 10 permit _4567*