ip as-path access-list

Syntax

ip as-path access-list accessListName { permit | deny } pathExpression

no ip as-path access-list accessListName [ { permit | deny } pathExpression ]

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Defines a BGP-related access list. You can specify an access list filter on both inbound and outbound BGP routes. Each filter is an access list based on regular expressions. If the regular expression matches the representation of the AS path of the route as an ASCII string, then the permit or deny condition applies. The AS path does not contain the local AS number. The no version removes a single access list entry if permit or deny and a pathExpression are specified. Otherwise, the entire access list is removed.

Options

Mode

Global Configuration

Related Documentation