CLI Guide

Table Of Contents
Layer 3 Routing Commands 1285
Command Mode
BGP Router Configuration mode
User Guidelines
When disabling BGP using no enable, BGP retains its configuration. The no
router bgp command resets all BGP configuration to default values.
When BGP is administratively disabled, BGP sends a NOTIFICATION
message to each peer with a Cease error code.
The no enable command persists in the running-config (and startup-config)
only when a router-id has assigned using the bgp router-id command. If no
router-id has been assigned, the administrative state will not appear in the
running-config or in the startup-config.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)#enable
ip as-path access-list
Use this command to create an AS path access list. To delete an AS path
access list, use the no form of this command.
Syntax
ip as-path access-list as-path-list-number { permit | deny } regexp
no ip as-path access-list as-path-list-number
as-path-list-number—A number from 1 to 500 uniquely identifying the
list. All AS path access list commands with the same as-path-list-number
are considered part of the same list.
permit—Permit routes whose AS Path attribute matches the regular
expression.
deny—Deny routes whose AS Path attribute matches the regular
expression.