C
HAPTER
2
| Initial Switch Configuration
Basic Configuration
– 77 –
Username: admin
Password:
CLI session with the DG-GS4528SE is opened.
To end the CLI session, enter [Exit].
Console#configure
Console(config)#username guest password 0 [password]
Console(config)#username admin password 0 [password]
Console(config)#
SETTING AN IP
ADDRESS
You must establish IP address information for the switch to obtain
management access through the network. This can be done in either of the
following ways:
u Manual — You have to input the information, including IP address and
subnet mask. If your management station is not in the same IP subnet
as the switch, you will also need to specify the default gateway router.
u Dynamic — The switch can send IPv4 configuration requests to BOOTP
or DHCP address allocation servers on the network, or automatically
generate a unique IPv6 host address based on the local subnet address
prefix received in router advertisement messages. An IPv6 link local
address for use in a local network can also be dynamically generated as
described in "Obtaining an IPv6 Address" on page 81.
DHCP for IPv6 can be used to acquire stateful address configuration
information depending on the advertisements received from other
routers, and subsequently from a DHCPv6 server. (For more
information, see the description for the “Restart DHCPv6” parameter
under "Configuring IPv6 Interface Settings" on page 610.)
MANUAL CONFIGURATION
You can manually assign an IP address to the switch. You may also need to
specify a default gateway that resides between this device and
management stations that exist on another network segment. Valid IPv4
addresses consist of four decimal numbers, 0 to 255, separated by periods.
Anything outside this format will not be accepted by the CLI program.
N
OTE
:
The IPv4 address for VLAN 1 is obtained via DHCP by default.
ASSIGNING AN IPV4 ADDRESS
Before you can assign an IP address to the switch, you must obtain the
following information from your network administrator:
u IP address for the switch
u Network mask for this network
u Default gateway for the network