Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 923 –
â—† Use this command to specify all of the routers within an autonomous system
used to exchange interior or exterior BGP routing messages. Repeat this
process for any other autonomous system under your administrative control to
create a distributed routing core for the exchange of routing information
between autonomous systems.
Example
Console(config)#router bgp 100
Console(config-router)#
Related Commands
network (939)
ip as-path access-list This command configures an autonomous system path access list. Use the no form
with only the access list name to disable its use, or with all parameters to remove a
path attribute from the access list.
Syntax
ip as-path access-list access-list-name {deny | permit} regular-expression
no ip as-path access-list access-list-name [{deny | permit} regular-expression]
access-list-name – Name of the access list. (Maximum length: 16 characters,
no spaces or other special characters)
deny – Permits access for messages with matching path attribute.
permit – Denies access to messages with matching path attribute.
regular-expression – Autonomous system in the access list expressed as a
regular expression
12
.
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.
12. Syntax complies with the IEEE POSIX Basic Regular Expressions (BRE) standard.