Snmp-Server - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 21
S Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

snmp-server

To configure the SNMP server information, switch location, and switch name, use the snmp-server
command in configuration mode. To remove the system contact information, use the no form of the
command.
Syntax Description
community string
group group-name
ro
rw
contact
name
location
location
Defaults
The default community access is read-only (ro).
Command Modes
Configuration mode
Command History
Release
1.0(3)
2.0(1b)
Usage Guidelines
None.
Examples
The following example sets the contact information, switch location, and switch name.
switch# config terminal
switch(config)# snmp-server contact NewUser
switch(config)# no snmp-server contact NewUser
switch(config)# snmp-server location SanJose
switch(config)# no snmp-server location SanJose
OL-8413-07, Cisco MDS SAN-OS Release 3.x
snmp-server {community string [group group-name | ro | rw] | contact [name] | location
[location]}
no snmp-server {community string [group group-name | ro | rw] | contact [name] | location
[location]}
Specifies SNMP community string. Maximum length is 32 characters.
Specifies group name to which the community belongs. Maximum length is
32 characters.
Sets read-only access with this community string.
Sets read-write access with this community string.
Configures system contact.
Specifies the name of the contact. Maximum length is 80 characters.
Configures system location.
Specifies system location. Maximum length is 80 characters.
Modification
This command was introduced.
Added group option.
Cisco MDS 9000 Family Command Reference
snmp-server
21-31

Advertisement

Table of Contents
loading

Table of Contents