EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 285

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
10-15
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 10 Configuring Basic BGP
Configuring Basic BGP
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
router bgp
autonomous-system-number
Example:
switch(config)# router bgp 64496
switch(config-router)#
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.
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)#
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.
Step 4
description
text
Example:
switch(config-router-neighbor)#
description Peer Router B
switch(config-router-neighbor)#
(Optional) Adds a description for the neighbor. The
description is an alphanumeric string up to 80
characters .
Step 5
timers
keepalive-time hold-time
Example:
switch(config-router-neighbor)# timers
30 90
(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.
Step 6
shutdown
Example:
switch(config-router-neighbor)# shutdown
(Optional). Administratively shuts down this BGP
neighbor. This command triggers an automatic
notification and session reset for the BGP neighbor
sessions.
Step 7
address-family {ipv4 | ipv6}{unicast |
multicast}
Example:
switch(config-router-neighbor)#
address-family ipv4 unicast
switch(config-router-neighbor-af)#
Enters neighbor address family configuration mode for
the unicast IPv4 address family.
Step 8
show bgp {ipv4 | ipv6}{unicast |
multicast} neighbors
Example:
switch(config-router-neighbor-af)# show
bgp ipv4 unicast neighbors
(Optional) Displays information about BGP peers.
Step 9
copy running-config startup-config
Example:
switch(config-router-neighbor-af) copy
running-config startup-config
(Optional) Saves this configuration change.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals