EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 316

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
11-20
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Configuring Advanced BGP
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
Step 8
timers
keepalive hold
Example:
switch(config-router-neighbor)# timers
45 100
(Optional) Adds the BGP timer values to the peer.
These values override the timer values in the
peer-session template, BaseSession.
Step 9
exit
Example:
switch(config-router-neighbor)# exit
switch(config-router)#
Exits BGP peer template configuration mode.
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)#
Places the router in neighbor configuration mode for
BGP routing and configures the neighbor IP address.
Step 11
inherit peer
template-name
Example:
switch(config-router-neighbor)# inherit
peer BasePeer
Inherits the peer template.
Step 12
timers
keepalive hold
Example:
switch(config-router-neighbor)# timers
60 120
(Optional) Adds the BGP timer values to this neighbor.
These values override the timer values in the peer
template and the peer-session template.
Step 13
show bgp peer-template
template-name
Example:
switch(config-router-neighbor-af)# show
bgp peer-template BasePeer
(Optional) Displays the peer template.
Step 14
copy running-config startup-config
Example:
switch(config-router-neighbor-af)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals