Neighbor next-hop-self – Enterasys Networks X-Pedition XSR CLI User Manual

Page 293

Advertising
background image

BGP Configuration Commands

XSR CLI Reference Guide 6-97

Syntax of the “no” Form

The no form of this command removes the specified neighbor:

no neighbor {ip-address | peer-group-name} maximum-prefix value [threshold]
[warning-only]

Mode

Router configuration: 

XSR(config-router)#

Defaults

No restriction on the number of prefixes.

Threshold: 75 prefixes

Example

The following example sets the maximum number of prefixes allowed from the neighbor at 
192.168.1.1 to 10000:

XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 maximum-prefix 10000

neighbor next-hop-self

This command disables automatic next‐hop selection. Updates meant for the specified system or 
peer group are forced to advertise this router as the next hop.

Syntax

neighbor {ip-address | peer-group-name} next-hop-self

Syntax of the “no” Form

The no form of this command returns to the default value:

no neighbor {ip-address | peer-group-name} next-hop-self

Mode

Router configuration:

XSR(config-router)#

Default

Next hop selection is performed automatically by BGP.

ip-address

Neighbor’s IP address.

peer-group-name

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

Advertising