44 snmp commands, 1 snmp-server access – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 830
![background image](/manuals/651410/830/background.png)
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 830 of 855
44 SNMP Commands
44.1 snmp-server access
To set the access security of MIB view, use the snmp-server access command in global configuration
mode. To remove the access security of MIB view, use the no form of this command.
Command Syntax
snmp-server access group-name security-model usm {auth | noauth | priv} [context context
[prefix | exact] | read read-view | write write-view | notify notify-view]
no snmp-server access security-model usm {auth | noauth | priv} [context context]
group-name
Name of the group.
auth
Specifies authentication of a packet without encrypting it.
noauth
Specifies no authentication of a packet.
priv
Specifies authentication of a packet with encryption.
context context
(Optional) Specifies the SNMP context to associate with this SNMP
group and its views.
prefix
The context only match the prefix.
exact
The context should match the whole part.
read read-view
(Optional) Specifies a read view for the SNMP group. This view
enables you to view only the contents of the agent.
write write-view
(Optional) Specifies a write view for the SNMP group. This view
enables you to enter data and configure the contents of the agent.
notify notify-view
(Optional) Specifies a notify view for the SNMP group. This view
enables you to specify a notify, inform, or trap.
Default
No SNMP access group is defined.
Command Mode
Global configuration
Usage
Examples
The following is sample output from the snmp-server access command:
Switch(config)# snmp-server access manage security-model usm auth write _all_ read _all_
Related Commands