Clearing The Snmp Community Strings; Specifying The Access Numbers For Hosts - Cisco WS-C6506 Software Manual

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

Advertisement

SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1)
Additional-
Community-String
-------------------- -------------- ------- -----------------------------------
public1
public2
private1
secret1
Trap-Rec-Address Trap-Rec-Community Trap-Rec-Port Trap-Rec-Owner Trap-Rec-Index
---------------- ------------------ ------------- -------------- --------------
Console> (enable)

Clearing the SNMP Community Strings

You can clear the community strings using the clear snmp community-ext community-string command.
When you use this command to clear a community string, the corresponding entries in the
vacmAccessTable and vacmSecurityToGroup tables are also removed.
To clear an SNMP community string from the CLI, perform this task in privileged mode:
Task
Step 1
Clear an SNMP community string.
Step 2
Verify the SNMP configuration.
This example shows how to clear an SNMP community string:
Console> (enable) clear snmp community-ext public1
Community string public1 has been removed
Console> (enable)

Specifying the Access Numbers for Hosts

You can specify a list of access numbers that are associated with one or more hosts to limit which hosts
can use a specific community string to access the system. You can specify more than one IP address that
is associated with an access number by separating each IP address with a space. If an existing access
number is used, the new IP addresses are appended to the list.
To specify an access number for a host from the CLI, perform this task in privileged mode:
Task
Step 1
Specify an access number for a host.
Step 2
Verify the SNMP configuration.
These examples show how to specify an access number for a host:
Console> (enable) set snmp access-list 1 172.20.60.100
Access number 1 has been created with new IP Address 172.20.60.100
Console> (enable) set snmp access-list 2 172.20.60.100 mask 255.0.0.0
Access number 2 has been created with new IP Address 172.20.60.100 mask 255.0.0.0
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
47-14
Access-
Access-Type
Number
read-only
read-only
1
read-write
2
read-write-all 500
Chapter 47
View
1.3.6
1.3.6.1.4.1.9.9
Command
clear snmp community-ext community-string
show snmp
Command
set snmp access-list access_number IP_address
[ipmask maskaddr]
show snmp access-list
Configuring SNMP
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents