Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Good afternoon all,
I am a newbie using Cisco and I need to configure a Cisco 2950 Switch to use for VoIP. The manufacture gave me the Cisco configurations in a text document. Below is the beginning of it:
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname XXXXXXX_SW
!
enable secret manufacture
enable password manufacture
!
ip subnet-zero
no ip source-route
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
description Voice connection to port 2 of Router
switchport access vlan 2
switchport mode access
speed 100
duplex full
!
interface FastEthernet0/2
description Phone and Data
switchport mode trunk
switchport voice vlan 2
switchport priority extend cos 3
spanning-tree portfastetc.
So, now I have the switch, I have the script, but now how do I get the script in the router????Is it as easy asy typing it word for word???
Your help is greatly appreciated.
Thanks,
-Mario-

Cisco switches use hyperterminal to do the configuration.
http://xcat.org/doc/cisco2950-HOWTO.htmlStart there. If that's not exactly what you want, then search Cisco's site. They have very good documentation.

The how to assumes some things. I like to setup a lot with the initial setup. That setup will only show up with a default out of the box or reset switch. If you have a config already then you might have to logon and enable and conf t then you can tftp over the file. You'd have to have a tftp server online.
If you can get to config then enable http server. Use the ip of the switch to access the web based setup. It is much easier than doing command line inputs. It is supposed to use a lot of backplane resources but you get a lot of information that can't easily be looked at. Don't forget to no http server or at least change the server port to a firewalled port.You can use any terminal app or real terminal too as above.

I use TeraTerm myself....prefer it over hyper terminal, to console into the switch with the console cable. You should be able to copy and paste the config or as jefro pointed out, tftp the whole script into the switch (name it config.new or something) and then rename it to config.text once you've tftp'd it into the switch and ensure you have it in the flash:directory then reload the switch.

Oh, forgot. If the switch is out of the box then you need that special rollover flat blue cable and the ends to connect via serial to the switch. I'm sure there are common cables that do the same.

Thanks everyone for your responses. It turned out to be a million times easier than I thought.
As mentioned above I was given a setup script, which after logging on using hyperterminal I just had to implement and vouala, it worked!
Thanks again everyone.
-Mario-

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |