6 Base Node Command Line Interface

The Linux application includes a Command Line Interface (CLI), which is useful to interact with the PRIME Network in real time. This section describes the different commands implemented. Consider all of this functionality as an example of an application for testing purposes and not as a definitive piece of software.

The command line includes a PRIME node accessible from the configuration menu for everything related with the PRIME network and other simple commands (like hostname, write, ping, ip,…) located on the generic nodes of CLI (show/enable/config).

CLI offers the possibility to save the configuration when any modification is finished running the following:

MCHP-PRIME-BASE> enable
MCHP-PRIME-BASE# configure  terminal
MCHP-PRIME-BASE(config)#write memory
Configuration saved to /etc/config/prime.conf

To access specific PRIME commands, go to the PRIME node running the following:

MCHP-PRIME-BASE> enable
MCHP-PRIME-BASE# configure  terminal
MCHP-PRIME-BASE(config)# prime
MCHP-PRIME-BASE(prime)#

Keying ‘?’ shows the specific commands for the PRIME node.

MCHP-PRIME-BASE(prime)#
  config            PRIME configuration
  end               End current mode and change to enable mode
  exit              Exit current mode and down to previous mode
  fw-upgrade        Firmware Upgrade
  mac               MAC Attribute
  mlme              PRIME MAC MLME Request Primitives
  network           PRIME Network
  phy               PRIME PHY PLME Request Primitives
  pib               PIB Attribute
  reboot            Reboot PRIME Modem
  reset             Reset
  show              Show PRIME
MCHP-PRIME-BASE(prime)#