Allied Telesis AT-9000/12POE Switch User Manual


  Open as PDF
of 1480
 
AT-9000 Switch Command Line User’s Guide
261
Assigning an IPv4 Management Address and Default Gateway
This section covers the following topics:
“Adding an IPv4 Management Address” next
“Adding an IPv4 Default Gateway Address” on page 263
“Deleting an IPv4 Management Address and Default Gateway” on
page 264
“Displaying an IPv4 Management Address and Default Gateway” on
page 265
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 47, “Port-based and Tagged
VLANs” on page 687.
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 of 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 before entering a new address. For instructions,
refer to “Deleting an IPv4 Management Address and Default
Gateway” on page 264.