EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 313

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-17
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Configuring Advanced BGP
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
router bgp
autonomous-system-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Enables BGP and assigns the autonomous system
number to the local BGP speaker.
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 | ipv6}{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.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals