Reference Guide
Supported Releases 10.2.0E or later
ip as-path deny
Denes a BGP access list.
Syntax
ip as-path access-list name deny ASNumber
Parameters
• name — Enter the access list name, from 1 to 140.
• ASNumber — Enter the AS number.
Defaults Not congured
Command Mode CONFIGURATION
Usage Information
You can specify an access list lter on both inbound and outbound BGP routes. Each lter is an access list based
on regular expressions. If the regular expression matches the representation of the route AS path as an ASCII
string, the permit or deny condition applies. The AS path does not contain the local AS number. The no version of
this command removes a single access list entry if you specify deny and a regexp. Otherwise, the entire access
list is removed.
Example
OS10(config)# ip as-path access-list abc deny 123
Supported Release 10.3.0E or later
ip as-path permit
Denes a BGP access-list.
Syntax
ip as-path access-list name permit ASNumber
Parameters
• name — Enter an access-list name, from 1 to 140.
• ASNumber — Enter the AS number.
Defaults Not congured
Command Mode CONFIGURATION
Usage Information
The no version of this command removes the access-list.
Example
OS10(config)# ip as-path access-list abc permit 200
Supported Release 10.3.0E or later
496 Access Control Lists