ip extcommunity-list

Configures a BGP extended community filter.

Syntax

ip extcommunity-list number { deny | permit [ rt value | soo value ] reg-expr }
no ip extcommunity-list number

Command Default

No BGP extended community filter is set.

Parameters

number
Specifies an extended community list Instance number. Range is from 0 through 99 for a standard list (RT- or SOO-based), and from 100 through 500 for an expanded list (regular-expression-based).
deny
Denies access for a matching condition.
permit
Permits access for a matching condition.
rt
Specifies the route target (RT) extended community.
value
This value can be one of the following formats:
  • autonomous-system-number : network-number
  • ip-address : network-number
soo
Specifies the site of origin (SOO) extended community.
value
This value can be one of the following formats:
  • autonomous-system-number : network-number
  • ip-address : network-number
reg-expr
Specifies a regular expression. For more information, see the "BGP4 Regular Expression Pattern-matching" topic in the Extreme SLX-OS Layer 3 Routing Configuration Guide.

Modes

Global configuration mode

Usage Guidelines

Use the no form of this command to delete a BGP extended community list.

Examples

The following example specifies a standard extended community list, permits a route target, and denies a site of origin.

device# configure terminal
device(config)# ip extcommunity-list 99 permit rt 123:2
device(config)# ip extcommunity-list 99 deny soo 124:1

The following example specifies an expanded extended community list and permits a regular expression.

device# configure terminal
device(config)# ip extcommunity-list 101 permit 100:*

The following example deletes an extended community list.

device# configure terminal
device(config)# no ip extcommunity-list 101