From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Tue Jun 15 2004 - 17:00:23 GMT-3
Yash,
You could also have a problem with the wrong hostname or wrong
IP address in the "ip rcmd remote-host" command. Use the "debug ip tcp
rcmd" command to help troubleshoot if you are getting permission denied.
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Brian Dennis
Sent: Tuesday, June 15, 2004 12:24 PM
To: Yash Bajpai; ccielab@groupstudy.com
Subject: RE: rsh on Routers with 'show runn'
Yash,
Yes the code will support TCLSH on the routers. In regards to
your second question, you do not have permission to run the command.
Make sure that you have the "enable" option configured on the end of the
"ip rcmd remote-host" command.
As you can see below after I added the "enable" option to the
"ip rcmd remote-host" command I was able to do a "show run".
Rack1SW1#sho run | in rcmd
ip rcmd rsh-enable
ip rcmd remote-host Rack1R1 10.1.1.1 Rack1R1
Rack1SW1#
Rack1AS>1
[Resuming connection 1 to r1 ... ]
Rack1R1#rsh 10.1.1.7 sho ip int brie fa0/1
Interface IP-Address OK? Method Status
Protocol
FastEthernet0/1 10.1.1.7 YES manual up
up
Rack1R1#rsh 10.1.1.7 show run
Line has invalid autocommand "show run"
Rack1R1#
Rack1AS>2
[Resuming connection 2 to sw1 ... ]
00:
Rack1SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack1SW1 (config)#ip rcmd remote-host Rack1R1 10.1.1.1 Rack1R1 enable
Rack1SW1 (config)#^Z
Rack1SW1#
Rack1AS>1
[Resuming connection 1 to r1 ... ]
Rack1R1#rsh 10.1.1.7 show run
Building configuration...
Current configuration : 2540 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Rack1SW1
!
!
ip subnet-zero
ip rcmd rsh-enable
ip rcmd remote-host Rack1R1 10.1.1.1 Rack1R1 enable
!
no ip domain-lookup
ip ssh time-out 120
ip ssh authentication-retries 3
!
spanning-tree mode pvst
spanning-tree extend system-id
<snip>
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Yash Bajpai
Sent: Tuesday, June 15, 2004 11:42 AM
To: ccielab@groupstudy.com
Subject: rsh on Routers with 'show runn'
Please excuse me if this has been asked (and answered)
already.
I had two short questions:
1) Can anyone confirm that the current CCIE lab
Routers would have TCL enabled on atleast on Router
for the wonderful reachability scripto going around
these days? (refer www.netmasterclass.net website)
2) When i run a simple rsh command for show runn on
the remote router, this is what i get:
Site-4#rsh site-2 sh runn
Line has invalid autocommand "sh runn"
I can make most other show commands work though. What
am i missing guys?
TIA
Yash
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
This archive was generated by hypermail 2.1.4 : Sat Jul 03 2004 - 19:40:41 GMT-3