Neighbor Address Family Configuration Mode; Configuring Basic Bgp; Enabling The Bgp Feature - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

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 .

Neighbor Address Family Configuration Mode

You must configure the address family for a BGP peer. An address family configuration submode inside
the neighbor configuration submode is available for entering address family-specific neighbor
configuration and enabling the address family for the neighbor. Use this mode for advanced features such
as limiting the number of prefixes allowed for this neighbor and removing private AS numbers for eBGP.
The following example shows how to enter neighbor address family configuration mode:
switch(config)# router bgp 64496
switch(config-router# neighbor 192.0.2.1
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)#
The following example shows how to enter VRF neighbor address family configuration mode:
switch(config)# router bgp 64497
switch(config-router)# vrf vrf_A
switch(config-router-vrf)# neighbor 209.165.201.1
switch(config-router-vrf-neighbor)# address-family ipv4 unicast
switch(config-router-vrf-neighbor-af)#
Configuring Basic BGP
To configure a basic BGP, you need to enable BGP and configure a BGP peer. Configuring a basic BGP
network consists of a few required tasks and many optional tasks. You must configure a BGP routing
process and BGP peers.
This section includes the following topics:
If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature
Note
might differ from the Cisco IOS commands that you would use.

Enabling the BGP Feature

You must enable the BGP feature before you can configure BGP.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
10-10
Enabling the BGP Feature, page 10-10
Creating a BGP Instance, page 10-11
Restarting a BGP Instance, page 10-13
Shutting Down BGP, page 10-13
Configuring BGP Peers, page 10-14
Configuring Dynamic AS Numbers for Prefix Peers, page 10-16
Clearing BGP Information, page 10-18
Chapter 10
Configuring Basic BGP
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents