![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/9/e5/9e53c6f0-8bd8-46aa-99c7-2a733e79d9b6/9e53c6f0-8bd8-46aa-99c7-2a733e79d9b6-bg30.png)
48
C
HAPTER
3: A
CCESSING
THE
S
WITCH
To manually configure the IP settings, perform the following steps:
1
Connect a terminal or workstation running terminal-emulation software
to the console port.
2
At your terminal, press [Return] one or more times until you see the login
prompt.
3
At the login prompt, enter your user name and password. Note that they
are both case-sensitive. Ensure that you have entered a user name and
password with administrator privileges.
■
If you are logging in for the first time, use the default user name
admin
to log in with administrator privileges. For example:
login: admin
Administrator capabilities enable you to access all switch functions.
The default user names have no passwords assigned.
■
If you have been assigned a user name and password with
administrator privileges, enter them at the login prompt.
4
At the password prompt, enter the password and press [Return].
When you have successfully logged in to the switch, the command-line
prompt displays the name of the switch in its prompt.
5
Assign an IP address and subnetwork mask for the default VLAN by using
the following command:
config vlan <name> ipaddress <ipaddress> {<subnet_mask>}
For example:
config vlan default ipaddress 123.45.67.8 255.255.255.0
Your changes take effect immediately.
As a general rule, when configuring any IP addresses for the switch, you
can express a subnet mask by using dotted decimal notation, or by using
classless inter-domain routing notation (CIDR). CIDR uses a forward slash
plus the number of bits in the subnet mask. Using CIDR notation, the
command identical to the one above would be:
config vlan default ipaddress 123.45.67.8 / 24
6
Configure the default route for the switch using the following command:
config iproute add default <ipaddress> {<metric>}