Operation Manual – SNMP and RMON
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration
Huawei Technologies Proprietary
1-8
1.4 Setting the Logging Function for Network Management
Table 1-5 Set the logging function for network management
Operation Command Description
Enter system view
system-view
—
Set the logging
function for network
management
snmp-agent log
{ set-operation |
get-operation | all }
Optional;
By default, the logging
function for SNMP is disabled.
Note:
z In the environment of a single device, use the display logbuffer command to view
the logging information for the get and set operations sent from NMS.
z In the fabric environment, use the display logbuffer command on the master
device to view the logging information for the set operation. Use the display
logbuffer command on the device that has received the get message to view the
logging information for the get operation sent from NMS.
1.5 Displaying SNMP
After the above configuration is completed, execute the display command in any view
to view the running status of SNMP, and to verify the configuration.
Table 1-6 Display SNMP
Operation Command Description
Display system information of the
current SNMP device
display snmp-agent
sys-info [ contact |
location | version ]*
Display SNMP packet statistics
information
display snmp-agent
statistics
Display the engine ID of the current
device
display snmp-agent
{ local-engineid |
remote-engineid }
Display group information about the
device
display snmp-agent
group [ group-name ]
Display SNMP user information
display snmp-agent
usm-user [ engineid
engineid | username
user-name | group
group-name ]
The display
command
can be
executed in
any view