Assigning an IP address to a loopback interface
Loopback interfaces are always up, regardless of the states of physical interfaces. They can add stability to the network because they are
not subject to route flap problems that can occur due to unstable links between a Layer 3 switch and other devices. You can configure up
to four loopback interfaces on a Layer 3 switch.
You can add up to 24 IP addresses to each loopback interface.
To add a loopback interface, enter commands such as those shown in the following example:
device(config)# interface loopback 1
device(config-lbif-1)# ip address 192.168.0.0/24
Syntax:
interface loopback
num
The
num
parameter specifies the virtual interface number. You can specify from 1 through the maximum number of virtual interfaces
supported on the device. To display the maximum number of virtual interfaces supported on the device, enter the
show default values
command.
Assigning an IP address to a virtual routing interface
A virtual interface is a logical port associated with a Layer 3 Virtual LAN (VLAN) configured on a Layer 3 switch. You can configure
routing parameters on the virtual interface to enable the Layer 3 switch to route protocol traffic from one Layer 3 VLAN to the other,
without using an external router.
NOTE
The switch uses the lowest MAC address on the device (the MAC address of port 1 or 1/1/1) as the MAC address for all ports
within all virtual interfaces you configure on the device.
Enter commands similar to the following to add a virtual interface to a VLAN and configure an IP address on the interface.
device(config)# vlan 2 name IP-Subnet_1.1.2.1/24
device(config-vlan-2)# untag 1/1/1 to 1/1/4
device(config-vlan-2)# router-interface ve1
device(config-vlan-2)# interface ve1
device(config-vif-1)# ip address 1.1.2.1/24
The first two commands in this example create a Layer 3 protocol-based VLAN named "IP-Subnet_1.1.2.1/24" and add a range of
untagged ports to the VLAN. The
router-interface
command creates virtual interface 1 as the routing interface for the VLAN. The last
two commands change to the interface configuration level for the virtual interface and assign an IP address to the interface.
Syntax:
router-interface ve
num
Syntax:
interface ve
num
Deleting an IP address
Enter a command similar to the following to delete an IP address.
device(config-if-1/1/1)# no ip address 1.1.2.1
This command deletes IP address 1.1.2.1. You do not need to enter the subnet mask.
To delete all IP addresses from an interface, enter the following command.
device(config-if-1/1/1)# no ip address
*
Syntax:
no ip address
ip-addr
|
*
Configuring IP addresses
Brocade ICX 6650 Hardware Installation Guide
Part Number: 53-1003621-04
47
Summary of Contents for ICX 6650 series
Page 6: ...Brocade ICX 6650 Hardware Installation Guide 6 Part Number 53 1003621 04 ...
Page 10: ...Brocade ICX 6650 Hardware Installation Guide 10 Part Number 53 1003621 04 ...
Page 12: ...Brocade ICX 6650 Hardware Installation Guide 12 Part Number 53 1003621 04 ...
Page 22: ...Brocade ICX 6650 Hardware Installation Guide 22 Part Number 53 1003621 04 ...
Page 42: ...Brocade ICX 6650 Hardware Installation Guide 42 Part Number 53 1003621 04 ...
Page 56: ...Brocade ICX 6650 Hardware Installation Guide 56 Part Number 53 1003621 04 ...
Page 72: ...Brocade ICX 6650 Hardware Installation Guide 72 Part Number 53 1003621 04 ...
Page 76: ...Brocade ICX 6650 Hardware Installation Guide 76 Part Number 53 1003621 04 ...