Brocade FastIron X Series Chassis Hardware Installation Guide
73
53-1001723-02
Configuring IP addresses
3
IPv4 devices running Layer 2 software
To configure an IPv4 address to a device running Layer 2 software, complete the following tasks.
1. At the opening CLI prompt, enter enable.
FastIron
> enable
2. Enter the following command at the Privileged EXEC level prompt (for example,
FastIron#
),
then press Enter. This command erases the factory test configuration if still present.
FastIron# 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.
Privileged EXEC Level.
FastIron# configure terminal
Global CONFIG Level.
FastIron(config)
#
4. Configure the IPv4 address and mask for the switch.
FastIron(config)# ip address 192.22.3.44 255.255.255.0
5. Set a default gateway address for the switch.
FastIron(config)# ip default-gateway 192.22.3.1
NOTE
You do not need to assign a default gateway address for single subnet networks.
Syntax: enable [<
password
>]
Syntax: configure terminal
Syntax: [no] ip address <
ip-addr
> <
ip-mask
>
or
Syntax: [no] ip address <
ip-addr
>/<
mask-bits
>
Syntax: ip default-gateway <
ip-addr
>
IPv6 devices
Brocade IPv6 devices support the 128-bit addressing format, composed of 8 fields of 16-bit
hexadecimal values separated by colons (:). For example,
2001:0000:0000:0200:002D:D0FF:FE48:4672 is an IPv6 address, which can also be expressed
as 2001:0:0:200:2D:D0FF:FE48:4672 after omitting the leading zeros.