
4. Configure the IP address and mask for the device.
device(config)# ip address 10.22.3.44 255.255.255.0
5. Set a default gateway address for the device.
device(config)# ip default-gateway 10.22.3.1
NOTE
You do not need to assign a default gateway address for single subnet networks.
Syntax:
[no] ip address
{
ip-addr
ip-mask
|
ip-addr
/
mask-bits
}
Syntax:
[no] ip default-gateway
ip-addr
Devices running Layer 3 software
Before attaching equipment to a Brocade ICX 6450 device, you must assign an interface IP address to the subnet on which the router
will be located. You must use the serial connection to assign the first IP address. For subsequent addresses, you also can use the CLI
through Telnet.
By default, you can configure up to 24 IP interfaces on each port, virtual interface, and loopback interface. You can increase this amount
to up to 64 IP subnet addresses per port by increasing the size of the subnet-per-interface table.
The following procedure shows how to add an IP address and mask to a router port.
1. At the opening CLI prompt, enter
enable
.
device> enable
2. Enter the following command at the CLI Privileged EXEC level prompt, and then press
Enter
. This command erases the factory
test configuration if still present.
device# erase startup-config
CAUTION
Use the erase startup-config command only for new systems. If you enter this command on a system you have
already configured, the command erases the configuration. If you accidentally do erase the configuration on a
configured system, enter the write memory command to save the running configuration to the startup-config file.
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.
IP address configuration
Brocade ICX 6430 and ICX 6450 Stackable Switches Hardware Installation Guide
Part Number: 53-1003617-03
71