AT-9000 Switch Command Line User’s Guide
Section II: Basic Operations 205
IPv4 Management Address and Default Gateway
“Adding an IPv4 Management Address” next
“Adding an IPv4 Default Gateway Address” on page 207
“Deleting an IPv4 Management Address and Default Gateway” on
page 208
“Displaying an IPv4 Management Address and Default Gateway” on
page 208
Adding an IPv4
Management
Address
The command to assign the switch an IPv4 management address is the IP
ADDRESS command. It has to be performed from the VLAN Configuration
mode of the VLAN to which the address is to be assigned. If the VLAN
does not already exist, you have to create it before you can assign the
address. For instructions, refer to Chapter 41, “Port-based and Tagged
VLANs” on page 555.
Here is the format of the command:
ip address
ipaddress/mask
|dhcp
The IPADDRESS parameter is the IPv4 management address to be
assigned the switch. The address is specified in this format:
nnn.nnn.nnn.nnn
Each NNN is a decimal number from 0 to 255. The numbers must be
separated by periods.
The MASK parameter is a decimal number that represents the number of
bits, from left to right, that constitute the network portion of the address.
Here are a couple basic examples:
The decimal mask 16 is equivalent to the mask 255.255.0.0.
The decimal mask 24 is equivalent to the mask 255.255.255.0.
Note
If a management IPv4 address is already assigned to the switch,
you must delete it prior to entering a new address. For instructions,
refer to “Deleting an IPv4 Management Address and Default
Gateway” on page 208.
Here are several examples of the command. The first example assigns the
switch the management IPv4 address 149.121.43.56/24 to the
Default_VLAN, which has the VID number 1. Since the switch comes with
this VLAN, you don’t have to create it. Here are the commands: