Chapter 4: Commands for CLI configuration
Usage Guide:
To enable the SNMP Service
Example:
To enable the SNMP Service
Switch# configure terminal
Switch (config)#
snmp-server
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>
group name
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>
read view name
write
specify a write view for the group
<WriteName : word255>
write view name
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
snmp-server community
Command:
snmp-server community { v2c <comm> [ ro | rw ] | v3
<v3_comm> [ <v_ipv4_addr> <v_ipv4_netmask> ] }
218
NS3500-24T-4C Managed Switch Command Guide