Reference Guide

Table Of Contents
Parameters
name Enter an access list name.
deny | permit Reject or accept a matching route.
regexp-string Enter a regular expression string to match an AS-path route attribute.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
You can specify an access-list filter on inbound and outbound BGP routes. The ACL filter consists of
regular expressions. If a regular expression matches an AS path attribute in a BGP route, the route
is rejected or accepted. 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.
The question mark (?) character is not supported in the regular expressions. All other special
characters are supported. When you are using backslash(\) or double quotes () in the regular
expression, precede these characters with backslash(\). For example, enter \\ or \.
Example
OS10(config)# ip as-path access-list abc deny 123
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 identifies
the autonomous system and nn is a number the identifies the community within the autonomous
system.
no-advertise Enter the keyword for BGP to not advertise this route to any internal or external
peer.
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.
internet Enter the keyword for an Internet community.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of this command removes the community list.
Example
OS10(config)# ip community-list standard STD_LIST deny local-AS
Supported
Release
10.3.0E or later
ip communitylist standard permit
Creates a standard community list for BGP to permit access.
Syntax
ip community-list standard name permit {aa:nn | no-advertise | local-as |
no-export | internet}
Access Control Lists 583