4 snmptrap <name> ipaddr <ipaddr> <snmpversion – Fortinet 548B User Manual

Page 180

Advertising
background image

- 180 -

Default Setting

Disabled

Command Mode

Interface Config

This command enables link status traps for all interfaces.

i

This command is valid only when the Link Up/Down Flag is enabled.

See ‘snmpserver

enable traps linkmode’ command.

Syntax

snmp trap link-status all
no snmp trap link-status all

all - All interfaces.

no - This command disables link status traps for all interfaces.

Default Setting

Disabled

Command Mode

Global Config

7.3.6.4 snmptrap <name> ipaddr <ipaddr> <snmpversion>

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

Syntax

snmptrap <name> ipaddr <ipaddr> <snmpversion>
no snmptrap <name> <ipaddr> <snmpversion>

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

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

<snmpversion> - SNMP trap version.

no - This command deletes trap receivers for a community.

Default Setting

None

Advertising