How to Configure a Switch
User-Submitted Article
This article talks about the basic configuration of a Cisco Catalyst switch. Use these commands when you get a new or used Cisco switch that you want to configure. These commands will work on pretty much any Cisco catalyst switch. When you get a new or used switch, the first thing you will have to do is connect to it. Normally, this is done by using a laptop and a console cable. I assume if you are looking for these type of instructions that you can do already do that. Once you are able to connect into the switch, you can begin configuring it.
Difficulty: Moderately Easy
Instructions
Things You'll Need:
- Cisco switch (e.g. 2950, 3550, 3560, 3750)
- laptop or PC with a console cable
- 1
- 2If you have a used switch, you can erase any previous configuration information. The command to erase any previous configuration information is:
(switch)# write erase
- 3After you erase the previous configuration, you can reboot the switch with this command: (switch)# reload
- 4You can set the switch name with this command: (switch)# host yourswitchnamehere
For example: (switch)# Cisco-Switch
- 5You can set the enable password: (switch)# enable password mysecretpassword
- 6You can set the enable secret password: (switch)# enable secret mysecretpassword
- 7You can set up the console login password with these commmands. (switch)# line con 0
(switch)# password myloginpassword
(switch)# logging synchronous
(switch)# login
- 8You set up the telent login line like this:
(switch)# line vty 0 15
(switch)# password myloginpassword
(switch)# login
- 9You can hide your passwords like this:
(switch)# service password-encryption
- 10You can save your configuration with this command:
(switch)# write
Or you can use this command: (switch)# copy run start
- 11You set up the clock: (switch)# clock set 12:00:00 Month Day Year
- 12You can set the default gateway like this: (switch)# ip default-gateway x.x.x.x
For example: (switch)# ip default-gateway 192.168.1.1
- 13You can set the daylight saving time using this command: (switch)# clock summer-time EST recurring first Sunday March 2:00 first Sunday November 2:00
No comments:
Post a Comment