beautypg.com

Disabling bgp4 – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 394

background image

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 device) and identify the AS the neighbor is in.
4. Save the BGP4 configuration information to the system configuration file.

For example, enter commands such as the following.

device> enable

device# configure terminal

device(config)# router bgp

BGP4: Please configure 'local-as' parameter in order to enable BGP4.

device(config-bgp)# local-as 10

device(config-bgp-router)#neighbor 10.157.23.99 remote-as 100

device(config-bgp)# write memory

Syntax: router bgp

The router bgp command enables the BGP4 protocol.

NOTE
By default, the Brocade device ID is the IP address configured on the lowest numbered loopback
interface. If the device does not have a loopback interface, the default device ID is the lowest
numbered IP interface address configured on the device. If you change the device ID, all current
BGP4 sessions, OSPF adjacencies, and OSPFv3 adjacencies are cleared.

NOTE
When BGP4 is enabled on a Brocade device, you do not need to reset the system. The protocol is
activated as soon as you enable it. The device begins a BGP4 session with a BGP4 neighbor when
you add the neighbor.

Disabling BGP4

If you disable BGP4, the device removes all the running configuration information for the disabled
protocol from the running configuration. To restore the BGP4 configuration, you must reload the
software to load the BGP4 configuration from the startup configuration. When you save the startup
configuration file after disabling the protocol, all of the BGP4 configuration information for the disabled
protocol is removed from the startup configuration file.

The CLI displays a warning message such as the following.

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

router bgp mode now disabled and runtime configuration is erased. All bgp config

data will be lost when writing to flash!

The Web Management Interface does not display a warning message.

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

Disabling BGP4

394

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04