Chapter 6
Configuring Advanced BGP
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
BEFORE YOU BEGIN
Ensure that you have enabled the BGP feature (see the
page
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
router bgp as-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Step 3
address-family ipv4 {unicast |
multicast}
Example:
switch(config-router)# address-family
ipv4 unicast
switch(config-router-af)#
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
Step 5
default-metric value
Example:
switch(config-router-af)# default-metric
33
Step 6
copy running-config startup-config
Example:
switch(config-router-af)# copy
running-config startup-config
5-11).
configure terminal
router bgp as-number
address-family ipv4 {unicast | multicast}
redistribute {direct | {eigrp | ospf | ospfv3 | rip} instance-tag | static} route-map map-name
(Optional) default-metric value
(Optional) copy running-config startup-config
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
"Enabling the BGP Feature" section on
Purpose
Enters configuration mode.
Enters BGP mode and assigns the autonomous system
number to the local BGP speaker.
Enters address family configuration mode.
Redistributes routes from other protocols into BGP.
See the
"Configuring Route Maps" section on
page 11-12
for more information about route maps.
(Optional) Generates a default route into BGP.
(Optional) Saves this configuration change.
Configuring Advanced BGP
6-31