# match extcommunity

#### Syntax

match extcommunity listName [ listName ]* [ exact-match ]

no match extcommunity [ listName ]*

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Matches a BGP extcommunity list. The no version removes the match clause from a route map unless you specify a value, in which case only that value is removed from the match clause.

#### Options

- listName—Name of the extended-community list
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line
- exact-match—Limits the match to a route that contains only the extended communities contained in the specified list; cannot be used with an extended community list specified by a regular expression

#### Mode

Policy List Configuration, Route Map Configuration