Adding a loopback interface – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 259
Brocade Virtual ADX Switch and Router Guide
245
53-1003246-01
Adding a loopback interface
8
NOTE
A device uses 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 that already assigned to the device rather than set a new
one. To display the current device ID, enter the show ip CLI command at any CLI level.
To change the device ID, enter a command such as the following.
Virtual ADX(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 device, but do not specify an IP address
that is being used by another device.
Adding a loopback interface
You can configure the device to use a loopback interface instead of a specific port or virtual routing
interface to communicate with a BGP4 neighbor. A loopback interface adds stability to the network
by working around route flap problems that can occur due to unstable links between the device and
neighbors.
Loopback interfaces are always up, regardless of the states of physical interfaces. Loopback
interfaces are especially useful for IBGP neighbors (neighbors in the same AS) that are multiple
hops away from the device. When you configure a BGP4 neighbor on the device, you can specify
whether the device uses the loopback interface to communicate with the neighbor. As long as a
path exists between the device and the neighbor, BGP4 information can be exchanged. The BGP4
session is not associated with a specific link, but is instead associated with the virtual interfaces.
NOTE
If you configure the device to use a loopback interface to communicate with a BGP4 neighbor, the
peer IP address on the remote device pointing to your loopback address must be configured.
To add a loopback interface, enter commands such as the following.
Virtual ADX(config-bgp)# exit
Virtual ADX(config)# int loopback 1
Virtual ADX(config-lbif-1)# ip address 10.0.0.1/24
Syntax: [no] interface loopback num
The num value can be from 1 – 64.
Changing the maximum number of paths for
BGP4 load sharing
Load sharing enables the device to balance traffic to a route across multiple equal-cost paths of
the same route type (EBGP or IBGP).