Basic configuration tasks, Enabling bgp4 on the router, Changing the router id – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 703

Brocade TurboIron 24X Series Configuration Guide
669
53-1003053-01
Basic configuration tasks
Memory configuration options obsoleted by dynamic memory
Devices that support dynamic BGP4 memory allocation do not require or even support static
configuration of memory for BGP4 neighbors, routes, or route attributes. Consequently, the
following CLI commands are not supported on these devices:
•
max-neighbors
•
max-routes
•
max-attribute-entries
If you boot a device that has a startup-config file that contains these commands, the software
ignores the commands and uses dynamic memory allocation for BGP4. The first time you save the
device running configuration (running-config) to the startup-config file, the commands are removed
from the file.
Basic configuration tasks
The following sections describe how to perform the configuration tasks that are required to use
BGP4 on the Layer 3 Switch. You can modify many parameters in addition to the ones described in
this section. Refer to
“Optional configuration tasks”
Enabling BGP4 on the router
When you enable BGP4 on the router, BGP4 is automatically activated. To enable BGP4 on the
router, enter the following commands.
TurboIron> enable
TurboIron#configure terminal
TurboIron(config)#router bgp
BGP4: Please configure 'local-as' parameter in order to enable BGP4.
TurboIron(config-bgp-router)#local-as 10
TurboIron(config-bgp-router)#neighbor 10.157.23.99 remote-as 100
TurboIron(config-bgp-router)#write memory
Changing the router ID
The OSPF and BGP4 protocols use router IDs to identify the routers that are running the protocols.
A router ID is a valid, unique IP address and sometimes is an IP address configured on the router.
The router ID cannot be an IP address in use by another device.
By default, the router ID on a Layer 3 Switch is one of the following:
•
If the router has loopback interfaces, the default router ID is the IP address configured on the
lowest numbered loopback interface configured on the Layer 3 Switch. For example, if you
configure loopback interfaces 1, 2, and 3 as follows, the default router ID is 10.0.9.9/24:
•
Loopback interface 1, 10.0.9.9/24
•
Loopback interface 2, 10.4.4.4/24
•
Loopback interface 3, 10.1.1.1/24
•
If the device does not have any loopback interfaces, the default router ID is the lowest
numbered IP interface address configured on the device.