
3. Access the global configuration level of the CLI by entering the following command.
device# configure terminal
Brocade(config)#
4. Configure the IP addresses and mask addresses for the interfaces on the router.
device(config)# interface ethernet 2
device(config)# ip address 10.22.3.44 255.255.255.0
NOTE
You can use the
ip address
ip-addr/mask-bits
command if you know the subnet mask length. In the
example in step 4, you could enter ip address 10.22.3.44/24.
Syntax:
[no] ip address
{
ip-addr
ip-mask
[
secondary
] |
ip-addr/mask-bits
[
secondary
] }
Use the
secondary
parameter if you have already configured an IP address within the same subnet
on the interface.
Configuring IP parameters for devices running Layer 3 software
This section describes how to configure IP parameters for devices running Layer 3 software.
Configuring IP addresses
You can configure an IP address on the following types of Layer 3 interfaces:
• Ethernet port
• Virtual routing interface (also called a Virtual Ethernet or "VE")
• Loopback interface
By default, you can have up to 24 IP addresses on each interface, but you can increase this number to
128 IP addresses.
NOTE
Once you configure a virtual routing interface on a VLAN, you cannot configure Layer 3 interface
parameters on individual ports in the VLAN. Instead, you must configure the parameters on the virtual
routing interface itself.
Assigning an IP address to an Ethernet port
Enter the following commands to assign an IP address to port 1/1/1.
Brocade(config)# interface ethernet 1/1/1
Brocade(config)# ip address 10.45.6.1 255.255.255.0
You also can enter the IP address and mask in CIDR format, as follows:
Brocade># ip address 10.45.6.1/24
Syntax:
[no] ip address
{
ip-addr
ip-mask
|
ip-addr/mask-bits
}
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
Configuring IP parameters for devices running Layer 3 software
58
Brocade ICX 7250 Switch Hardware Installation Guide
53-1003622-02