Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 

To view SNMP help output

  • [ctp_cmd@nova_47 ~ 1]> syscfg -h -u snmpdconf
    
    Usage: syscfg -s -u snmpdconf [-o interactive] [-v ':<token>:[<token>:]']
     	-o interactive option will ask the user for input (menu mode)
      	-v strings begin and end with a ":", and have one or more tokens
      Valid tokens are:
      CO,<string>  = Contact String.  Alphanum, -, _ or space
      LO,<string>  = Location String. Alphanum, -, _ or space
      STx  = Enable or disable SNMP daemon (1=enable,0=disable).
      USR,rw|ro,2,4|6,comm,ip,
            rw|ro - read/write or read-only snmp user
            2     - SNMPv2 user (SNMPv1 also)
            4|6   - IPv4 or IPv6 user
            comm  - community string (alphanum,_,-,!,@ or #)
            ip    - IP access for specific IP address, or "default" for any IP
                  - IP (v4&v6) Subnet access is OK using CIDR notation
      USR,ro,3,user,pass,
            ro    - read-only snmp user
            3     - SNMPv3 user
            user  - username
            pass  - password (must be at least 8 chars)
    
      Notes:
            - Leaving out CO and LO tokens will result in those fields being
              set to "Unset" in the config file
            - Only USR tokens specified will exist on the system after config
              All previous SNMP users will be deleted
              SNMPv3 users are fixed to any IP access
    
    Useage: syscfg -r -u snmpdconf
    Dumps current SNMP config in above -v format
    

Modified: 2015-11-17