Address Family Configuration Mode; Neighbor Configuration Mode - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 10
Configuring Basic 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 7 k - d o c f e e d b a c k @ c i s c o . c o m .
BGP supports Virtual Routing and Forwarding (VRF). You can configure BGP within the appropriate
VRF if you are using VRFs in your network. See the
for more information.
The following example shows how to enter VRF configuration mode:
switch(config)# router bgp 64497
switch(config-router)# vrf vrf_A
switch(config-router-vrf)#

Address Family Configuration Mode

You can optionally configure the address families that BGP supports. Use the address-family command
in router configuration mode to configure features for an address family. Use the address-family
command in neighbor configuration mode to configure the specific address family for the neighbor.
You must configure the address families if you are using route redistribution, address aggregation, load
balancing, and other advanced features.
The following example shows how to enter address family configuration mode from the router
configuration mode:
switch(config)# router bgp 64496
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)#
The following example shows how to enter VRF address family configuration mode if you are using
VRFs:
switch(config)# router bgp 64497
switch(config-router)# vrf vrf_A
switch(config-router-vrf)# address-family ipv4 unicast
switch(config-router-vrf-af)#

Neighbor Configuration Mode

Cisco NX-OS provides the neighbor configuration mode to configure BGP peers. You can use neighbor
configuration mode to configure all parameters for a peer.
The following example shows how to enter neighbor configuration mode:
switch(config)# router bgp 64496
switch(config-router)# neighbor 192.0.2.1
switch(config-router-neighbor)#
The following example shows how to enter VRF neighbor configuration mode:
switch(config)# router bgp 64497
switch(config-router)# vrf vrf_A
switch(config-router-vrf)# neighbor 192.0.2.1
switch(config-router-vrf-neighbor)#
OL-20002-02
"Configuring Virtualization" section on page 11-40
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
CLI Configuration Modes
10-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents