56 neighbor next-hop-self – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 315

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 315 of 855

Command Mode

Router mode and Address Family mode

Usage

The neighbor maximum-prefix command allows the configuration of a specified number of prefixes that a BGP
router is allowed to receive from a neighbor. When the warning-only option is not used, if any extra prefixes
are received, the router ends the peering. A terminated peer, stays down until the clear ip bgp command is
used.

Examples

Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 10.10.0.72 maximum-prefix 1244 warning-only

16.56 neighbor next-hop-self

Use this command to configure the router as the next hop for a BGP-speaking neighbor or peer group.
Use the no parameter with this command to disable this feature.

Command Syntax

(no) neighbor NEIGHBORID next-hop-self
NEIGHBORID = A.B.C.D|X:X::X:X|TAG
A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.
X:X::X:X Specifies the address of the BGP neighbor in IPv6 format.

TAG Name of an existing peer-group. For information on how to create peer groups, refer to the
neighbor peer-group and neighbor remote-as commands. When this parameter is used with a
command, the command applies on all peers in the specified group.

Command Mode

Router mode and Address Family mode

Usage

This command allows a BGP router to change the nexthop information that is sent to the iBGP peer. The
nexthop information is set to the IP address of the interface used to communicate with the neighbor.

Examples

Switch# configure terminal
Switch(config)# router bgp 10
Switch(config-router)# neighbor 10.10.0.72 remote-as 100
Switch(config-router)# neighbor 10.10.0.72 next-hop-self

Advertising