SNMP COMMANDS

SNMP Commands

Controls access to this switch from SNMP management stations, as well as the error types sent to trap managers.

Command

Function

Mode

Page

snmp-server

Sets up the community access string to

GC

3-43

community

permit access to SNMP commands

 

 

 

 

 

 

snmp-server contact

Sets the system contact string

GC

3-44

 

 

 

 

snmp-server location

Sets the system location string

GC

3-45

 

 

 

 

snmp-server host

Specifies the recipient of an SNMP

GC

3-45

 

notification operation

 

 

 

 

 

 

snmp-server enable

Enables the device to send SNMP traps or

GC

3-47

traps

inform requests (i.e., SNMP notifications)

 

 

 

 

 

 

show snmp

Displays the status of SNMP

NE,

3-48

 

communications

PE

 

 

 

 

 

snmp-server community

Use this command to define 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.

3-43

Page 155
Image 155
SMC Networks SMC6750L2 manual Snmp Commands, Snmp-server community