H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 1
SNMP Configuration Commands
1-12
Related commands: snmp-agent mib-view, snmp-agent usm-user.
Examples
# Create SNMPv3 group named hello.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] snmp-agent group v3 hello
1.1.12 snmp-agent local-engineid
Syntax
snmp-agent local-engineid engineid
undo snmp-agent local-engineid
View
System view
Parameters
engineid: Engine ID, a character string of 10 to 64 hexadecimal numbers. Two
hexadecimal characters form an octet.
Description
Use the snmp-agent local-engineid command to set the engine ID of the local SNMP
entity.
Use the undo snmp-agent local-engineid command to restore the default settings.
By default, the engine ID is "Enterprise number + device information". Device
information is determined by products. It can be an IP address, MAC address or
user-defined string in hexadecimal format.
Related commands: snmp-agent usm-user.
Examples
# Configure the local device name as 1234512345.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] snmp-agent local-engineid 1234512345
1.1.13 snmp-agent mib-view
Syntax
snmp-agent mib-view { included | excluded } view-name oid-tree