Snmp-Server Community - Cisco Nexus 7000 Series Reference Manual

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

S Commands

snmp-server community

To configure the Simple Network Management Protocol (SNMP) community string, use the
snmp-server community command. To remove the community string, use the no form of this command.
Syntax Description
name
group name
ro
rw
Defaults
The default community access is read-only (ro).
Command Modes
Global configuration mode
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0(1)
Usage Guidelines
Use the snmp-server community command to configure read-only or read-write access to the SNMP
agent on the device. You can optionally configure the community for an access group or user role. For
more information on user roles, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide,
Release 6.x.
This command does not require a license.
Examples
This example shows how to configure a read-only SNMP community:
switch# configure terminal
switch(config)# snmp-server community test ro
OL-25806-03
snmp-server community name [group name | ro | rw]
no snmp-server community name [group name | ro | rw]
SNMP community string. The name can be any alphanumeric string up to 32
characters.
(Optional) Specifies the group name to which the community belongs. The name
can be any alphanumeric string up to 32 characters.
(Optional) Sets read-only access for this community.
(Optional) Sets read-write access for this community.
Modification
This command was introduced.
Cisco Nexus 7000 Series NX-OS System Management Command Reference
snmp-server community
373

Advertisement

Table of Contents
loading

Table of Contents