3 snmptrap <name> <ipaddr, 4 snmptrap ipaddr – Fortinet MR1 User Manual

Page 153

Advertising
background image

153

5.3.5.3 snmptrap <name> <ipaddr>

This command adds an SNMP trap name. The maximum length of the name is 16
case-sensitive alphanumeric characters.

Syntax

snmptrap <name> <ipaddr>

no snmptrap <name> <ipaddr>

<name> - SNMP trap name (Range: up to 16 case-sensitive alphanumeric characters).

<ipaddr> - an IP address of the trap receiver.

no - This command deletes trap receivers for a community.

Default Setting

None

Command Mode

Global Config

5.3.5.4 snmptrap ipaddr

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.

Note:
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.

Advertising