ComOS Command Example

irx111> set snmp ?

ON OFF Readcommunity Writecommunity

irx111> !! readcommunity ?

set snmp readcommunity ?

string256 NONE <CR>

irx111> !! public

set snmp readcommunity public

SNMP read community changed to: public

  1. This example adds a question mark after set snmp, and ComOS responds by listing the options for set snmp.
  2. The entry !! readcommunity selects readcommunity as the option.
  3. ComOS responds, set snmp readcommunity ? string256 NONE <CR>. ComOS thus accepts readcommunity as the option and asks for a final option, which can be a string of up to 256 characters, or NONE. (NONE---no final option---can be indicated by pressing the carriage return).
  4. When !! public is entered as the final option, ComOS responds by appending public to the entire set command so that it reads now set snmp readcommunity public.

See the PortMaster Command Line Reference for complete ComOS command information.