dslreports logo
 
    All Forums Hot Topics Gallery
spc
uniqs
51
aryoba
MVM
join:2002-08-22

aryoba to nigela

MVM

to nigela

Here's a start

Do you have Cisco console kit? Can you gain access to CONSOLE port? If yes, this is the 1st step you need to know.

Accessing CONSOLE port:
»www.cisco.com/en/US/prod ··· 019.html

If everything works right, you should get a prompt like this:

Router>

When you do have such display, it means you are now in CLI. The router then is ready to receive commands. You can enter the following commands as a start.

Router>enable

You may be asked to enter a password. If this is the case, you just enter the password. If you don't know the password, then you need to do password recovery. There's a FAQ in this forum on how to do it.

When you pass the password question, you should get something like this display

Router#

This means you are in enable/priviledge mode. To check if CRWS is enable or not, do this:

Router#show running-config

Post the output display and we can go to the next step.
SF18C
Premium Member
join:2002-03-05
Fountain, CO

1 edit

SF18C

Premium Member

If you think its rubish drop me a line at [Removed per poster's request]. I might be able to pony a few $$$ for your trash!
nigela
join:2003-01-01
uk

nigela to aryoba

Member

to aryoba
Aryoba,
I can access the router via the console port and have already completed a password recovery on it.
This is pretty much as far as I have got.
I will post the show running-config tommorrow as the router is still at work and I am at home!

SF18C thanks for the offer but think I will persevere a bit longer....................................As i said, this is now getting personal.
nigela

nigela to aryoba

Member

to aryoba
Ok, heres the output from show running-config:

Router#show running-config
Building configuration...

Current configuration : 980 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip ips po max-events 100
no ftp-server write-enable
--More-
interface Ethernet0
no ip address
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
interface FastEthernet1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet4
no ip address
shutdown
duplex auto
speed auto
!
ip classless
!
no ip http server
no ip http secure-server
!
!
!
control-plane
!
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
line vty 0 4
!
scheduler max-task-time 5000
end

Any help greatfully received.
aryoba
MVM
join:2002-08-22

aryoba

MVM

Show version please

Can you as well please post the "show version" (Router#show version)?

Let me ask you this. To which port do you plan your PC connect the router? Ethernet0, FastEthernet1 - 4?

Also, are you willing to learn CLI instead of CRWS? FYI, CLI is more powerful and more flexible than CRWS.

P.S.
The command "no ip http server" disables the CRWS access. To enable it, change the command to "ip http server"
nigela
join:2003-01-01
uk

nigela

Member

Here's the "show version" output:

Router#show version
Cisco IOS Software, C837 Software (C837-K9O3SY6-M), Version 12.3(8)T, RELEASE SO
FTWARE (fc2)
Technical Support: »www.cisco.com/techsupport
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Fri 14-May-04 01:53 by eaarmas

ROM: System Bootstrap, Version 12.2(8r)YN, RELEASE SOFTWARE (fc1)

Router uptime is 1 minute
System returned to ROM by power-on
System image file is "flash:c837-k9o3sy6-mz.123-8.T.bin"

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
--More—
»www.cisco.com/wwl/export ··· qrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco C837 (MPC857DSL) processor (revision 0x400) with 44237K/4915K bytes of mem
ory.
Processor board ID AMB08050ML3 (949036743), with hardware revision 0000
CPU rev number 7
1 Ethernet interface
4 FastEthernet interfaces
1 ATM interface
128K bytes of NVRAM.
12288K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)

Configuration register is 0x2142

Router#

I wanted to connect to FastEthernet 1-4. Please forgive my naivety but what is the Ethernet0?

Yes I would give the CLI a go but I really wanted to see if I could get the router up and running first via CRWS.

If I input the command "ip http server" how do I then save the new configuration?

Also how can I enable the DHCP server within the router as currently it is not issuing ip addresses via the 4 ethernet ports, or is this because they are closed.....?

Please forgive all my questions but I really have no knowledge whatsoever of Cisco products but I am willing to learn.

Thanks again for you help.
aryoba
MVM
join:2002-08-22

aryoba

MVM

Please post saved config

The Ethernet0 is the interface your "show version" showing, though I'm not sure it exists physically ...

You will have the rest of your questions answered later. But 1st, please post "show startup-config" command output.

P.S.:
Show version: display the IOS image currently running
Show running-config: display the running configuration
Show startup-config: display the saved configuration
nigela
join:2003-01-01
uk

nigela

Member

Router#show startup-config
Using 1000 out of 131072 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Nigel
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip ips po max-events 100
no ftp-server write-enable
!
--More—
!
!
interface Ethernet0
no ip address
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
interface FastEthernet1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet4
no ip address
duplex auto
speed auto
!
router rip
--More—
network 10.x.x.x
!
ip classless
!
no ip http server
no ip http secure-server
!
!
!
control-plane
!
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
line vty 0 4
!
scheduler max-task-time 5000
end
aryoba
MVM
join:2002-08-22

aryoba

MVM

How to enable CRWS

Now for a little configuration guide. To make the router work like you wish, you have to configure it properly. As a start, there are two configuration mode: global mode and interface mode.

The global configuration mode is when all commands affect all section of the router performance. The interface configuration mode is when all commands affect only one section, the interface itself and not others.

Back to your issue, the command "ip http server" falls under global configuration mode since CRWS must affect all router performance aspects. Here is how you configure it:

Step 1:
Router>enable (enter privilege mode)

Step 2:
Router#configure terminal (enter global configuration mode from privilege mode, and accepting commands from the terminal - your PC you use to configure the router)

Step 3:
Router(config)#ip http server (enable CRWS since CRWS basically converts the router to be http server and any PC running http browser can be http client as long as there's connection available)

This alone won't enable the CRWS access. As mentioned, your PC can be the http client when there's connection available. In short, you have to turn up all the interfaces available (e0, fa1-4, and ATM0). You have to enter the interface configuration to do such.

Step 4:
Router(config)#interface Ethernet0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet2
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet3
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet4
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface ATM0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#

Now you have to plug in an Ethernet cable (RJ45 Cat 5 patch cable) to one of the fa interface on one end, and another end to your PC's active NIC. For example, you choose fa1. Then:

Step 5:
Router(config)#interface FastEthernet1 (back to int fa1)
Router(config-if)#ip address 10.10.10.1 255.255.255.0 (set the int to have such ip address with such subnet mask)
Router(config-if)#exit
Router(config)#

Don't forget to save your modified router configuration. You might also want to set your router back to its default.

Step 6:
Router(config)#config-register 0x2102 (set back the default value)
Router(config)#end (end the configuration mode)
Router#copy running-config startup-config (save the modified or current configuration)

Now set your PC to have ip address of 10.10.10.2 with subnet mask 255.255.255.0 and default gateway ip address of 10.0.0.1 to match the router configuration. Open up a web browser (i.e. Internet Explorer, Netscape) to access "http://10.10.10.1". See if you are successful.

Note:
The step 5 may be incorrect. You'll know it when you see it ...
nigela
join:2003-01-01
uk

nigela

Member

Aryoba,

Thanks for the response. I have just followed all of your steps to the letter, everything went fine until I tried to assign the ip address and subnet in step 5.
Once I pressed [return] after line
Router(config-if)#ip address 10.10.10.1 255.255.255.0
I received the response:
ip address may not be configured on L2 links

any ideas?

Below is my current startup-config output after saving the changes you recommend.

Router#show startup-config
Using 917 out of 131072 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
!
ip ips po max-events 100
no ftp-server write-enable
!
--More—

!
interface Ethernet0
no ip address
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface FastEthernet1
no ip address
duplex auto
speed auto
!
interface FastEthernet2
no ip address
duplex auto
speed auto
!
interface FastEthernet3
no ip address
duplex auto
speed auto
!
interface FastEthernet4
no ip address
duplex auto
speed auto
!
ip classless
!
ip http server
no ip http secure-server
!
!
--More—
!
!
!
control-plane
!
!
line con 0
no modem enable
transport preferred all
transport output all
line aux 0
line vty 0 4
!
scheduler max-task-time 5000
end
aryoba
MVM
join:2002-08-22

1 edit

aryoba

MVM

Do you know why you failed?

Yeah (just like I expected) ....

I already knew that you might fail to assign IP address and the subnet mask on int fa1-4. That is why I put a note at the end of the message ....

Now please connect the Ethernet cable to e0 (Ethernet 0) instead of the one of the fas. Assign the IP address and the subnet on int e0 instead. Then try to redo the step 5 and see what happen ...

Btw, do you know why you failed to assign the IP address and the subnet mask on the int fa1?
michaelr7
join:2004-03-26
Tucson, AZ

1 edit

michaelr7

Member

quote:
Now please connect the Ethernet cable to e0 (Ethernet 0) instead of the one of the fas.
Unless the design of the 837 has changed recently there is one ethernet interface on it, ethernet0. Ethernet0 has a 4 port switch so you see 4 RJ45 connectors on the back of the router for Ethernet0. The "Fastethernets" are actually the ports on the switch. Having each appear as an interface allows you to specify duplex and speed (10/100 mbps) for each port.

All IP related configuration is applied to the ethernet0 interface. I do not recall if you have to manually enter the no shut command for each of the 4 ports (FastEthernet1 - 4) or if it is done automatically when a cable is plugged in.
michaelr7

michaelr7 to aryoba

Member

to aryoba
quote:
Now please connect the Ethernet cable to e0 (Ethernet 0) instead of the one of the fas. Assign the IP address and the subnet on int e0 instead. Then try to redo the step 5 and see what happen ...
Plug the ethernet into any one of the 4 ethernet ports on the router and assign the IP address and subnet mask to interface ethernet0.