Send document comments to nexus7k-docfeedback@cisco.com.
11-35
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Configuring Advanced BGP
Configuring Multiprotocol BGP
You can configure MP-BGP to support multiple address families, including IPv4 and IPv6 unicast and
multicast routes.
BEFORE YOU BEGIN
Ensure that you have enabled the BGP feature (see the “Enabling the BGP Feature” section on
page 10-10).
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. router bgp as-number
3. neighbor ip-address remote-as as-number
4. address-family {ipv4 | ipv6} {unicast | multicast}
5. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
router bgp
as-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Enters BGP mode and assigns the autonomous system
number to the local BGP speaker.
Step 3
neighbor
ip-address
remote-as
as-number
Example:
switch(config-router)# neighbor
192.168.1.2 remote-as 65537
switch(config-router-neighbor)#
Places the router in neighbor configuration mode for
BGP routing and configures the neighbor IP address.
Step 4
address-family {ipv4 | ipv6} {unicast |
multicast}
Example:
switch(config-router-neighbor)#
address-family ipv4 multicast
switch(config-router-neighbor-af)#
Enters address family configuration mode.
Step 5
copy running-config startup-config
Example:
switch(config-router-neighbor-af)# copy
running-config startup-config
(Optional) Saves this configuration change.