Open Gear : Basic Commands

Here are some basic commands to help you get around when using Open Gear Terminal Server. These devices are incredibly useful for accessing Network Devices Out of Band. On the newer models you can use them with Cellular Access and a Static IP, so when your Device or Network goes down you can still access your devices Out of Band. 

To view all ports

pmshell

To exit from one device

~. <Enter>

$ pmshell

(standard user)

or

# pmshell

(root user)

 

For example, enter a device to be managed:

2: CISCOASA   3: CISCOSWITCH   4: CISCOROUTER

> 3

Once the selection has been made, type one of the following selections:

CISCOASA> ~?  (Note: Typing this ESCAPE sequence should not be visible for this to work. Should you start to see typing, hit enter 1-2 times to refresh)

Help Menu: ~~?     —>  double tilde is required for ALL OpenSSH based terminals (Mac & Linux)

Shell Commands:

~b – Generate BREAK

~h – View history

~p – Power menu

~m – Connect to port menu

~. – Exit pmshell

~? – Show this message

 

PMSHELL Command Breakdown:

~b –> (BREAK sequence) often used in device recovery situations.

~h –> recent port history of RX/TX operations

~p –> (optional) if a managed PDU has been configured, the device would have the ability to pull-up the power menu directly from the device.

~m –> at any point when connected to an active console session, this will return you back to the main pmshell selection menu.

~. –> (tilde period)  exit the pmshell system when actively connected to a console session.

~? –> displays pmshell command usage information.

4 Replies to “Open Gear : Basic Commands”

  1. is there a command to exit out of pmshell (other than Ctrl+C or Ctrl+Z)?

    Connect to port > exit

    ERROR: Not a valid port
    Connect to port > quit

    ERROR: Not a valid port
    Connect to port > ~h~.~~?

    ERROR: Not a valid port

    1. Hi George,

      Are you talking about exiting out of a session back to pmshell? If so you can use ~. then press Enter.

      Cheers

      The Packet Wizard

  2. I can’t figure this thing out either, those commands do nothing….

    Connect to port > ~.

    ERROR: Not a valid port

    1: Switch1 2: Switch2 32: Switch3

    Connect to port > ~~.

    ERROR: Not a valid port

    1: Switch1 2: Switch2 32: Switch3

    How do I get out of this???

    1. Connect to port > you should add the port number
      eg:
      Connect to port > you type 1 to access Switch1

      ~. must be hit to exit the port selection or pmshell.

Leave a Reply

Your email address will not be published. Required fields are marked *