To enable remote management of the switch through telnet, a web browser, or SNMP (Simple Network Management Protocol), you must connect the switch to the network. The switch has no IP address by default, and DHCP (Dynamic Host Configuration Protocol) is disabled, so you must provide network information by connecting to the switch command-line interface (CLI) by using a local serial connection.
To access the switch over a network you must first configure it with network information (an IP address, subnet mask, and default gateway). You can configure the IP information using any of the following:
After you configure network information, such as the IP address and subnet mask, and the switch is physically and logically connected to the network, you can manage and monitor the switch remotely through SSH, telnet, a web browser, or an SNMP-based network management system. You can also continue to manage the switch through the terminal interface via the EIA-232 port.
Note
Some switches provide a dedicated service port for managing the switch. On switches without a dedicated service port, you use one of the network ports.After you perform the physical hardware installation, you need to make a serial connection to the switch so that you can do one of the following:
To connect to the switch and configure or view network information, use the following steps:
For information about the boot process, including how to access the utility menu, see Booting the Switch.
Enter admin as the user name. There is no default password. Press [Enter] at the password prompt if you did not change the default password.
By default, the port is configured as a DHCP client. If your network has a DHCP server, then you need only to connect the switch to your network.
serviceport protocol none serviceport ip ipaddress netmask [gateway]
For example:
serviceport ip 192.168.2.23 255.255.255.0 192.168.2.1
serviceport protocol none serviceport ipv6 address ipaddress/prefix-length [eui64] serviceport ipv6 gateway gateway
show serviceport
network protocol dhcp
network protocol bootp
network parms ipaddress netmask [gateway]
For example:
network parms 192.168.2.23 255.255.255.0 192.168.2.1
network ipv6 address ipaddress/prefix-length [eui64] network ipv6 gateway gateway
copy system:running-config nvram:startup-config