Cisco Nexus 7000 Series Configuration Manual page 285

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 .
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
router bgp autonomous-system-number
Example:
switch(config)# router bgp 64496
switch(config-router)#
Step 3
neighbor { ip-address | ipv6-address }
remote-as as-number
Example:
switch(config-router)# neighbor
209.165.201.1 remote-as 64497
switch(config-router-neighbor)#
Step 4
description text
Example:
switch(config-router-neighbor)#
description Peer Router B
switch(config-router-neighbor)#
Step 5
timers keepalive-time hold-time
Example:
switch(config-router-neighbor)# timers
30 90
Step 6
shutdown
Example:
switch(config-router-neighbor)# shutdown
Step 7
address-family {ipv4 | ipv6}{unicast |
multicast}
Example:
switch(config-router-neighbor)#
address-family ipv4 unicast
switch(config-router-neighbor-af)#
Step 8
show bgp {ipv4 | ipv6}{unicast |
multicast} neighbors
Example:
switch(config-router-neighbor-af)# show
bgp ipv4 unicast neighbors
Step 9
copy running-config startup-config
Example:
switch(config-router-neighbor-af) copy
running-config startup-config
OL-20002-02
Purpose
Enters configuration mode.
Enables BGP and assigns the AS number to the local
BGP speaker. The AS number can be a 16-bit integer
or a 32-bit integer in the form of a higher 16-bit
decimal number and a lower 16-bit decimal numbe in
xx.xx format.
Configures the IPv4 or IPv6 address and AS number
for a remote BGP peer. The ip-address format is
x.x.x.x. The ipv6-address format is A:B::C:D.
(Optional) Adds a description for the neighbor. The
description is an alphanumeric string up to 80
characters .
(Optional) Adds the keepalive and hold time BGP
timer values for the neighbor. The range is from 0 to
3600 seconds. The default is 60 seconds for the
keepalive time and 180 seconds for the hold time.
(Optional). Administratively shuts down this BGP
neighbor. This command triggers an automatic
notification and session reset for the BGP neighbor
sessions.
Enters neighbor address family configuration mode for
the unicast IPv4 address family.
(Optional) Displays information about BGP peers.
(Optional) Saves this configuration change.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Configuring Basic BGP
10-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents