Basic configuration and activation for bgp4, Note regarding disabling bgp4 – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 699

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

665

53-1003053-01

Basic configuration and activation for BGP4

Basic configuration and activation for BGP4

BGP4 is disabled by default. Follow the steps given below to enable BGP4 and place your Layer 3
Switch into service as a BGP4 router.

1. Enable the BGP4 protocol.

2. Set the local AS number.

NOTE

You must specify the local AS number for BGP4 to become functional.

3. Add each BGP4 neighbor (peer BGP4 router) and identify the AS the neighbor is in.

4. Save the BGP4 configuration information to the system configuration file.

NOTE

By default, the router ID is the IP address configured on the lowest numbered loopback interface. If
the Layer 3 Switch does not have a loopback interface, the default router ID is the lowest numbered
IP interface address configured on the device. For more information or to change the router ID, refer
to

“Changing the router ID”

on page 455. If you change the router ID, all current BGP4 sessions are

cleared.

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

NOTE

When BGP4 is enabled on a Layer 3 Switch, you do not need to reset the system. The protocol is
activated as soon as you enable it. Moreover, the router begins a BGP4 session with a BGP4
neighbor as soon as you add the neighbor.

Note regarding disabling BGP4

If you disable BGP4, the Layer 3 Switch removes all the running configuration information for the
disabled protocol from the running-config. To restore the BGP4 configuration, you must reload the
software to load the configuration from the startup-config. Moreover, when you save the
configuration to the startup-config file after disabling the protocol, all the configuration information
for the disabled protocol is removed from the startup-config file.

The CLI displays a warning message such as the following.

TurboIron(config-bgp-router)#no router bgp

router bgp mode now disabled. All bgp config data will be lost when writing to

flash!

If you are testing a BGP4 configuration and are likely to disable and re-enable the protocol, you
might want to make a backup copy of the startup-config file containing the protocol configuration
information. This way, if you remove the configuration information by saving the configuration after
disabling the protocol, you can restore the configuration by copying the backup copy of the
startup-config file onto the flash memory.

Advertising