Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    match community

    Syntax

    match community listName [ listName ]* [ exact-match ]

    no match community [ listName ]* [ exact-match ]

    Release Information

    Command introduced before JunosE Release 7.1.0. match distance

    Description

    Matches a BGP community 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—String of up to 32 characters that designates a community list; you can optionally use a regular expression to specify the listName
    • exact-match—Limits the match to a route that contains only the communities contained in the specified list; cannot be used with a community list specified by a regular expression
    • *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

    Mode

    Policy List Configuration, Route Map Configuration

    Published: 2014-08-14