Snmp protocol versions, Configuring basic snmp settings, Configuring basic snmpv3 settings – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 41

Advertising
background image

32

Notifications—Includes traps and informs. SNMP agent sends traps or informs to report events to

the NMS. The difference between these two types of notification is that informs require
acknowledgement but traps do not. The device supports only traps.

SNMP protocol versions

H3C supports SNMPv1, SNMPv2c, and SNMPv3. An NMS and an SNMP agent must use the same

SNMP version to communicate with each other.

SNMPv1 uses community names for authentication. To access an SNMP agent, an NMS must use
the same community name as set on the SNMP agent. If the community name used by the NMS is

different from the community name set on the agent, the NMS cannot establish an SNMP session to

access the agent or receive traps and notifications from the agent.

SNMPv2c also uses community names for authentication. SNMPv2c is compatible with SNMPv1,
but supports more operation modes, data types, and error codes.

SNMPv3 uses a user-based security model (USM) to secure SNMP communication. You can
configure authentication and privacy mechanisms to authenticate and encrypt SNMP packets for

integrity, authenticity, and confidentiality.

Configuring basic SNMP settings

SNMPv3 differs from SNMPv1 and SNMPv2c in many ways. Their configuration procedures are
described in separate sections.

Configuring basic SNMPv3 settings

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the SNMP agent.

snmp-agent

Optional.
By default, the SNMP agent is

disabled.
You can also enable the SNMP
agent by using any command that

begins with snmp-agent except the

snmp-agent calculate-password
command.

3.

Configure system information
for the SNMP agent.

snmp-agent sys-info { contact
sys-contact | location sys-location
| version { all | { v1 | v2c |

v3 }* } }

Optional.
By default, the contact is Hangzhou

H3C Tech. Co.,Ltd., the physical
location is Hangzhou, China, and

the protocol version is SNMPv3.

Advertising
This manual is related to the following products: