Foundry Hardware Installation Guide for the FES, FESX, and FWSX
4 - 4 © 2006 Foundry Networks, Inc. June 2006
FESX Router(config-if-e1000-2)# ip address 192.22.3.44 255.255.255.0
NOTE: You can use the syntax ip address <ip-addr>/<mask-bits> if you know the subnet mask length. In
the above example, you could enter ip address 192.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 2 Software
To configure an IP Address on a device running Layer 2 software:
1. At the opening CLI prompt, enter enable.
FESX Switch> enable
2. Enter the following command at the Privileged EXEC level prompt (for example, FESX Switch#), then press
Enter. This command erases the factory test configuration if still present:
FESX Switch# 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:
FESX Switch# configure terminal Privileged EXEC Level
FESX Switch(config)# Global CONFIG Level
4. Configure the IP address and mask for the switch.
FESX Switch(config)# ip address 192.22.3.44 255.255.255.0
5. Set a default gateway address for the switch.
FESX Switch(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>