Reference Guide
Parameters
• name — Enter the access list name (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 AS path of the route 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 deny and a regexp are specied. 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.
• 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
ip community-list standard deny
Creates a standard community list for BGP to deny access.
Syntax
ip community-list standard name deny {aa:nn | no-advertise | local-AS | no-
export | internet}
Parameters
• name — Enter the name of the standard community list used to identify one more deny groups of
communities.
• aa:nn — Enter the community number in the format aa:nn, where aa is the number that identies the
autonomous system and
nn is a number the identies the community within the autonomous system.
•
no-advertise — Enter the keyword for BGP to not advertise this route to any peer (internal or external).
• local-AS — Enter the keyword for BGP to not advertise this route to external peers.
• no-export — Enter the keyword for BGP to not advertise this route outside a BGP confederation boundary
Access Control Lists 397