Simple Network Management Protocol (SNMP) is a network management protocol which helps to record, store, and share information about the devices in the network. This helps the administrator address network issues. SNMP uses Management Information Bases (MIBs) to store available information in a hierarchical manner. SNMP Groups are used to combine the SNMP users based on access privileges and authorization to different SNMP views at the MIBs. Each SNMP group is uniquely identified by a combination of group name and the security levels.
This document explains how to create and configure an SNMP group using the Command Line Interface of a switch. It assumes that SNMP Views has already been configured for the device.
SNMP groups can also be configured through the web-based utility of the switch. For instructions, refer to Configure Simple Network Management Protocol (SNMP) Groups on a Switch.
Access the CLI of the switch.
In this example, PuTTY is the application used to access the switch CLI. The default username and password is cisco/cisco. If you have customized your credentials, use your username and password.
Switch to Global Configuration mode by entering the following command:
Switch350X#configure terminalCreate an SNMP Group using the following syntax:
snmp-server group groupname{{v1/v2/v3 {{noauth/auth/priv}}[notify notifyview]}}[read readview] [write writeview].
Where:
In this example, snmp-server group CiscoTestUsers v3 auth notify Cisco1234$ read is entered.
Verify SNMP group using the following command:
Switch350X#show snmp groupsYou should now have configured an SNMP Group settings through the CLI of the switch.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
13-Dec-2018 |
Initial Release |