59 neighbor next-hop-self, Neighbor next, Self – PLANET XGS3-24040 User Manual

Page 541

Advertising
background image


35-254

Parameter: <ip-address>: Neighbor IP address.

<TAG>: Name of the peer.

<1-4294967295>: Max prefix value allowed.

<1-100>: Percentage of the max value at which it warns.

<warning-only>: Warning only or not.

Default: Not limited.

Command Mode: BGP route mode and address-family mode

Usage Guide: Due to concerns of too much route updates from neighbors (e.g. attack), the max number

of prefix acquired from a neighbor is limited, and will warns when the number hits certain rate. If the

warning-only option is set, then there will be warning only, if not, the connection to the neighbor will be cut

till clear the records with clear ip bgp command.

Example:

Switch(config-router)#neighbor 10.1.1.64 maximum-prefix 12 50

In above configuration, it warns when the number of route prefix reaches 6, and the connection will be cut

when the number hit 13.

35.59 neighbor next-hop-self

Command: neighbor {<ip-address>|<TAG>} next-hop-self

no neighbor {<ip-address>|<TAG>} next-hop-self

Function: Ask the neighbor to point the route nexthop sent by the local side to local side. The “no

neighbor {<ip-address>|<TAG>} next-hop-self” command cancels this configuration.

Parameter: <ip-address>: Neighbor IP address.

<TAG>: Name of peer group.

Default: Not configured by default.

Command Mode: BGP route mode and address-family mode

Usage Guide: In the EBGP environment, the nexthop will automatically point to the source neighbor.

However in IBGP environment, the nexthop remains the same for route in the same segment. If it is not

broadcast network, errors will be encountered. This command is for force self as the nexthop of the

neighbor under IBGP.

Example:

Switch(config-router)#neighbor 10.1.1.66 next-hop-self

Advertising