2-9. snmp commands set – Milan Technology MIL-SM2401M-STK User Manual

Page 59

Advertising
background image

51

5-2-9. SNMP Commands Set

Commands

Command

Level

Description

Defaults

Example

snmp

system-name

[SystemName]

Global

configuration

mode

Set Snmp agent

system name

N/A

Switch (config)#

snmp system-name

l2switch

snmp

system-location

[SystemLocation]

Global

configuration

mode

Set Snmp agent

system location

N/A

Switch (config)#

snmp

system-location lab

snmp

system-contact

[SystemContact]

Global

configuration

mode

Set Snmp agent

system contact

N/A

Switch (config)#

snmp system-contact

where

snmp

community-strings

[Community]

right [RO | RW]

Or

no snmp

community-strings

[Community]

Global

configuration

mode

Add snmp

community string.

Use the no form of

this command to

remove the

specified

community.

PUBLIC

RO

Switch (config)#

snmp

community-strings

public right RW

Advertising