match as-path

This route map match term matches BGP (Border Gateway Protocol) autonomous system paths against an AS path access list. If you enter a new match as-path term in a route map statement that already has a match as-path term, the AS path list numbers in the new term are added to the existing match term, up to the maximum number of lists in a term. A route is considered a match if it matches any one or more of the AS path access lists the match term refers to.

Format match as-path as-path-list-number
Mode Route Map Configuration
Parameter Description
as-path-list-number An integer from 1 to 500 identifying the AS path access list to use as match criteria.