Chapter 50
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1087 –
Command Mode
Global Configuration
Default Setting
No AS path access lists are defined.
Command Usage
â—† If the regular expression in an AS path list is matched, then the
deny/permit condition is applied to the routing message.
â—† Use this command in conjunction with the neighbor filter-list command to
filter route updates sent to or received from a neighbor, or with the match as-
path route map command to implement a more comprehensive filter for
policy-based routing.
Example
The regular expression in this example uses symbols which instruct the filter to
match the character or null string at the beginning and end of an input string.
Console(config-router)#ip as-path access-list RD deny ^100$
Console(config-router)#
Related Commands
neighbor filter-list (1121)
match as-path (1157)
ip community-list This command configures a community access list. Use the no form with only the
access list name to disable its use, or with all parameters to remove a community
attribute from the access list.
Syntax
[no] ip community-list
{1-99 | standard community-list-name {deny | permit}
[AA:NN] [internet] [local-as] [no-advertise] [no-export]} | {100-500 |
expanded community-list-name {deny | permit} regular-expression}
1-99 – Standard community list number that identifies one or more groups
of communities.
standard community-list-name – Name of standard access list. A maximum
of 16 communities can be configured in a standard community list
(Maximum length: 32 characters, no spaces or other special characters)
deny – Denies access to messages with matching community attribute.
permit – Permits access for messages with matching community attribute.
AA:NN – Standard community-number to deny or permit. The 4-byte
community number is composed of a 2-byte autonomous system number