ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1874
neighbor remote-as This command configures a neighbor and its AS number, identifying the
neighbor as an iBGP or eBGP peer. Use the no form to remove a neighbor.
SYNTAX
neighbor {ip-address | group-name} remote-as as-number
no neighbor {ip-address | group-name} remote-as
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring
routers configured with the neighbor peer-group command.
as-number – Autonomous system number which identifies this
router as a member of the specified domain, and tags routing
messages passed to other BGP routers with this number.
(Range: 1-4294967295)
COMMAND MODE
Router Configuration
DEFAULT SETTING
No neighbors are configured.
COMMAND USAGE
BGP neighbors must be manually configured. A neighbor relationship
can only be established if partners are configured on both sides a
connection.
If the neighbor’s AS number is the same as that of the local router, the
neighbor is an iBGP peer. If it is different, the neighbor is an eBGP peer.
EXAMPLE
Console(config-router)#neighbor 10.1.1.64 remote-as 100
Console(config-router)#
neighbor
remove-private-as
This command removes private autonomous system numbers from
outbound routing updates to an external neighbor. Use the no form to
disable this feature.
SYNTAX
neighbor {ip-address | group-name} remove-private-as
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring
routers configured with the neighbor peer-group command.
COMMAND MODE
Router Configuration