DGS-6604
m
neighbor remote-as
CLI Reference Guide
449
neighbor remote-as
Use this command to add an entry to the Border Gateway Protocol (BGP)
neighbor table. Use the
no
form of this command to remove an entry from the
table
.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
}
remote-as
AS-NUMBER
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
}
remote-as
AS-NUMBER
Default
Not configured
Command Mode
Router configuration
Usage Guideline
Use this command to add the IP address of the neighbor, in the specified
autonomous system, to the BGP neighbor table of the local router.
Specifying a neighbor with an autonomous system number, that matches the
autonomous system number specified in the router bgp global configuration
command, identifies the neighbor as internal to the local autonomous system.
Otherwise, the neighbor will be considered as external.
When a BGP peer group is specified using the PEER-GROUP-NAME argument,
all the members of the peer group inherit the characteristics configured with this
command.
By default, neighbors that are defined using the neighbor remote-as command in
router configuration mode exchange only unicast address prefixes.
Example
This example shows how to specify a router with the address 10.108.2.1 as a
neighbor in autonomous system number 110:
Verify the settings by entering the
show ip bgp neighbor
command.
Syntax Description
IP-ADDRESS
IP address of the neighbor.
PEER-GROUP-NAME
The Name of a BGP peer group.
AS-NUMBER
The number of autonomous system to which the neighbor belongs. Range for 2-
byte numbers is 1 to 65535. Range for 4-byte numbers is 65536 to 4294967295
or 1.0 to 65535*65535.
Switch(config)# router bgp 65100
Switch(config-router)# network 10.108.0.0
Switch(config-router)# neighbor 10.108.2.1 remote-as 110
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...