![D-Link DES-3226L Cli Command Reference Download Page 47](http://html1.mh-extra.com/html/d-link/des-3226l/des-3226l_cli-command-reference_3319917047.webp)
Setup and Management Commands
47
snmptrap ipaddr
This command assigns an IP address to a specified community name. The maximum length of name is
16 case-sensitive alphanumeric characters. IP addresses in the SNMP trap receiver table must be
unique. If you make multiple entries using the same IP address, the first entry is retained and processed.
All duplicate entries are ignored.
Format
snmptrap ipaddr <name> <ipaddrold> <ipaddrnew>
Mode
Global Config
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).
Format
snmptrap mode <name> <ipaddr>
Mode
Global Config
no snmptrap mode
This command deactivates an SNMP trap.
Format
no snmptrap mode <name> <ipaddr>
Mode
Global Config
snmp trap link-status
This command enables link status traps by interface. This command is valid only when the Link Up/
Down Flag is enabled. See “snmp-server enable traps linkmode” on page 45.
Format
snmp trap link-status
Mode
Interface Config
no snmp trap link-status
This command disables link status traps by interface. This command is valid only when the Link Up/
Down Flag is enabled.
Format
no snmp trap link-status
Mode
Interface Config
snmp trap link-status all
This command enables link status traps for all interfaces. This command is valid only when the Link
Up/Down Flag is enabled. See “snmp-server enable traps linkmode” on page 45.
Format
snmp trap link-status all
Mode
Global Config
Summary of Contents for DES-3226L
Page 2: ......
Page 11: ...List of Figures 11 List of Figures Figure 1 Mode based CLI 26 Figure 2 Syntax Error Message 28...
Page 12: ...12 D Link DES 3226L Command Line Reference...
Page 14: ...14 D Link DES 3226L Command Line Reference...
Page 16: ...16 D Link DES 3226L Command Line Reference...
Page 18: ...18 D Link DES 3226L Command Line Reference...
Page 24: ...24 D Link DES 3226L Command Line Reference...
Page 50: ...50 D Link DES 3226L Command Line Reference...
Page 82: ...82 D Link DES 3226L Command Line Reference...
Page 104: ...104 D Link DES 3226L Command Line Reference...