Chapter 33  SNMP Commands 
SNMP (Simple Network Management Protocol) functions are used to manage the network 
devices for a smooth communication, which can facilitate the network administrators to 
monitor the network nodes and implement the proper operation. 
33.1  snmp-server 
Description 
The snmp-server command is used to enable the SNMP function. By default, 
it is disabled. To return to the default configuration, please use no 
snmp-server command. 
Syntax 
snmp-server 
no snmp-server 
Command Mode 
Global Configuration Mode 
Privilege Requirement 
Only Admin level users have access to these commands. 
Example 
Enable the SNMP function: 
T2500G-10TS(config)# snmp-server 
33.2  snmp-server view 
Description 
The  snmp-server view  command is used to add View. To delete the 
corresponding View, please use  no  snmp-server view  command. The OID 
(Object Identifier) of the SNMP packets is used to describe the managed 
objects of the switch, and the MIB (Management Information Base) is the set 
of the OIDs. The SNMP View is created for the SNMP management station to 
manage MIB objects. 
Syntax 
snmp-server view 
name
 
mib-oid
 { include | exclude } 
no snmp-server view 
name
 
mib-oid
 
288