Fortinet black logo

CLI Reference

config system snmp sysinfo

config system snmp sysinfo

Use this command to configure SNMP settings.

Before you begin:

  • You must have read-write permission for system settings.

Syntax

config system snmp sysinfo

set contact <string>

set description <string>

set location <string>

set status {enable|disable>

end

contact

Contact information for the administrator or other person responsible for this system, such as a phone number (555-5555) or name (jdoe). The contact information can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ).

description

A description or comment about the system, such as dont‑reboot. The description can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ).

location

Physical location of the appliance, such as floor2. The location can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ).

status

Enable/disable the SNMP agent, so that the system can send traps and receive queries.

Example

FortiADC-VM # get system snmp sysinfo

status : disable

description :

location :

contact :

FortiADC-VM # config system snmp sysinfo

FortiADC-VM (sysinfo) # set status enable

FortiADC-VM (sysinfo) # end

FortiADC-VM # get system snmp sysinfo

status : enable

description :

location :

contact :

config system snmp sysinfo

Use this command to configure SNMP settings.

Before you begin:

  • You must have read-write permission for system settings.

Syntax

config system snmp sysinfo

set contact <string>

set description <string>

set location <string>

set status {enable|disable>

end

contact

Contact information for the administrator or other person responsible for this system, such as a phone number (555-5555) or name (jdoe). The contact information can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ).

description

A description or comment about the system, such as dont‑reboot. The description can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ).

location

Physical location of the appliance, such as floor2. The location can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ).

status

Enable/disable the SNMP agent, so that the system can send traps and receive queries.

Example

FortiADC-VM # get system snmp sysinfo

status : disable

description :

location :

contact :

FortiADC-VM # config system snmp sysinfo

FortiADC-VM (sysinfo) # set status enable

FortiADC-VM (sysinfo) # end

FortiADC-VM # get system snmp sysinfo

status : enable

description :

location :

contact :