1.5 Displaying Snmp; 1.6 Snmp Configuration Example - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

Note:
When SNMP logging is enabled on a device, SNMP logs are output to the information center of
the device. With the output destinations of the information center set, the output destinations of
SNMP logs will be decided.
The severity level of SNMP logs is informational, that is, the logs are taken as general prompt
information of the device. To view SNMP logs, you need to enable the information center to
output system information with informational level.
For detailed description on system information and information center, refer to the Information
Center Configuration part in this manual.

1.5 Displaying SNMP

To do...
Display the SNMP information
about the current device
Display SNMP packet statistics
Display the engine ID of the
current device
Display group information
about the device
Display SNMP user information
Display trap list information
Display the currently configured
community name
Display the currently configured
MIB view

1.6 SNMP Configuration Example

1.6.1 SNMP Configuration Example
1. Network requirements
An NMS and Switch A (SNMP agent) are connected through the Ethernet. The IP address of
the NMS is 10.10.10.1 and that of the VLAN interface on Switch A is 10.10.10.2.
Perform the following configuration on Switch A: setting the community name and access
permission, administrator ID, contact and switch location, and enabling the switch to sent
traps.
Thus, the NMS is able to access Switch A and receive the traps sent by Switch A.
Use the command...
display snmp-agent sys-info
|
]*
location
version
display snmp-agent statistics
{
display snmp-agent
local-engineid
}
remote-engineid
display snmp-agent group
display snmp-agent usm-user
|
engineid
username user-name
]*
group-name
display snmp-agent trap-list
display snmp-agent community
display snmp-agent mib-view
|
include
viewname view-name
1-6
[
|
contact
|
[
]
group-name
Available in any
[
engineid
view.
|
group
[
|
]
read
write
[
|
exclude
]
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents