Setting Multiple Snmp Community Strings - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 47
Configuring SNMP

Setting Multiple SNMP Community Strings

You can set multiple SNMP community strings using the community-ext keyword. The community
strings that are defined using the community-ext keyword cannot be duplicates of the existing
community strings. When you add a new community string using the community-ext keyword, the
appropriate entries are created in the vacmAccessTable (if a view is specified), snmpCommunityTable,
and the vacmSecurityToGroup table.
To set multiple SNMP community strings from the CLI, perform this task in privileged mode:
Task
Step 1
Set multiple SNMP community strings.
Step 2
Verify the SNMP configuration.
This example shows how to set an additional SNMP community string:
Console> (enable) set snmp community-ext public1 read-only
Community string public1 is created with access type as read-only
Console> (enable)
This example shows how to restrict the community string to an access number:
Console> (enable) set snmp community-ext private1 read-write access 2
Community string private1 is created with access type as read-write access number 2
Console> (enable)
This example shows how to change the access number to the community string:
Console> (enable) set snmp community-ext private1 read-write access 3
Community string private1 is updated with access type as read-write access
number 3
Console> (enable)
This example shows how to display the SNMP configuration:
Console> (enable) show snmp
SNMP:Enabled
RMON:Disabled
Extended RMON Netflow Enabled :None.
Memory usage limit for new RMON entries:85 percent
Traps Enabled:None
Port Traps Enabled:None
Community-Access Community-String
---------------- --------------------
read-only
read-write
read-write-all
OL-8978-04
public
private
secret
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1)
Command
set snmp community-ext community_string
{read-only | read-write | read-write-all}
[view view_oid] [access access_number]
show snmp
47-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents