Cisco Nexus 7000 Series Configuration Manual page 313

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 11
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 .
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
router bgp autonomous-system-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Step 3
template peer-policy template-name
Example:
switch(config-router)# template
peer-policy BasePolicy
switch(config-router-ptmp)#
Step 4
advertise-active-only
Example:
switch(config-router-ptmp)#
advertise-active-only
Step 5
maximum-prefix number
Example:
switch(config-router-ptmp)#
maximum-prefix 20
Step 6
exit
Example:
switch(config-router-ptmp)# exit
switch(config-router)#
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)#
Step 8
address-family {ipv4 | ipv6}{multicast |
unicast}
Example:
switch(config-router-neighbor)#
address-family ipv4 unicast
switch(config-router-neighbor-af)#
Step 9
inherit peer-policy template-name
preference
Example:
switch(config-router-neighbor-af)#
inherit peer-policy BasePolicy 1
OL-20002-02
Purpose
Enters configuration mode.
Enables BGP and assigns the autonomous system
number to the local BGP speaker.
Creates a peer-policy template.
(Optional) Advertises only active routes to the peer.
(Optional) Sets the maximum number of prefixes
allowed from this peer.
Exits peer-policy template configuration mode.
Places the router in neighbor configuration mode for
BGP routing and configures the neighbor IP address.
Enters global address family configuration mode for
the IPv4 address family.
Applies a peer-policy template to the peer address
family configuration and assigns the preference value
for this peer policy.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Configuring Advanced BGP
11-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents