Resetting A Bgp Session; Modifying The Next-Hop Address - Cisco Nexus 3000 Series Configuration Manual

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring Advanced BGP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

Resetting a BGP Session

If you modify a route policy for BGP, you must reset the associated BGP peer sessions. If the BGP peers
do not support route refresh, you can configure a soft reconfiguration for inbound policy changes. Cisco
NX-OS automatically attempts a soft reset for the session.
To configure soft reconfiguration inbound, use the following command in neighbor address-family
configuration mode:
Command
soft-reconfiguration inbound
Example:
switch(config-router-neighbor-af)#
soft-reconfiguration inbound
To reset a BGP neighbor session, use the following command in any mode:
Command
clear bgp ip {unicast | multicast}
ip-address soft {in | out}
Example:
switch# clear bgp ip unicast 192.0.2.1
soft in

Modifying the Next-Hop Address

You can modify the next-hop address used in a route advertisement in the following ways:
To modify the next-hop address, use the following parameters in commands address-family
configuration mode:
Command
next-hop-self
Example:
switch(config-router-neighbor-af)#
next-hop-self
next-hop-third-party
Example:
switch(config-router-neighbor-af)#
next-hop-third-party
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
6-20
Disable the next-hop calculation and use the local BGP speaker address as the next-hop address.
Set the next-hop address as a third-party address. Use this feature in situations where the original
next-hop address is on the same subnet as the peer that the route is being sent to. Using this feature
saves an extra hop during forwarding.
Chapter 6
Purpose
Enables soft reconfiguration to store the inbound
BGP route updates. This command triggers an
automatic soft clear or refresh of BGP neighbor
sessions.
Purpose
Resets the BGP session without tearing down the
TCP session.
Purpose
Uses the local BGP speaker address as the next-hop
address in route updates. This command triggers an
automatic soft clear or refresh of BGP neighbor
sessions.
Sets the next-hop address as a third-party address.
Use this command for single-hop EBGP peers that
do not have next-hop-self configured.
Configuring Advanced BGP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents