36 PowerConnect B-FCX Switch Hardware Installation Guide
53-1002267-01
Configuring IP addresses
3
Syntax: [no] ip address <ip-addr> <ip-mask>
or
Syntax: [no] ip address <ip-addr>/<mask-bits>
Syntax: ip default-gateway <ip-addr>
Devices running Layer 3 software
Before attaching equipment to a Layer 3 Switch, you must assign an interface IP address to the
subnet on wh ich the router w ill 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 or the Web
management interface.
By default, you can configure up to 24 IP interfaces on each port, virtual interface, and loopback
interface. You can in crease this amoun t 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.
PowerConnect> 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:
PowerConnect# 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:
PowerConnect# configure terminalPrivileged EXEC Level
PowerConnect(config)#Global CONFIG Level
4. Configure the IP addresses and mask addresses for the interfaces on the router.
PowerConnect(config)# int e 2
PowerConnect(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]