Send document comments to nexus3k-docfeedback@cisco.com
6-25
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release5.0(3)U1(1)
Chapter 6 Configuring Advanced BGP
Configuring Advanced BGP
DETAILED STEPS
Command or Action Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
router bgp
as-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Enters BGP mode and assigns the autonomous system
number to the local BGP speaker.
Step 3
cluster-id
cluster-id
Example:
switch(config-router)# cluster-id
192.0.2.1
Configures the local router as one of the route reflectors
that serve the cluster. You specify a cluster ID to identify
the cluster. This command triggers an automatic soft
clear or refresh of BGP neighbor sessions.
Step 4
address-family ipv4 {unicast |
multicast}
Example:
switch(config-router)# address-family
ipv4 unicast
switch(config-router-af)#
Enters router address family configuration mode for the
specified address family.
Step 5
client-to-client reflection
Example:
switch(config-router-af)#
client-to-client reflection
(Optional) Configures client-to-client route reflection.
This feature is enabled by default. This command triggers
an automatic soft clear or refresh of BGP neighbor
sessions.
Step 6
exit
Example:
switch(config-router-neighbor)# exit
switch(config-router)#
Exits router address configuration mode.
Step 7
neighbor
ip-address
remote-as
as-number
Example:
switch(config-router)# neighbor
192.0.2.10 remote-as 65536
switch(config-router-neighbor)#
Configures the IP address and AS number for a remote
BGP peer.
Step 8
address-family ipv4 {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 9
route-reflector-client
Example:
switch(config-router-neighbor-af)#
route-reflector-client
Configures the switch as a BGP route reflector and
configures the neighbor as its client. This command
triggers an automatic notification and session reset for
the BGP neighbor sessions.