Enabling and disabling bgp4, Disabling bgp4 – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual
Page 46

18
Multi-Service IronWare Routing Configuration Guide
53-1003033-02
Enabling and disabling BGP4
Enabling and disabling BGP4
BGP4 is disabled by default. To enable BGP4, you must perform the following steps.
1. Enable the BGP4 protocol.
2. Set the local AS number.
NOTE
BGP4 is not functional until you specify the local AS number.
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.
Brocade> enable
Brocade# configure terminal
Brocade(config)# router bgp
BGP4: Please configure 'local-as' parameter in order to enable BGP4.
Brocade(config-bgp)# local-as 10
Brocade(config-bgp)# write memory
Syntax: router bgp
The router bgp command enables the BGP4 protocol.
For information on the local AS number, refer to
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. For more information, refer to
on page 71. If you change the device ID, all current BGP4 sessions, OSPF adjacencies,
and OSPFv3 adjacencies are cleared.
NOTE
When BGP4 is enabled on a device, resetting the system is unnecessary. The protocol is activated
when 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.
Brocade(config)# 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.