EasyManua.ls Logo

Cisco Nexus 3000 series - Page 171

Cisco Nexus 3000 series
338 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 nexus3k-docfeedback@cisco.com
6-15
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release5.0(3)U1(1)
Chapter 6 Configuring Advanced BGP
Configuring Advanced BGP
Use the show bgp neighbor command to see the template applied. See the Cisco Nexus 3000 Series
Command Reference,, for details on all commands available in the template.
This example shows how to configure a BGP peer-session template and apply it to a BGP peer:
Step 3
template peer-policy
template-name
Example:
switch(config-router)# template
peer-policy BasePolicy
switch(config-router-ptmp)#
Creates a peer-policy template.
Step 4
advertise-active-only
Example:
switch(config-router-ptmp)#
advertise-active-only
(Optional) Advertises only active routes to the peer.
Step 5
maximum-prefix
number
Example:
switch(config-router-ptmp)#
maximum-prefix 20
(Optional) Sets the maximum number of prefixes
allowed from this peer.
Step 6
exit
Example:
switch(config-router-ptmp)# exit
switch(config-router)#
Exits peer-policy template configuration mode.
Step 7
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 8
address-family ipv4 {multicast |
unicast}
Example:
switch(config-router-neighbor)#
address-family ipv4 unicast
switch(config-router-neighbor-af)#
Enters global address family configuration mode for
the IPv4 address family.
Step 9
inherit peer-policy
template-name
preference
Example:
switch(config-router-neighbor-af)#
inherit peer-policy BasePolicy 1
Applies a peer-policy template to the peer address
family configuration and assigns the preference value
for this peer policy.
Step 10
show bgp peer-policy
template-name
Example:
switch(config-router-neighbor-af)# show
bgp peer-policy BasePolicy
(Optional) Displays the peer-policy template.
Step 11
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 3000 series

Related product manuals