Home Page Articles User Guides News Letter  



Author Topic: definitive Shell command guide?  (Read 57167 times)

Offline Chakara

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
  • Karma: +2/-0
    • View Profile
    • Kyle Petree
Re: definitive Shell command guide?
« Reply #15 on: April 02, 2009, 09:03:32 PM »
  Not yet - I know that some @ Mitel are aware of the site but nothing.  My hope is that as Mitel is a good system this site won't turn into a Mitel bashing site, and thus presents Mitel in a positive way.  As to the stuff above - well, it's useful to techs and is not warranted by Mitel Forums in any way shape or form :)

Chak


Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5289
  • Country: us
  • Karma: +453/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: definitive Shell command guide?
« Reply #16 on: April 09, 2009, 09:42:20 AM »
Does anyone know if there is a tracert command avail in the RTC?

~Ralph

« Last Edit: November 04, 2013, 10:31:11 AM by ralph »

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5289
  • Country: us
  • Karma: +453/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: definitive Shell command guide?
« Reply #17 on: April 09, 2009, 09:50:43 AM »
xmirror "2 1"   Mirror Ethernet ports 2 to port 1 on the MXe controller.

Ralph

« Last Edit: November 04, 2013, 10:31:27 AM by ralph »

Offline MitelMania

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: definitive Shell command guide?
« Reply #18 on: April 10, 2009, 08:28:02 AM »
tracert "xxx.xxx.xxx.xxx" where xxx.xxx.xxx.xxx is the IP address or hostname to traceroute to(you need the quotes)..  that works for me in the port 2002 shell

do a netHelp (case sensitive) and you will get all kinds of network commands you can do. all the RTC shell commands are case sensitive

-Christopher

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5289
  • Country: us
  • Karma: +453/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: definitive Shell command guide?
« Reply #19 on: April 10, 2009, 10:21:16 AM »
I could've swore I tried the tracert command in that format.
But when I got it right I was able to solve a problem with a Teleworker issue I've been having.

Thanks MitelMania!

Ralph
« Last Edit: April 22, 2014, 03:44:53 PM by ralph »

Offline MitelMania

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: definitive Shell command guide?
« Reply #20 on: April 10, 2009, 03:39:20 PM »
you can also trace route in the ESM as well although it sometimes responds very slow there...

maint commands all
then
TRACERT RTC xxx.xxx.xxx.xxx

will traceroute from the RTC to the IP specified

-Christopher

Offline MitelMania

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: definitive Shell command guide?
« Reply #21 on: April 17, 2009, 11:19:01 AM »
of course to really find out ALL the commands someone could use the vxworks command "lkup"

this will show you ALL of the symbols in use by the software... including subroutines etc....  real dangerous but getting a full list from that command yields thousands of "symbols" in use...
-Christopher

Offline v2win

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 599
  • Country: us
  • Karma: +9/-0
    • View Profile
Re: definitive Shell command guide?
« Reply #22 on: April 20, 2009, 10:20:56 AM »
tried the lkup command it just tells you how many symbols there are not what they are. Unless I am missing something which is entirely possible.

-> lkup
Number of Symbols   : 160346
Symbol Mutex Id     : 0x1dcc80a8
Symbol Hash Id      : 0x1dcc7880
Symbol memPartId    : 0x353e34c
Name Clash Policy   : Allowed
value = 0 = 0x0           

Offline MitelMania

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: definitive Shell command guide?
« Reply #23 on: April 22, 2009, 04:48:11 PM »
you would do

lkup"dhcp"

to find any symbols containing dhcp...  all symbols are case sensitive..  most symbols are software routines designed to be called by the system not by the shell.. however if a command exists it will be in there...

I definately would not play with the symbols on a working production system...  arbitrarily calling a routine could throw the software into a Tizzy

-Christopher

Offline Chakara

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
  • Karma: +2/-0
    • View Profile
    • Kyle Petree
Re: definitive Shell command guide?
« Reply #24 on: April 30, 2009, 10:02:43 PM »
Thanks to Ralph - Trunk Utilization info:




Telnet into the system.
enter "cat info *.traffic"
system will show you all the files
then you can type "type *.traffic.<file>"
it will print to your screen.
You can also print from there if you enter: "print *.traffic.<file>/port lpr3"
Then enter "en pr"

For traffic you can also enter "Traffic"  and it will prompt you for some more details.   
Traffic files
Traffic print
traffic set

« Last Edit: May 02, 2009, 12:32:07 AM by Chakara »

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5289
  • Country: us
  • Karma: +453/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: definitive Shell command guide?
« Reply #25 on: July 28, 2009, 08:12:07 AM »
New command.   VIA the RTC.
dosFsShow "/vmail"

Show how much disk space you have for voice mail.

Ralph
« Last Edit: November 04, 2013, 10:31:53 AM by ralph »

Offline Chakara

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 607
  • Karma: +2/-0
    • View Profile
    • Kyle Petree
Re: definitive Shell command guide?
« Reply #26 on: October 15, 2009, 10:58:23 PM »
  Stolen from this http://www.mitelforums.com/forum/index.php?topic=15.0 thread, here is how to restart the web server on your 3300:

Remotely
Log into the 3300 shell using port 2002
login with your user name and password

To stop the web server type - ts WebServer
To start the web server type - tr WebServer
To view the information on the web server type - i WebServer


boycey9

  • Guest
Re: definitive Shell command guide?
« Reply #27 on: February 04, 2010, 06:24:05 AM »
Sorry a bit messy but missing the formatting of the word doc although I think the vitals can be gleamed from this



MN3300 Command Summary /Usage/Troubleshooting

Section I General commands ( These commands are entered on RTC console, unless otherwise specified.)
Note: some commands may NOT be used via Secure Telnet ( need to verify first)
Some useful hint: If you want to repeat the previous commands, hit ESC + K
Command syntax   Usage/purpose
arpShow     To show ARP cache
arpFlush()   To delete entire ARP cache
arpDelete(

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5289
  • Country: us
  • Karma: +453/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: definitive Shell command guide?
« Reply #28 on: February 04, 2010, 08:17:58 AM »
Thanks for the input.   
The note refrence other "Sections".   Would you happen to have those sections?

Ralph
« Last Edit: November 04, 2013, 10:32:11 AM by ralph »

Offline arthurtoo

  • New Member
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: definitive Shell command guide?
« Reply #29 on: February 11, 2010, 08:49:30 AM »
How to identify 3300 platform types:

RTC shell, type sysGetPlatformFamily


Determine the platform types as follows:

For CX = 64
For MX = 200
For Lite = 250
For AX = 300
For LX = 1000
For MXe = 2000

Code: [Select]
-> sysGetPlatformFamily
sysGetPlatformFamily
value = 250 = 0xfa
->



 

Sitemap 1 2 3 4 5 6 7 8 9