beautypg.com

American Fibertek SM10p-PoE User Manual

Page 43

background image




snmp agent-mode




G Select the agent mode switch(config)#snmp agent-mode

[v1v2c|v3|v1v2cv3]

of SNMP

v1v2cv3

snmp

G Add SNMP community switch(config)#snmp

community-strings

[Community]

right

[RO/RW]

snmp-server host

string.






G Configure SNMP

community-strings public right

rw




switch(config)#snmp-server host

[IP address]

server host information 192.168.1.50 community public

community

[Community-string]

trap-version

[v1|v2c]


snmpv3 context-name

[Context Name ]

snmpv3 user

[User Name]

group

[Group Name]

password

[Authentication

Password] [Privacy

Password]

snmpv3 access

context-name

[Context

Name ]

group

[Group Name ]

security-level

[NoAuthNoPriv|AuthNoP

riv|AuthPriv]

and community string








G Configure the context

name

G Configure the

userprofile for

SNMPV3 agent.

Privacy password

could be empty.






G Configure the access

table of SNMPV3

agent












36

trap-version v1

(remove)

Switch(config)#

no snmp-server host

192.168.1.50

switch(config)#snmpv3

context-name Test

switch(config)#snmpv3 user

test01 group G1 password

AuthPW PrivPW










switch(config)#snmpv3 access

context-name Test group G1

security-level AuthPriv

match-rule Exact views V1 V1 V1