Cisco Systems 310 Switch User Manual


  Open as PDF
of 1216
 
38-54
Cisco Catalyst Switch Module 3110 and 3012 for IBM BladeCenter Software Configuration Guide
OL-12189-01
Chapter 38 Configuring IP Unicast Routing
Configuring BGP
Beginning in privileged EXEC mode, follow these steps to enable BGP routing, establish a BGP routing
process, and specify a neighbor:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip routing Enable IP routing (required only if IP routing is disabled).
Step 3
router bgp autonomous-system Enable a BGP routing process, assign it an
autonomous-system number, and enter router configuration
mode. The autonomous-system number can be from 1 to
65535, with 64512 to 65535 designated as private autonomous
numbers.
Step 4
network network-number [mask network-mask]
[route-map route-map-name]
Configure a network as local to this autonomous system, and
enter it in the BGP table.
Step 5
neighbor {ip-address | peer-group-name}
remote-as number
Add an entry to the BGP neighbor table specifying that the
neighbor identified by the IP address belongs to the specified
autonomous system.
EBGP neighbors are usually directly connected, and the IP
address is the interface address at the other end of the
connection.
For IBGP, the IP address can be the address of any of the router
interfaces.
Step 6
neighbor {ip-address | peer-group-name}
remove-private-as
(Optional) Remove private autonomous-system numbers from
the autonomous-system path in outbound routing updates.
Step 7
no synchronization (Optional) Disable synchronization between BGP and an IGP.
Step 8
no auto-summary (Optional) Disable automatic network summarization. By
default, when a subnet is redistributed from an IGP into BGP,
only the network route is inserted into the BGP table.
Step 9
bgp fast-external-fallover (Optional) Automatically reset a BGP session when a link
between external neighbors goes down. By default, the session
is not immediately reset.
Step 10
bgp graceful-restart (Optional) Enable NSF awareness on switch. By default, NSF
awareness is disabled.
Step 11
end Return to privileged EXEC mode.