How to Set an IP Through a Console Connection on a Cisco 2960 Switch

Written by dave wilson
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Set an IP Through a Console Connection on a Cisco 2960 Switch
Configure IP addresses on a Cisco 2960 switch. (network devices image by JCVStock from

The Cisco Catalyst 2960 switch supports the assignment of IP addresses on all network interfaces. Adding an IP address to the Cisco Catalyst 2960 configuration is a necessary step to enable remote administration of the switch from any location on the network (which is preferred over the alternative administration method that requires physical connection to the serial console port on the switch). Configuring an IP address on the Cisco Catalyst 2960 using a serial console connection is a straightforward process that is the same for all interfaces on the switch.

Skill level:

Things you need

  • Cisco Catalyst serial console cable
  • Windows XP computer with 9 pin serial port
  • Privileged exec password for the Cisco Catalyst 2960
  • IP address and subnet mask for the switch

Show MoreHide


  1. 1

    Run a Cisco serial console cable from the Cisco Catalyst 2960 serial console port to the to the serial port on a Windows XP computer.

  2. 2

    Open the "Hyperterminal" program by selecting the "Start" button and click "Run" and type "hypertrm" in the "Run" box that appears, and then press the "Enter" key.

  3. 3

    Type "Cisco 2960" in the "HyperTerminal" window "Name:" field that appears and press the "Enter" button.

  4. 4

    Select the "Connect using:" drop down box and then in the menu that appears click the "Com port" that connects the Windows XP computer to the Cisco 2960 and press the "Enter" key.

  5. 5

    Click the "Bits per second:" drop-down option and select the "9600" setting in the menu. Then click the "Flow Control" drop-down option and select "None" in the menu and press the "Enter" key.

  6. 6

    Touch the "Enter" key a few times and the Cisco command prompt will display. Type "enable" and press the "Enter" key and then type the password and press "Enter" again if requested.

  7. 7

    Type "config terminal" and tap the "Enter" key. Then type "interface Vlan1" and tap the "Enter" key and the command prompt will move into "Interface Configuration Mode".

  8. 8

    Enter "ip address x.x.x.x y.y.y.y", substituting the "x.x.x.x y.y.y.y" with the assigned IP address and subnet mask for the switch and tap the "Enter" key. Then type "exit" and tap the "Enter" key to leave "Interface Configuration Mode" then type "ip default-gateway g.g.g.g", substituting "g.g.g.g" with the gateway IP address for the network and tap the "Enter" key.

  9. 9

    Type "end" and tap the "Enter" key and then type "copy running-config start-up-config" and tap the "Enter" key. Type "exit" and tap the "Enter" key.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.