DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
81
DES-1210-52/ME:5# delete snmp view dlink 1.3.6
Command: delete snmp view dlink 1.3.6
Success.
DES-1210-52/ME:5#
To display an SNMP view previously created on the Switch.
show snmp view {<view_name 32>}
The show snmp view command displays an SNMP view previously
created on the Switch.
<view_name 32> − A string of up to 30 alphanumeric characters that
identifies the SNMP view to be displayed.
Example usage:
To display SNMP view configuration:
DES-1210-52/ME:5# show snmp view
Command: show snmp view
SNMP View Table Configuration
View Name Subtree OID OID Mask View Type
-------------- ---------------------- --------------------- ---------------
dlink 1.2.3.4 1.1.1.1 Excluded
ReadWrite 1 1 Included
Total Entries: 2
DES-1210-52/ME:5#
To create an SNMP community string to define the relationship
between the SNMP manager and an SNMP agent.
create snmp community <community_string 32> <username
32>
The create snmp community command creates an SNMP
community string and assigns access-limiting characteristics to this
community string. The community string acts like a password to
permit access to the agent on the Switch. One or more of the
following characteristics can be associated with the community
string:
An Access List of IP addresses of SNMP managers that are
permitted to use the community string to gain access to the Switch’s
SNMP agent.
A MIB view that defines the subset of all MIB objects to be
accessible to the SNMP community.