4.2.208 snmp-server access
Command:
snmp-server access <group_name> model { v1 | v2c | v3 | any } level { auth | noauth |
priv } [ read <view_name> ] [ write <write_name> ]
snmp-server
Set SNMP server's configurations
access
access configuration
<GroupName : word32>
model
security model
any
any security model
v1
v1 security model
v2c
v2c security model
v3
v3 security model
level
security level
auth
authNoPriv Security Level
noauth
noAuthNoPriv Security Level
priv
authPriv Security Level
read
specify a read view for the group
<ViewName : word255>
write
specify a write view for the group
<WriteName : word255>
Default:
None
Usage Guide:
To configure the Access of SNMP
Example:
To configure the Access (below table) of SNMP
Switch# configure terminal
Switch (config)# snmp-server access default_rw_group model v2c level priv read
default_view write default_view
group name
read view name
write view name
-300-
Command Guide