User Guide
219
meantime (Adding the first community name enables the SNMP agent feature and the SNMP will
stay enabled thereafter unless disabled intentionally); note that you must create a view before you
can create a community
TENDA(config)# snmp-server community private ro
Note:
Set community name to private, access right to read only
TENDA(config)# snmp-server community TENDA rw
Note:
Specify community name as Tenda and access right as read & write
TENDA(config)# snmp-server packetsize 1500
Note:
Set SNMP packet size to 1500
TENDA(config)# snmp-server version 1&2c
Note:
Specify SNMP version as V1 and V2c
TENDA(config)# snmp-server version 1
Note:
Set SNMP version to V1
TENDA(config)# snmp-server version V2c
Note:
Set SNMP version to V2c
TENDA(config)# no snmp-server community TENDA
Note:
Delete community name
Disable SNMP agent
TENDA(config)# no snmp-server
Note:
Disable SNMP agent globally
View SNMP agent settings
TENDA# show snmp-server
Enable Trap
TENDA(config)# snmp-server trap on
Note:
Enable Trap
TENDA(config)# snmp-server trap type 1
Note:
Enable cold trap on the switch
TENDA(config)# snmp-server trap type 2
Note:
Enable warmstart trap on the switch
TENDA(config)# snmp-server trap type 4
Note:
Enable Linkdown Trap on the switch