2-532
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set snmp community
There are three configurable SNMP communities, one for each access type. If you do not specify the
community string, the community string configured for that access type is cleared.
The community_string variable cannot contain the @ symbol.
To support the access types, you also need to configure four MIB tables: vacmContextTable,
vacmSecurityToGroupTable, vacmAccessTable, and vacmViewTreeFamilyTable. Use the clear config
snmp command to reset these tables to the default values.
Examples This example shows how to set read-write access to the SNMP community called yappledapple:
Console> (enable) set snmp community read-write yappledapple
SNMP read-write community string set to yappledapple.
Console> (enable)
This example shows how to clear the community string defined for read-only a cce ss:
Console> (enable) set snmp community read-only
SNMP read-only community string cleared.
Console> (enable)
Related Commands clear config
clear snmp community
show snmp
show snmp community