API Guide

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]
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.
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.
The no local-as command deletes the local-as configuration.
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
log-neighbor-changes
Enables logging for changes in neighbor status.
Syntax
log-neighbor-changes
Parameters None
Default Enabled
Command Mode ROUTER-BGP
Usage
Information
OS10 saves logs which includes the neighbor operational status and reset reasons. To view the logs, use
the show bgp config command. The no version of this command disables the feature.
NOTE: To configure these settings for a non default VRF instance, you must first enter the
ROUTER-CONFIG-VRF sub mode using the following commands:
1. Enter the ROUTER BGP mode using the router bgp as-number command.
2. From the ROUTER BGP mode, enter the ROUTER BGP VRF mode using the vrf vrf-name
command.
632 Layer 3