SNMP Commands 4

SNMP Commands

Controls access to this switch from management stations using the Simple Network Management Protocol (SNMP), as well as the error types sent to trap managers.

Table 4-38. SNMP Commands

Command

Function

Mode

Page

snmp-server community

Sets up the community access string to permit access to

GC

4-99

 

SNMP commands

 

 

snmp-server contact

Sets the system contact string

GC

4-100

 

 

 

 

snmp-server location

Sets the system location string

GC

4-100

 

 

 

 

snmp-server host

Specifies the recipient of an SNMP notification operation

GC

4-101

 

 

 

 

snmp-server enable traps

Enables the device to send SNMP traps (i.e., SNMP

GC

4-102

 

notifications)

 

 

show snmp

Displays the status of SNMP communications

NE, PE

4-102

 

 

 

 

snmp-server community

This command defines the community access string for the Simple Network Management Protocol. Use the no form to remove the specified community string.

Syntax

snmp-server community string [rorw] no snmp-server community string

string - Community string that acts like a password and permits access to the SNMP protocol. (Maximum length: 32 characters, case sensitive; Maximum number of strings: 5)

ro - Specifies read-only access. Authorized management stations are only able to retrieve MIB objects.

rw - Specifies read/write access. Authorized management stations are able to both retrieve and modify MIB objects.

Default Setting

public - Read-only access. Authorized management stations are only able to retrieve MIB objects.

private - Read/write access. Authorized management stations are able to both retrieve and modify MIB objects.

Command Mode

Global Configuration

Command Usage

The first snmp-server community command you enter enables SNMP (SNMPv1). The no snmp-server community command disables SNMP.

4-99

Page 275
Image 275
SMC Networks 16 10BASE-T, 100BASE-TX manual Snmp-server community, Snmp Commands Function Mode