Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
6-32
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 6 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 5-11).
SUMMARY STEPS
1. configure terminal
2. router bgp as-number
3. address-family ipv4 {unicast | multicast}
4. redistribute {direct | {eigrp | ospf | ospfv3 | rip} instance-tag | static} route-map map-name
5. (Optional) default-metric value
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
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
address-family ipv4 {unicast |
multicast}
Example:
switch(config-router)# address-family
ipv4 unicast
switch(config-router-af)#
Enters address family configuration mode.
Step 4
redistribute {direct | {eigrp | ospf |
ospfv3 | rip} instance-tag | static}
route-map map-name
Example:
switch(config-router-af)# redistribute
eigrp 201 route-map Eigrpmap
Redistributes routes from other protocols into BGP.
See the “Configuring Route Maps” section on
page 13-12 for more information about route maps.
Step 5
default-metric value
Example:
switch(config-router-af)# default-metric
33
(Optional) Generates a default route into BGP.
Step 6
copy running-config startup-config
Example:
switch(config-router-af)# copy
running-config startup-config
(Optional) Saves this configuration change.