Basic configuration tasks required for bgp4, Enabling bgp4 on the device, Changing the device id – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 398: Enabling bgp4 on the device changing the device id

Basic configuration tasks required for BGP4
The following sections describe how to perform the configuration tasks that are required to use BGP4
on the Brocade device.
Enabling BGP4 on the device
When you enable BGP4 on the device, BGP4 is automatically activated. To enable BGP4 on the
device, enter the following commands.
device>enable
device#configure terminal
device(config)#router bgp
BGP4: Please configure 'local-as' parameter in order to enable BGP4.
device(config-bgp-router)#local-as 10
device(config-bgp-router)#neighbor 10.157.23.99 remote-as 100
device(config-bgp-router)#write memory
Changing the device ID
The OSPF and BGP4 protocols use device IDs to identify devices that are running the protocols. A
device ID is a valid, unique IP address and sometimes is an IP address configured on the device. The
device ID cannot be an IP address in use by another device.
By default, the device ID on a Brocade device is one of the following:
• If the device has loopback interfaces, the default device ID is the IP address on the lowest
numbered loopback interface configured on the Brocade device. For example, if you configure
loopback interfaces 1, 2, and 3 as follows, the default device ID is 10.9.9.9/24:
‐
Loopback interface 1, 10.9.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 device ID is the lowest numbered IP
interface address configured on the device.
NOTE
Brocade devices use the same device ID for both OSPF and BGP4. If the device is already configured
for OSPF, you may want to use the device ID already assigned to the device rather than set a new
one. To display the current device ID, enter the show ip command at any CLI level.
To change the device ID, enter a command such as the following.
device(config)# ip router-id 10.157.22.26
Syntax: [no] ip router-id ip-addr
The ip-addr can be any valid, unique IP address.
NOTE
You can specify an IP address used for an interface on the Brocade device, but do not specify an IP
address that is being used by another device.
Basic configuration tasks required for BGP4
398
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04