Snmpv1 And Snmpv2C Enhancements In Software Release 7.5(1) - Cisco WS-C2950SX-48-SI Configuration Manual

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Configuring SNMPv1 and SNMPv2c from the CLI

SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1)

The following sections describe enhancements that were added to software release 7.5(1).
Setting Multiple SNMP Community Strings
You can set multiple SNMP community strings using the community-ext keyword. Community strings
that are defined with the community-ext keyword cannot be duplicates of existing community strings.
When you add a new community string using the community-ext keyword, 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
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
24-8
public
private
secret
Chapter 24
Command
set snmp community-ext community_string
{read-only | read-write | read-write-all}
[view view_oid] [access access_number]
show snmp
Release 8.1
Configuring SNMP
78-15486-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents