C
HAPTER
26
| SNMP Commands
– 340 –
EXAMPLE
SNMP/Trap>mode enable
SNMP/Trap>
snmp trap version This command displays or sets the SNMP trap protocol version.
SYNTAX
snmp trap version [1 | 2c | 3]
1 - SNMP version 1.
2c - SNMP version 2c.
3 - SNMP version 3.
DEFAULT SETTING
SNMP v1
COMMAND USAGE
This command specifies whether to send notifications as SNMP v1, v2c, or
v3 traps.
EXAMPLE
SNMP/Trap>version 3
SNMP/Trap>
snmp trap
community
This command displays or sets the community string for SNMP traps.
SYNTAX
snmp trap community [community]
community - The community access string to use when sending
SNMP trap packets. (Range: 0-255 characters, ASCII characters 33-
126 only)
DEFAULT SETTING
public
EXAMPLE
SNMP/Trap>community r&d
SNMP/Trap>