OpenGear

Connecting to console port

  • Using Gui

  • Directly using SSH:

    • ssh $username+$portnumber

    • ssh $username+$label

  • PMShell from CLI:

    • Login to CLI: ssh $username

    • Access shell: pmshell

      • can add +serial to the username to access pmshell automatically (CM8000 Series)

    • Access console port: $portnumber

    • Escape sequence: $Enter ~ m

  • Shell Commands:

    • ~b - Generate BREAK

    • ~h - View history

    • ~p - Power menu

    • ~c - Port Configuration menu

    • ~u – User sessions disconnect menu

    • ~m - Connect to port menu

    • ~. - Exit pmshell

    • ~? - Show this message

    • ~b - send break to connected serial device, ~~b if from an ssh connection

Configuring using OGCLI

  • default account: root/default

Change IP address of interface using ogcli

Changing Log level

  • ogcli u port port16 logging_level="eventsAndReceivedCharacters"

  • ogcli u port port16 logging_level="disabled"

  • ogcli g port port16

  • cat /run/port16.log to view log (not persistent)

Show OGCLI commands

  • ogcli get system/version: get version

    • = config > system/serial_number > show

  • ogcli get system/info: = config > system/info > show

  • ogcli get conns: get network configurations

  • ogcli get physif bnd0: get bnd0 interface configuration

Lighthouse configuration

  • lh_resync: resync with light house from open gear device

NGINX Configuration (hosting WEBUI)

  • /etc/nginx/ssl-params.conf

  • /etc/config/cert/$hostname.pem

Configure Port Label

  • Log into Open Gear

  • Configure > Serial Ports

  • Click on port to edit and change Label

Configure Port using CLI on 7000 series

Configure multiple ports on 7000 series

Configure all ports

Using CLI

  • config

  • port $portnumber

  • lable "New Label"

  • changes: list changes

  • apply: apply change

  • up: go up 1 level to configure another port

  • exit: exit to bash shell

Generate Support Report

  • sudo support-report -z > /temp/report.zip

Reset to Factory Default

  • sudo factory_reset

  • Using physical erase button, click twice within 2 seconds

Backup and Restore

  • Backup: GUI: System > Export/Restore Configuration to export configuration

  • Restore: GUI: System > Export/Restore Configuration to restore configuration

    • CLI: Copy and paste directly to CLI

Reference

Last updated