Displaying and Changing SNMP-related Information 139
Removing Trap
Destination Details
You can remove the details of a current trap destination device using the 
remove
 command on the SNMP/Trap menu.
To remove trap destination details:
1
At the Top-level menu, enter:
snmp trap remove
The following prompt is displayed:
Select trap index (1,2,3,all):
2
Enter the index number of the trap destination device that is to have its 
details removed, or enter 
all
 to remove all trap destination device 
details.
Performing an SNMP
GET Command
An SNMP GET command allows you to retrieve values of SNMP objects 
from a network device. You can perform an SNMP GET command on the 
stack using the 
get
 command on the SNMP menu.
To perform an SNMP GET command on the stack:
1
At the Top-level menu, enter:
snmp get
The following prompt is displayed:
Enter object-identifier:
2
Enter the identifier of the SNMP object.
The following prompt is displayed:
Enter type (phys,ip,gauge,cnt,num,str)[str]:
3
Enter the data type of the SNMP object.
The value of the SNMP object is displayed.
Performing an SNMP
GETNEXT Command
An SNMP GET NEXT command allows you to specify an SNMP object in a 
network device and then retrieve information about the next few SNMP 
objects in the device. You can perform an SNMP GET NEXT command on 
the stack using the 
next
 command on the SNMP menu. 
To perform an SNMP GETNEXT command on the stack:
1
At the Top-level menu, enter:
snmp next