Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure SNMP.

  config wireless-controller snmp
      Description: Configure SNMP.
      set engine-id {string}
      set contact-info {string}
      set trap-high-cpu-threshold {integer}
      set trap-high-mem-threshold {integer}
      config community
          Description: SNMP Community Configuration.
          edit <id>
              set name {string}
              set status [enable|disable]
              set query-v1-status [enable|disable]
              set query-v2c-status [enable|disable]
              set trap-v1-status [enable|disable]
              set trap-v2c-status [enable|disable]
              config hosts
                  Description: Configure IPv4 SNMP managers (hosts).
                  edit <id>
                      set ip {user}
                  next
              end
          next
      end
      config user
          Description: SNMP User Configuration.
          edit <name>
              set status [enable|disable]
              set queries [enable|disable]
              set trap-status [enable|disable]
              set security-level [no-auth-no-priv|auth-no-priv|...]
              set auth-proto [md5|sha]
              set auth-pwd {password}
              set priv-proto [aes|des|...]
              set priv-pwd {password}
              set notify-hosts {ipv4-address}
          next
      end
  end

config wireless-controller snmp

Parameter Name Description Type Size
engine-id AC SNMP engineId string (maximum 24 characters). string Maximum length: 23
contact-info Contact Information. string Maximum length: 31
trap-high-cpu-threshold CPU usage when trap is sent. integer Minimum value: 10 Maximum value: 100
trap-high-mem-threshold Memory usage when trap is sent. integer Minimum value: 10 Maximum value: 100
Parameter Name Description Type Size
name Community name. string Maximum length: 35
status Enable/disable this SNMP community.
enable: Enable setting.
disable: Disable setting.
option -
query-v1-status Enable/disable SNMP v1 queries.
enable: Enable setting.
disable: Disable setting.
option -
query-v2c-status Enable/disable SNMP v2c queries.
enable: Enable setting.
disable: Disable setting.
option -
trap-v1-status Enable/disable SNMP v1 traps.
enable: Enable setting.
disable: Disable setting.
option -
trap-v2c-status Enable/disable SNMP v2c traps.
enable: Enable setting.
disable: Disable setting.
option -

config hosts

Parameter Name Description Type Size
ip IPv4 address of the SNMP manager (host). user Not Specified
Parameter Name Description Type Size
status SNMP User Enable
enable: Enable setting.
disable: Disable setting.
option -
queries Enable/disable SNMP queries for this user.
enable: Enable setting.
disable: Disable setting.
option -
trap-status Enable/disable traps for this SNMP user.
enable: Enable setting.
disable: Disable setting.
option -
security-level Security level for message authentication and encryption.
no-auth-no-priv: Message with no authentication and no privacy (encryption).
auth-no-priv: Message with authentication but no privacy (encryption).
auth-priv: Message with authentication and privacy (encryption).
option -
auth-proto Authentication protocol.
md5: HMAC-MD5-96 authentication protocol.
sha: HMAC-SHA-96 authentication protocol.
option -
auth-pwd Password for authentication protocol. password Not Specified
priv-proto Privacy (encryption) protocol.
aes: CFB128-AES-128 symmetric encryption protocol.
des: CBC-DES symmetric encryption protocol.
aes256: CFB128-AES-256 symmetric encryption protocol.
aes256cisco: CFB128-AES-256 symmetric encryption protocol compatible with CISCO.
option -
priv-pwd Password for privacy (encryption) protocol. password Not Specified
notify-hosts Configure SNMP User Notify Hosts. ipv4-address Not Specified

Configure SNMP.

  config wireless-controller snmp
      Description: Configure SNMP.
      set engine-id {string}
      set contact-info {string}
      set trap-high-cpu-threshold {integer}
      set trap-high-mem-threshold {integer}
      config community
          Description: SNMP Community Configuration.
          edit <id>
              set name {string}
              set status [enable|disable]
              set query-v1-status [enable|disable]
              set query-v2c-status [enable|disable]
              set trap-v1-status [enable|disable]
              set trap-v2c-status [enable|disable]
              config hosts
                  Description: Configure IPv4 SNMP managers (hosts).
                  edit <id>
                      set ip {user}
                  next
              end
          next
      end
      config user
          Description: SNMP User Configuration.
          edit <name>
              set status [enable|disable]
              set queries [enable|disable]
              set trap-status [enable|disable]
              set security-level [no-auth-no-priv|auth-no-priv|...]
              set auth-proto [md5|sha]
              set auth-pwd {password}
              set priv-proto [aes|des|...]
              set priv-pwd {password}
              set notify-hosts {ipv4-address}
          next
      end
  end

config wireless-controller snmp

Parameter Name Description Type Size
engine-id AC SNMP engineId string (maximum 24 characters). string Maximum length: 23
contact-info Contact Information. string Maximum length: 31
trap-high-cpu-threshold CPU usage when trap is sent. integer Minimum value: 10 Maximum value: 100
trap-high-mem-threshold Memory usage when trap is sent. integer Minimum value: 10 Maximum value: 100
Parameter Name Description Type Size
name Community name. string Maximum length: 35
status Enable/disable this SNMP community.
enable: Enable setting.
disable: Disable setting.
option -
query-v1-status Enable/disable SNMP v1 queries.
enable: Enable setting.
disable: Disable setting.
option -
query-v2c-status Enable/disable SNMP v2c queries.
enable: Enable setting.
disable: Disable setting.
option -
trap-v1-status Enable/disable SNMP v1 traps.
enable: Enable setting.
disable: Disable setting.
option -
trap-v2c-status Enable/disable SNMP v2c traps.
enable: Enable setting.
disable: Disable setting.
option -

config hosts

Parameter Name Description Type Size
ip IPv4 address of the SNMP manager (host). user Not Specified
Parameter Name Description Type Size
status SNMP User Enable
enable: Enable setting.
disable: Disable setting.
option -
queries Enable/disable SNMP queries for this user.
enable: Enable setting.
disable: Disable setting.
option -
trap-status Enable/disable traps for this SNMP user.
enable: Enable setting.
disable: Disable setting.
option -
security-level Security level for message authentication and encryption.
no-auth-no-priv: Message with no authentication and no privacy (encryption).
auth-no-priv: Message with authentication but no privacy (encryption).
auth-priv: Message with authentication and privacy (encryption).
option -
auth-proto Authentication protocol.
md5: HMAC-MD5-96 authentication protocol.
sha: HMAC-SHA-96 authentication protocol.
option -
auth-pwd Password for authentication protocol. password Not Specified
priv-proto Privacy (encryption) protocol.
aes: CFB128-AES-128 symmetric encryption protocol.
des: CBC-DES symmetric encryption protocol.
aes256: CFB128-AES-256 symmetric encryption protocol.
aes256cisco: CFB128-AES-256 symmetric encryption protocol compatible with CISCO.
option -
priv-pwd Password for privacy (encryption) protocol. password Not Specified
notify-hosts Configure SNMP User Notify Hosts. ipv4-address Not Specified