Hello there,
I want to send some show commands via CATTOOLS to some Juniper EX-Switch.
However, I constantly get "Command is invalid". Entering the commands (directly) in a ssh session I can proove, that the commands are correct.
I configured the Device as Juniper.Router (as there is no Juniper.Switch).
Looking at the Debog Log I can see, that login to Device was successfull.
The output in my log-file varies....
For example:
The following 2 commands should be send:
show system uptime
show version
"show system uptime" is mentioned as invalid command.
The output i get in my log file is:
^
unknown command.
{master:0}
prompt> show system uptime
show version
fpc0:
--------------------------------------------------------------------------
Current time: 2013-08-21 12:53:37 CEST
System booted: 2012-12-19 13:36:29 CET (34w6d 22:17 ago)
Protocols started: 2012-12-19 13:39:25 CET (34w6d 22:14 ago)
Last configured: 2013-06-19 19:01:27 CEST (8w6d 17:52 ago) by pst
12:53PM up 244 days, 22:17, 3 users, load averages: 0.63, 0.37, 0.29
fpc1:
--------------------------------------------------------------------------
Current time: 2013-08-21 12:53:37 CEST
System booted: 2012-12-19 13:36:49 CET (34w6d 22:16 ago)
Protocols started: 2012-12-19 13:39:24 CET (34w6d 22:14 ago)
Last configured: 2013-06-19 19:01:20 CEST (8w6d 17:52 ago) by pst
12:53PM up 244 days, 22:17, 0 users, load averages: 0.22, 0.12, 0.09
fpc2:
--------------------------------------------------------------------------
Current time: 2013-08-21 12:53:37 CEST
System booted: 2012-12-19 13:37:10 CET (34w6d 22:16 ago)
Last configured: 2013-06-19 19:01:20 CEST (8w6d 17:52 ago) by pst
12:53PM up 244 days, 22:16, 0 users, load averages: 0.04, 0.02, 0.00
{master:0}
prompt> show version
#################
If I request the following 2 commands should be send (just the other way round):
show version
show system uptime
Show version is ment to be the invalid command......
However, the outputfile looks like:
^
unknown command.
{master:0}
prompt> show version
show system uptime
fpc0:
--------------------------------------------------------------------------
Hostname: xyz
Model: ex4200-24f
JUNOS Base OS boot [12.2R2.4]
JUNOS Base OS Software Suite [12.2R2.4]
JUNOS Kernel Software Suite [12.2R2.4]
JUNOS Crypto Software Suite [12.2R2.4]
JUNOS Online Documentation [12.2R2.4]
JUNOS Enterprise Software Suite [12.2R2.4]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.2R2.4]
JUNOS Routing Software Suite [12.2R2.4]
JUNOS Web Management [12.2R2.4]
JUNOS FIPS mode utilities [12.2R2.4]
fpc1:
--------------------------------------------------------------------------
Hostname: xyz
Model: ex4200-24f
JUNOS Base OS boot [12.2R2.4]
JUNOS Base OS Software Suite [12.2R2.4]
JUNOS Kernel Software Suite [12.2R2.4]
JUNOS Crypto Software Suite [12.2R2.4]
Wrote 41 lines of output to 'how system uptime'
JUNOS Kernel Software Suite [12.2R2.4]
JUNOS Crypto Software Suite [12.2R2.4]
JUNOS Online Documentation [12.2R2.4]
JUNOS Enterprise Software Suite [12.2R2.4]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.2R2.4]
JUNOS Routing Software Suite [12.2R2.4]
JUNOS Web Management [12.2R2.4]
JUNOS FIPS mode utilities [12.2R2.4]
{master:0}
prompt>
###################
Can someone help?
Thank you in advance!