Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

Name

snmp-server community — global

Synopsis

snmp-server community string [view view-name] {ro | rw} [access-list]
no snmp-server community string

Configures

SNMP community access strings

Default

Read-only access; community string public

Description

This command sets the community string for SNMPv1 protocol access.

string

The password for the SNMP access.

view view-name

Optional. view-name is the name of a view defined with the snmp-server view command. view defines which SNMP objects can be viewed with this SNMP community string.

ro

Defines the community string for read-only access.

rw

Defines the community string for read/write access.

access-list

Optional. The number of a standard access list. The community string defined with this command is usable only by hosts whose IP addresses match this access list.

Example

The following command defines the community string mystring, which allows read-only access from any IP address.

snmp-server community mystring RO
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata