Send document comments to nexus7k-docfeedback@cisco.com.
10-11
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 10 Configuring Basic BGP
Configuring Basic BGP
SUMMARY STEPS
1. config t
2. feature bgp
3. show feature
4. copy running-config startup-config
DETAILED STEPS
Use the no feature bgp command to disable the BGP feature and remove all associated configuration.
Creating a BGP Instance
You can create a BGP instance and assign a router ID to the BGP instance. See the “BGP Router
Identifier” section on page 10-4. Cisco NX-OS supports 2-byte or 4-byte autonomous system (AS)
numbers in plain-text notation or as.dot notation. See the “4-Byte AS Number Support” section on
page 10-2 for more information.
BEFORE YOU BEGIN
Ensure that you have enabled the BGP feature (see the “Enabling the BGP Feature” section on
page 10-10).
BGP must be able to obtain a router ID (for example, a configured loopback address).
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
feature bgp
Example:
switch(config)# feature bgp
Enables the BGP feature.
Step 3
show feature
Example:
switch(config)# show feature
(Optional) Displays enabled and disabled features.
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
no feature bgp
Example:
switch(config)# no feature bgp
Disables the BGP feature and removes all
associated configuration.