Send document comments to nexus7k-docfeedback@cisco.com.
11-41
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Configuring Advanced BGP
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. vrf context vrf-name
3. exit
4. router bgp as-number
5. vrf vrf-name
6. neighbor ip-address remote-as as-number
7. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
vrf context
vrf-name
Example:
switch(config)# vrf context
RemoteOfficeVRF
switch(config-vrf)#
Creates a new VRF and enters VRF configuration
mode.
Step 3
exit
Example:
switch(config-vrf)# exit
switch(config)#
Exits VRF configuration mode.
Step 4
router bgp
as-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Creates a new BGP process with the configured
autonomous system number.
Step 5
vrf
vrf-name
Example:
switch(config-router)# vrf
RemoteOfficeVRF
switch(config-router-vrf)#
Enters the router VRF configuration mode and
associates this BGP instance with a VRF.