Accessing the switch

View based configurations

CLI user equivalent

To configure an SNMP user equivalent to the CLI user, use the following configuration:

/c/sys/ssnmp/snmpv3/usm 4

 

name "usr"

(Configure the user)

/c/sys/ssnmp/snmpv3/access 3

 

name "usrgrp"

(Configure access group 3)

rview "usr"

 

wview "usr"

 

nview "usr"

 

/c/sys/ssnmp/snmpv3/group 4

(Assign user to access group 3)

uname usr

 

gname usrgrp

 

/c/sys/ssnmp/snmpv3/view 6

(Create views for user)

name "usr"

tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.2" (Agent statistics) /c/sys/ssnmp/snmpv3/view 7

name "usr"

tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.3" (Agent information) /c/sys/ssnmp/snmpv3/view 8

name "usr"

tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.2.2" (L2 statistics) /c/sys/ssnmp/snmpv3/view 9

name "usr"

tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.2.3" (L2 information) /c/sys/ssnmp/snmpv3/view 10

name "usr"

tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.3.2" (L3 statistics) /c/sys/ssnmp/snmpv3/view 11

name "usr"

tree " 1.3.6.1.4.1.11.2.3.7.11.33.1.2.3.3" (L3 information)

16

Page 16
Image 16
HP 445946-001 manual View based configurations, CLI user equivalent