Devices running layer 3 software – Brocade FCX Series Hardware Installation Guide User Manual
Page 64

Syntax: [no] ip address ip-addr/mask-bits
Syntax: ip default-gateway ip-addr
Devices running Layer 3 software
Before attaching equipment to a Brocade Layer 3 Switch, 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, 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 configuration level of the CLI by entering the following command:
device# configure terminal
(Privileged EXEC Leve)l
device(config)# (Global CONFIG Level)
4.
Configure the IP addresses and mask addresses for the interfaces on the router.
device(config)# int e 1/1/2
device(config-if-e1000-1/1/2)# ip address 10.22.3.44
255.255.255.0
NOTE
You can use the syntax ip addressip-addr /mask-bits if you know the subnet mask length. In the
above example, you could enter ip address 10.22.3.44 /24 .
Syntax: enable [ password ]
Syntax: configure terminal
Syntax: [no] ip address ip-addr ip-mask [ secondary ]
or
Syntax: [no] ip address ip-addr/mask-bits [ secondary ]
Use the secondary parameter if you have already configured an IP address within the same
subnet on the interface.
Devices running Layer 3 software
62
Brocade FCX Series Hardware Installation Guide
53-1003077-01