125
Step
Command
Remarks
12.
(Optional.) Configure
the maximum SNMP
packet size (in bytes)
that the SNMP agent
can handle.
snmp-agent packet max-size
byte
-
count
By default, the maximum SNMP
packet size (in bytes) that the
SNMP agent can handle is 1500
bytes.
13.
Specify the UDP port
for receiving SNMP
packets.
snmp-agent port port-num
By default, the device uses UDP
port 161 for receiving SNMP
packets.
14.
(Optional.) Configure
SNMP agent alive
notification sending
and set the sending
interval.
snmp-agent trap periodical-interval
interval
By default, sending SNMP agent
alive notifications is enabled and
the sending interval is 60
seconds.
Configuring SNMPv3 basic parameters
Only users with the network-admin, mdc-admin, or level-15 user role can create SNMPv3 users or
groups. Users with other user roles cannot create SNMPv3 users or groups even if these roles are
granted access to related commands or commands of the SNMPv3 feature.
SNMPv3 users are managed in groups. All SNMPv3 users in a group share the same security model,
but can use different authentication and privacy key settings. To implement a security model for a
user and avoid SNMP communication failures, make sure the security model configuration for the
group and the security key settings for the user are compliant with
and match the settings on
the NMS.
Table 7
Basic security setting requirements for different security models
Security model
Security model
keyword for the group
Security key settings
for the user
Remarks
Authentication with
privacy
privacy
Authentication key,
privacy key
If the authentication key
or the privacy key is not
configured, SNMP
communication will fail.
Authentication without
privacy
authentication
Authentication key
If no authentication key is
configured, SNMP
communication will fail.
The privacy key (if any)
for the user does not take
effect.
No authentication, no
privacy
Neither
authentication
nor
privacy
None
The authentication and
privacy keys, if
configured, do not take
effect.
To configure SNMPv3 basic parameters:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A