Users Guide

Table Of Contents
listen
Enables peer listening and sets the prefix range for dynamic peers.
Syntax
listen ip-address [limit count]
Parameters
ip-addressEnter the BGP neighbor IP address.
limit count(Optional) Enter a maximum dynamic peer count, from 1 to 4294967295.
Default Not configured
Command Mode ROUTER-TEMPLATE
Usage
Information
Enables a passive peering session for listening. The no version of this command disables a passive peering
session.
Example
OS10(conf-router-template)# listen 1.1.0.0/16 limit 4
Supported
Releases
10.2.0E or later
local-as
Configures a local AS number for a peer.
Syntax
local-as as-number [no-prepend] [replace-as]
Parameters
as-numberEnter the local AS number, from 1 to 4294967295.
no-prepend(Optional) Enter so that local AS values are not prepended to the AS_PATH attribute.
replace-as(Optional) Enter so that globally configured AS values are not prepended to the
AS_PATH attribute.
Default Disabled
Command Mode ROUTER-NEIGHBOR or ROUTER-TEMPLATE
Usage
Information
Facilitates the BGP network migration operation and allows you to maintain existing AS numbers. The no
version of this command resets the value to the default.
This command is supported only for external BGP (eBGP) autonomous system migration, and it is not
supported for internal BGP (iBGP) autonomous system migration.
After configuring the replace-as option, clear the BGP session.
The no local-as command deletes the local-as configuration. The no local-as no-prepend
command removes both local and globally-configured AS numbers from the AS_PATH attribute and
leaves the local-as local-as configuration intact.
Example
(Neighbor)
OS10(conf-router-bgp-10)# neighbor lunar
OS10(conf-router-neighbor)# local-as 20
Example
(Template)
OS10(conf-router-bgp-10)# template solar
OS10(conf-router-template)# local-as 20
Example
(Replace AS)
OS10(conf-router-bgp-10)# neighbor SJC
OS10(conf-router-template)# local-as 20 no-prepend replace-as
Supported
Releases
10.3.0E or later
858 Layer 3