Connecting the Switch to the Network

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:

  • BOOTP
  • DHCP
  • Terminal interface via the EIA-232 port

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

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:

  • Manually configure network information for the management interface, or
  • Enable the management interface as a DHCP or BootP client on your network (if not already enabled) and then view the network information after it is assigned by the DHCP server.

    To connect to the switch and configure or view network information, use the following steps:

  1. Using a straight-through modem cable, connect a VT100/ANSI terminal or a workstation to the console (serial) port.
    If you attached a PC, Apple, or UNIX workstation, start a terminal-emulation program, such as HyperTerminal or TeraTerm.
  2. Configure the terminal-emulation program to use the following settings:
    • Baud rate: 9600 bps
    • Data bits: 8
    • Parity: none
    • Stop bit: 1
    • Flow control: none
  3. Power on the switch.

    For information about the boot process, including how to access the utility menu, see Booting the Switch.

  4. Press [Enter].
    The User: prompt displays.

    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.

    After a successful login, the screen shows the system prompt, for example (Extreme 220)>.
  5. At the command prompt, enter enable to enter the Privileged EXEC command mode. There is no default password to enter Privileged EXEC mode. Press [Enter] at the password prompt if you did not change the default password.
    The command prompt changes from > to #.
  6. Configure network information.
    If the unit has a service port:
    • To have the address assigned through DHCP:

      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.

    • To use BootP, change the protocol by entering: serviceport protocol bootp
    • To disable DHCP/BootP and manually assign an IPv4 address, enter:
      serviceport protocol none
      serviceport ip ipaddress netmask [gateway]

      For example:

      serviceport ip 192.168.2.23 255.255.255.0 192.168.2.1
    • To disable DHCP/BootP and manually assign an IPv6 address and (optionally) default gateway, enter:
      serviceport protocol none
      serviceport ipv6 address ipaddress/prefix-length [eui64] 
      serviceport ipv6 gateway gateway
    • To view the assigned or configured network address, enter:
      show serviceport
    If the unit does not have a service port:
    • To use a DHCP server to obtain the IP address, subnet mask, and default gateway information, enter:
      network protocol dhcp
    • To use a BootP server to obtain the IP address, subnet mask, and default gateway information, enter:
      network protocol bootp
    • To manually configure the IPv4 address, subnet mask, and (optionally) default gateway, enter:
      network parms ipaddress netmask [gateway]

      For example:

      network parms 192.168.2.23 255.255.255.0 192.168.2.1
    • To manually configure the IPv6 address, subnet mask, and (optionally) default gateway, enter:
      network ipv6 address ipaddress/prefix-length [eui64] 
      network ipv6 gateway gateway
    • To view the network information, enter show network
    • To save these changes so that they are retained when the switch is rebooted, enter the following command:
      copy system:running-config nvram:startup-config
After the switch is connected to the network, you can use the IP address for remote access to the switch by using a web browser or through Telnet or SSH.