5 snmptrap ipaddr <name> <ipaddr> <ipaddrnew, 6 snmptrap mode – Fortinet 548B User Manual

Page 181

Advertising
background image

- 181 -

Command Mode

Global Config

7.3.6.5 snmptrap ipaddr <name> <ipaddr> <ipaddrnew>

This command changes the IP address of the trap receiver for the specified community name. The
maximum length of name is 16 case-sensitive alphanumeric characters.

i

IP addresses in the SNMP trap receiver table must be unique for the same community
name. If you make multiple entries using the same IP address and community name, the
first entry is retained and processed. All duplicate entries are ignored.

Syntax

snmptrap ipaddr <name> <ipaddr> <ipaddrnew>

<name> - SNMP trap name.

<ipaddr> - an original IP address.

<ipaddrnew> - a new IP address.

Default Setting

None

Command Mode

Global Config

7.3.6.6 snmptrap mode

This command activates or deactivates an SNMP trap. Enabled trap receivers are active (able to receive
traps). Disabled trap receivers are inactive (not able to receive traps).

Syntax

snmptrap mode <name> <ipaddr>
no snmptrap mode <name> <ipaddr>

<name> - SNMP trap name.

<ipadd> - an IP address.

no - This command deactivates an SNMP trap. Trap receivers are inactive (not able to receive
traps).

Advertising