Cli Oper Equivalent; Configuring Snmp Trap Hosts; Snmpv1 Trap Host - HP 445946-001 Application Manual

10gb ethernet bl-c switch
Table of Contents

Advertisement

CLI oper equivalent

To configure an SNMP user equivalent to the CLI oper, use the following configuration:
/c/sys/ssnmp/snmpv3/usm 5
name "oper"
/c/sys/ssnmp/snmpv3/access 4
name "opergrp"
rview "oper"
wview "oper"
nview "oper"
/c/sys/ssnmp/snmpv3/group 4
uname oper
gname opergrp
/c/sys/ssnmp/snmpv3/view 20
name "oper"
tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.2" (Agent statistics)
/c/sys/ssnmp/snmpv3/view 21
name "oper"
tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.3" (Agent information)
/c/sys/ssnmp/snmpv3/view 22
name "oper"
tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.2.2" (L2 statistics)
/c/sys/ssnmp/snmpv3/view 23
name "oper"
tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.2.3" (L2 information)
/c/sys/ssnmp/snmpv3/view 24
name "oper"
tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.3.2" (L3 statistics)
/c/sys/ssnmp/snmpv3/view 25
name "oper"
tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.3.3" (L3 information)

Configuring SNMP trap hosts

SNMPv1 trap host

1.
Configure a user with no authentication or password.
/c/sys/ssnmp/snmpv3/usm 10
name "v1trap"
2.
Configure an access group and group table entries for the user. Use the following command to
specify which traps can be received by the user:
/c/sys/ssnmp/snmpv3/access <x>/nview
/c/sys/ssnmp/snmpv3/access 10
name "v1trap"
model snmpv1
nview "iso"
/c/sys/ssnmp/snmpv3/group 10
model snmpv1
uname v1trap
gname v1trap
In this example the user will receive the traps sent by the switch.
(Configure the oper)
(Configure access group 4)
(Assign oper to access group 4)
(Create views for oper)
(Configure user named "v1trap")
(Define access group to view SNMPv1 traps)
(Assign user to the access group)
Accessing the switch
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

445860-b21 - 10gb ethernet bl-c switch

Table of Contents