beautypg.com

Neighbor ebgp-multihop, Neighbor filter-list – Enterasys Networks X-Pedition XSR CLI User Manual

Page 291

background image

BGP Configuration Commands

XSR CLI Reference Guide 6-95

neighbor ebgp-multihop

This command connects the BGP neighbors on networks that are not directly‐connected to the 
network of the router that this command is entered on. Before entering this command, a neighbor 
or peer group must be identified by means of the 

neighbor remote-as

or 

neighbor peer-group

 

command.

Syntax

neighbor {ip-address | peer-group-name} ebgp-multihop

Syntax of the “no” Form

The no form of this command removes the specified neighbor:

no neighbor {ip-address | peer-group-name} ebgp-multihop

Mode

Router configuration: 

XSR(config-router)#

Default

Not enabled

Example

The following example allows connections to or from neighbor 192.168.1.1, which resides on a 
network that is not directly connected:

XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 ebgp-multihop

neighbor filter-list

This command sets up a BGP filter based on AS path. Before entering this command, a neighbor or 
peer group must be identified by means of the 

neighbor remote-as

 or 

neighbor peer-group

 

command. Also, the AS path‐based access list must be configured.

Syntax

neighbor {ip-address | peer-group-name} filter-list filter-list {in | out | weight
value}

ip-address

Neighbor’s IP address.

peer-group-name

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

Note: Perform a clear ip bgp neighbor whenever this command is changed.

ip-address

Neighbor’s IP address.