match large-community

Filters routes by BGP Large Community attributes, using a partial or exact match with Large Community ACLs.

Syntax

match large-community name [exact-match]
no match large-community name

Command Default

No matching is configured.

Parameters

name
Name of a large community access list. The format is from 1 through 32 ASCII characters.
exact-match
Filters routes by using an exact match.

Modes

Route-map configuration mode

Usage Guidelines

Use the no form of this command to disable matching based on a large-community list.

A maximum of five Large Community ACLs can be configured to do a partial or exact match.

Examples

The following example shows how to configure matching based on a large-community access list named ABCPath for a route map named myroutes.

device# config terminal
device(config)# route-map myroutes permit 10
device(config-route-map myroutes/permit/10)# match large-community ABCPath

The following example shows how to configure matching based on a large-community access list named lcstdacl1 with an exact match for a route map named myroutes.

device# config terminal
device(config)# route-map myroutes permit 10
device(config-route-map myroutes/permit/10)# match large-community lcstdacl1 exact-match