Avaya Inc.
– External Distribution
107
avaya.com
March 2015
8.8 Community String Configuration Example:
Allowing only read-only access using the default
community strings
8.8.1 Configuration
Assuming we are using default settings, read-only access uses the VACM table security name of
readview
referenced to a SNMP community security name of
first
. Read-write access uses the VACM
table security name of
initialview
referenced to a SNMP community security name of
second
. Hence, all
we have to do is change the VACM table security name from
initialview
to
readview
for the SNMP
Community security name of
second
. The end result, if a user attempts to connect to an VSP switch using
SNMPv1 or SNMPv2c using the default community strings of public and private, the user will only get
read-only access.
Change the default read-write community name with the read-only VACM security name
VSPswitch:1(config)#
snmp-server community private secname readview
8.8.2 Verify Operations
Verify SNMP community
VSPswitch:1#
show snmp-server community
================================================================================
Community Table
================================================================================
Index Name Security Name Transport Tag
--------------------------------------------------------------------------------
first ******** readview
second
********
readview
4 out of 4 Total entries displayed