Configuring snmpv1 or snmpv2c basic parameters – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 65

Advertising
background image

57

Step Command

Remarks

5.

Create or update a MIB view.

snmp-agent mib-view { excluded |
included } view-name oid-tree

[ mask mask-value ]

Optional.
By default, the MIB view

ViewDefault is predefined and its
OID is 1.
Each view-name oid-tree pair
represents a view record. If you

specify the same record with
different MIB subtree masks

multiple times, the last

configuration takes effect. Except

for the four subtrees in the default
MIB view, you can create up to 16

unique MIB view records.

6.

Configure an SNMPv3 group.

snmp-agent group v3 group-name
[ authentication | privacy ]

[ read-view read-view ]
[ write-view write-view ]

[ notify-view notify-view ] [ acl

acl-number ]

By default, no SNMP group exists.

7.

Convert a plaintext key to a
ciphertext (encrypted) key.

snmp-agent calculate-password
plain-password mode { 3desmd5 |
3dessha | md5 | sha }

{ local-engineid |

specified-engineid engineid }

Optional.

8.

Add a user to the SNMPv3
group.

snmp-agent usm-user v3
user-name group-name [ [ cipher ]

authentication-mode { md5 | sha }
auth-password [ privacy-mode

{ 3des | aes128 | des56 }

priv-password ] ] [ acl acl-number ]

N/A

9.

Configure the maximum
SNMP packet size (in bytes)

that the SNMP agent can
handle.

snmp-agent packet max-size
byte-count

Optional.
By default, the SNMP agent can

receive and send SNMP packets
up to 1500 bytes.

10.

Set the DSCP value for SNMP
responses.

snmp-agent packet response dscp

dscp-value

Optional.
By default, the DSCP value for
SNMP responses is 0.

Configuring SNMPv1 or SNMPv2c basic parameters

Step

Command

Remarks

1.

Enter system view.

system-view

N/A

Advertising