Users Guide

Layer 3 Routing Commands 1332
remote-as as-numberThe autonomous system number of the neighbor’s
AS. The range is 1 to 65,535. If the neighbor’s AS number is the same as
the local router and the peer is considered an internal peer. Otherwise, the
peer is an external peer.
Default Configuration
No neighbors are configured by default.
Command Mode
BGP Router Configuration mode
IPv4 Address Family Configuration mode
User Guidelines
Up to 100 neighbors can be configured.
Command History
Introduced in version 6.2.0.1 firmware.
Updated in version 6.3.0.1 firmware.
Example
console(config-router)#neighbor 10.130.14.55 remote-as 10
neighbor remove-private-as
Use the neighbor remove-private-as command to remove private AS numbers
when advertising IPv4 routes to an external peer. To stop removing private AS
numbers, use the no form of this command.
Syntax
neighbor { ip-address | ipv6-address [interface vlan vlan-id]} remove-
private-as [ all replace-as ]
no neighbor { ip-address | ipv6-address [interface vlan vlan-id]} remove-
private-as
ip-address – The neighbor’s IPv4 address.