4. Save the BGP4 conguration information to the system conguration le.
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 congured 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
congured 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 conguration information for the disabled protocol from the running
conguration. To restore the BGP4 conguration, you must reload the software to load the BGP4 conguration from the startup
conguration. When you save the startup conguration le after disabling the protocol, all of the BGP4 conguration information for the
disabled protocol is removed from the startup conguration le.
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 conguration and need to disable and re-enable the protocol, you should make a backup copy of the startup
conguration le containing the BGP4 conguration information. If you remove the conguration information by saving the conguration
after disabling the protocol, you can restore the BGP4 conguration by copying the backup copy of the startup conguration le onto the
ash memory.
NOTE
To disable BGP4 without losing the BGP4 conguration information, remove the local AS (for example, by entering the no
local-as command). When you remove the local AS, BGP4 retains the other conguration information but will not become
operational until you reset the local AS.
BGP4 parameters
You can modify or set the following BGP4 parameters:
• Optional - Dene the router ID. (The same router ID also is used by OSPF.)
BGP4 parameters
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 361