beautypg.com

Neighbor peer-group, Neighbor remote-as – Enterasys Networks X-Pedition XSR CLI User Manual

Page 295

background image

BGP Configuration Commands

XSR CLI Reference Guide 6-99

neighbor peer-group

This command creates a BGP peer group and assigns a BGP neighbor to a peer group.

Syntax

neighbor {ip-address | peer-group-name} peer-group [peer-group-name]

Syntax of the “no” Form

The no form of this command removes the specifed neighbor peer group:

no neighbor {ip-address | peer-group-name} peer-group [peer-group-name]

Mode

Router configuration: 

XSR(config-router)#

Example

The following example creates peer group ExternalGroup and assigns neighbor 192.168.1.1 to peer 
group ExternalGroup:

XSR(config)#router bgp 100
XSR(config-router)#neighbor ExternalGroup peer-group
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 peer-group ExternalGroup

neighbor remote-as

This command adds an entry to the BGP neighbor table. BGP requires manual neighbor 
configuration. The configuration of neighbors on both of the neighboring BGP routers allows a 
BGP session to be set up between the routers and allows the exchange of BGP update messages.

For external BGP neighbors, the IP address specified is that of the neighbor interface to the shared 
subnet between routers (unless ebgp‐multihop is enabled). For internal BGP neighbors, the 
neighbor IP address is any reachable IP address from the router.

Syntax

neighbor {ip-address | peer-group-name} remote-as autonomous-system

Syntax of the “no” Form

The no form of this command removes the specified entry from the table:

no neighbor {ip-address | peer-group-name} remote-as autonomous-system

ip-address

Neighbor’s IP address.

peer-group-name

BGP peer group by name. Range: 1 to 64 characters.

ip-address

Neighbor’s IP address.

peer-group-name

BGP peer group by name. Range: 1 to 64 characters.

autonomous-system

AS by number, ranging from 1 to 65535.