# match as-path

#### Syntax

match as-path listName [ listName ]*

no match as-path [ listName ]*

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Matches a BGP AS path access 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 an AS path access list; string of up to 32 characters
- *—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