3com 8807 Reference Guide

Page of 1099
908
C
HAPTER
 53: SNMP C
ONFIGURATION
 C
OMMANDS
Example
# Create an SNMP group named test.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] snmp-agent group v3 test. 
snmp-agent 
local-engineid
Syntax
snmp-agent local-engineid engineid
undo snmp-agent local-engineid
View
System view
Parameter
engineid: Specifies the engine ID with a character string, only composed of 
hexadecimal numbers between 5 and 32 including.
Description
Use the snmp-agent local-engineid command to configure a name for a local or 
remote SNMP engine on the switch.
Use the command to Using undo snmp-agent local-engineid command, you 
can restore the default setting of engine ID.
By default, the engine ID is corporation number + device information. Device 
information is determined according to different products. It can be IP address, 
MAC address or user defined text. However, you must use numbers in 
hexadecimal form.
Example
# Configure the ID of a local or remote device as 1234512345.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] snmp-agent local-engineid 1234512345 
snmp-agent mib-view
Syntax
snmp-agent mib-view { included | excluded } view-name oid-tree
undo snmp-agent mib-view view-name
View
System view
Parameter
included: Includes this MIB subtree.
excluded: Excludes this MIB subtree.