C
HAPTER
10
| IP Commands
– 274 –
COMMAND USAGE
N
OTE
:
Only one VLAN interface can be assigned an IP address (the default
is VLAN 1). This defines the management VLAN, the only VLAN through
which you can gain management access to the switch. If you assign an IP
address to any other VLAN, the new IP address overrides the original IP
address and this becomes the new management VLAN.
◆ You must assign an IP address to this device to gain management
access over the network or to connect the switch to existing IP subnets.
You can manually configure a specific IP address, or direct the device to
obtain an address from a DHCP server using the ip dhcp command
(page 272). Valid IP addresses consist of four numbers, 0 to 255,
separated by periods. Anything outside this format will not be accepted
by the configuration program.
◆ A gateway must be defined if the management station is located in a
different IP segment.
◆ An default gateway can only be successfully set when a network
interface that directly connects to the gateway has been configured on
the switch.
◆ The attributes for this command must be entered in the sequence
shown for command syntax.
EXAMPLE
In the following example, the device is assigned an address in VLAN 1.
IP>setup 192.168.0.9 255.255.255.0 192.168.0.1
IP>setup
IP Address : 192.168.0.9
IP Mask : 255.255.255.0
IP Router : 192.168.0.1
DNS Server : 0.0.0.0
VLAN ID : 1
IP>