Cisco Systems WSC2960X24TDL Configuring Community Strings, no snmp-server, Detailed Steps, end

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 63
Image 63
no snmp-server

Configuring Simple Network Management Protocol

Configuring Community Strings

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

Example:

Switch# configure terminal

Step 2

no snmp-server

Disables the SNMP agent operation.

 

Example:

 

 

Switch(config)# no snmp-server

 

Step 3

end

Returns to privileged EXEC mode.

 

Example:

 

 

Switch(config)# end

 

Configuring Community Strings

You use the SNMP community string to define the relationship between the SNMP manager and the agent. The community string acts like a password to permit access to the agent on the switch. Optionally, you can specify one or more of these characteristics associated with the string:

An access list of IP addresses of the SNMP managers that are permitted to use the community string to gain access to the agent

A MIB view, which defines the subset of all MIB objects accessible to the given community

Read and write or read-only permission for the MIB objects accessible to the community

Beginning in privileged EXEC mode, follow these steps to configure a community string on the switch.

SUMMARY STEPS

1.configure terminal

2.snmp-server community string [view view-name] [ro rw] [access-list-number]

3.access-listaccess-list-number {deny permit} source [source-wildcard]

4.end

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29044-01

51

Page 63
Image 63
Cisco Systems WSC2960X24TDL Configuring Community Strings, no snmp-server, Disables the SNMP agent operation, Purpose, end