LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2007, 10:31 AM   #1
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Rep: Reputation: 15
Cisco switch


i just received a 1900 series cisco switch. How do i get to the web interface? i connected to the console port and went to my gateway ip address i dont unserstand i tried a crossover cable also someone please give me some insite
 
Old 08-10-2007, 10:51 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Code:
switch $ enable
switch # configure terminal
switch (config) # show running config
Then you will see the IP address that is configured in the switch. If you connect to it with a web browser you should get the login prompt for the web interface.

If not, you may enable it with:
Code:
switch (config)# ip http server
 
Old 08-10-2007, 10:55 AM   #3
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Original Poster
Rep: Reputation: 15
ok im a newb

That seems to be some linux commands im trying to configure it through windows right now. The ip says its 192.168.1.1 and i goto that in my webbrowser and it just wont pop up with the web interface.
This is the code you wannted me to input but i woulld bet thats in linux
Code:
switch $ enable
switch # configure terminal
switch (config) # show running config

i appreciate the help though, i seen somewhere about a serial to rj 45 cable do i need one or will regular ethernet work?

and im trying to enable this switch through windows one ethernet cable connected to the console port plus i tried hooking it to the regular ports and i tried a crossover cable.

Last edited by vande012; 08-10-2007 at 01:07 PM.
 
Old 08-11-2007, 03:32 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
that's not linux, that's IOS. is your switch running IOS then? do a "sh ver" on the switch to show what it's using (in IOS at least... i assume that won't work if it's runnign catOS).

in general though, you really should refer to the cisco.com documentation, that's what it's there for.
 
Old 08-11-2007, 04:24 AM   #5
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
and btw if you use Windows to connect the you'll have to use hyper terminal application to connect to the cisco.
Check the documents of documentation regarding the settings you'll need to adjust in order to get on the serial console. In the most cases the cable is blue...
 
Old 08-11-2007, 05:40 AM   #6
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Original Poster
Rep: Reputation: 15
Connection to switch

ok thank you for an answer took about a day thought i never get one. Ok so i have went to cisco site and plenty of other ones actually i still got 11 ie's open and i have read about hyper terminal. Ok so even though its got an ios i still have to connect via hyper terminal? and even without a db9 to rj45 connector i can still connect to the routers ios?

The console port is the only way to connect to its configuration?

Connecting from a db9 to rj45 to the console port

Last edited by vande012; 08-11-2007 at 05:49 AM.
 
Old 08-11-2007, 07:36 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
you *know* for a fact that there's a web interface, so you know also then that the console port is not the only way. it's often thesimplest way to get in to configure the bare minimum for you to get in. personally i'm still waiting for the sh ver... but again please refer to the documentation, there will be clear details of default ip addresses it will use, how to access the web interface etc...

if you're concerned about the speed of the reply, again please note this is a linux forum, not a cisco one...
 
Old 08-11-2007, 07:47 AM   #8
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Original Poster
Rep: Reputation: 15
I understand

its just i got so much help here and i posted under general and this is the only forum that actually gets reponds to my post And i meant nothing by the time frame on the repond i was just messin around it was actually a thanks for answering, usually people answer pretty quick but i guess your right im in here asking about cisco switches
 
Old 08-11-2007, 08:01 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
i don't mean to discourage you off course, anyone that can help will. i'm cisco certified, but as i mentioned before these are older and any device i've ever worked with in the last 3 years...
 
Old 08-11-2007, 11:07 AM   #10
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Original Poster
Rep: Reputation: 15
Well than its really a basic question

maybe you can answer it it then. I hook this switch up between my computer and the switch to try and get to the web interface. I have read thousands of doc trying to explain to me what i got to do to makes this work. Anyway i hook up my comp to this witch but then it says trying to obtain ip address and then fails and gives me a bunk one. And i know this is because there is no DHCP so i try simple ips such as 192.168.0.1 192.168.1.1 to try and get into its web interface and they all fail. In one doc from cisco it says the default ip is 0.0.0.0 with hostname switch so its obvious that 0.0.0.0 wont work so i tried going to the hostname and still no luck. In your experience with newer switches #1 what is the default ip address? #2 im new at this and just try like any other device such as a router 192.168.0.1.

I also read in the cisco doc that you need to connect via hyperterminal and give it an ip address but i read to if it has a web interface you dont have to do this. So now im lost

You didnt offend in anyway and i know this is a linux forum and should be talking about linux but this forum is "God" compared to the rest of them, and hey at least im not talking about windows.

Any criticism is constructive criticism

Last edited by vande012; 08-11-2007 at 11:22 AM.
 
Old 08-11-2007, 12:11 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
well this doc has every step you need... http://www.cisco.com/en/US/docs/swit.../19icinst.html
and this one should be even more concise... http://www.cisco.com/univercd/cc/td/...v9x/1900qs.htm just pick a document and if / as / when you get stuck ask specific questions and refer to the step you have trouble with. only thing that may get in the way is if you didn't get given a light blue console cable with the switch. if you didn't, i assume they're $2 each on ebay. from the docs it doesn't look like it gets given a default ip address at all, so initial console access is probably essential. you've eluded to using console connections, but i can't make out if you actually have done it or not.

btw... http://www.routergod.com/annanicolesmith/

Last edited by acid_kewpie; 08-11-2007 at 12:13 PM.
 
Old 08-11-2007, 01:31 PM   #12
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Original Poster
Rep: Reputation: 15
db9 to rj45 connector?

is the type of connector i need a db9 to rj45? Also i dont want to wait for this item on ebay we got a decent computer store here that has everything from a to z you think they will have these connectors?
 
Old 08-11-2007, 02:45 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
it's not as simple as shape one to shape two. needs to be a cisco rollover serial cable. the top one here... http://www.ciscomonkeys.com/monkeyst...x.php?cPath=21
 
Old 08-11-2007, 02:57 PM   #14
vande012
Member
 
Registered: Jul 2007
Location: Carrollton, Texas
Distribution: cent os 7 , windows 7
Posts: 83

Original Poster
Rep: Reputation: 15
I understand

i understand but its as simple as connecting the rj45 to the console port on the switch? then to a serial port on computer? then use hyperterminal to connect the serial connection . Is that what you mean but shape to shape connection?

Do you think i could purchase one at my local computer store?

Last edited by vande012; 08-11-2007 at 02:59 PM.
 
Old 08-11-2007, 03:19 PM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
the pins in the cable are "unusual" compared to normal cables, so if the wires go to the wrong place, you're not going to get anywhere. it's no secret, and you can absolutely make it yourself if you get, for example, a modular rj45 to db9 adapter, where you can connect each pin as you see fit... on balance that's a more likely find at a corner store, but then you have to wire it up right, which again isn't "hard" but needs to be correct. with that, you can just use a normal network cable plus the adapter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco 1900 switch vande012 General 1 08-10-2007 05:42 PM
Cisco 2924C XL Switch/Routing metallica1973 Linux - Networking 7 06-14-2007 01:33 PM
Linux and Cisco switch 2950 foysol_bgd Linux - Newbie 6 02-07-2007 07:19 PM
How can I reset the password on a cisco switch? abefroman Linux - Networking 6 11-04-2005 07:45 AM
TACACS+, Cisco router/switch authentication sancho5 Linux - Networking 2 03-28-2003 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration