Cisco Nexus 7000 Series Configuration Manual page 316

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 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 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
Step 8
timers keepalive hold
Example:
switch(config-router-neighbor)# timers
45 100
Step 9
exit
Example:
switch(config-router-neighbor)# exit
switch(config-router)#
Step 10
neighbor ip-address remote-as as-number
Example:
switch(config-router)# neighbor
192.168.1.2 remote-as 65536
switch(config-router-neighbor)#
Step 11
inherit peer template-name
Example:
switch(config-router-neighbor)# inherit
peer BasePeer
Step 12
timers keepalive hold
Example:
switch(config-router-neighbor)# timers
60 120
Step 13
show bgp peer-template template-name
Example:
switch(config-router-neighbor-af)# show
bgp peer-template BasePeer
Step 14
copy running-config startup-config
Example:
switch(config-router-neighbor-af)# copy
running-config startup-config
Use the show bgp neighbor command to see the template applied. See the Cisco Nexus 7000 Series
NX-OS Unicast Routing Command Reference for details on all commands available in the template.
This example shows how to configure a BGP peer template and apply it to a BGP peer:
switch# config t
switch(config)# router bgp 65536
switch(config-router)# template peer BasePeer
switch(config-router-neighbor)# inherit peer-session BaseSession
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)# inherit peer-policy BasePolicy 1
switch(config-router-neighbor-af)# exit
switch(config-router-neighbor)# exit
switch(config-router)# neighbor 192.168.1.2 remote-as 65536
switch(config-router-neighbor)# inherit peer BasePeer
switch(config-router-neighbor)# copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
11-20
Chapter 11
Purpose
(Optional) Adds the BGP timer values to the peer.
These values override the timer values in the
peer-session template, BaseSession.
Exits BGP peer template configuration mode.
Places the router in neighbor configuration mode for
BGP routing and configures the neighbor IP address.
Inherits the peer template.
(Optional) Adds the BGP timer values to this neighbor.
These values override the timer values in the peer
template and the peer-session template.
(Optional) Displays the peer template.
(Optional) Saves this configuration change.
Configuring Advanced BGP
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents