Guide to Set an IP through a Console Connection on a Cisco 2960 Switch
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.
Things you’ll need as follows:
a. Cisco Catalyst serial console cable
b. Windows XP computer with 9 pin serial port
c. Privileged exec password for the Cisco Catalyst 2960 switch
d. IP address and subnet mask for the switch
How to Set an IP through a Console Connection on a Cisco 2960 Switch
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. 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. Type "Cisco 2960" in the "HyperTerminal" window "Name:" field that appears and press the "Enter" button.
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. 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. 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. 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. 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. Type "end" and tap the "Enter" key and then type "copy running-config startup-config" and tap the "Enter" key. Type "exit" and tap the "Enter" key.