beautypg.com

Snmp community strings and trap commands – Allied Telesis AT-S39 User Manual

Page 186

background image

Chapter 21: Command Reference

186

SNMP Community Strings and Trap Commands

ADD SNMP COMMUNITY TRAPHOST

add snmp community=”community” traphost=ipaddress

Adds to a community string the IP address of a management
workstation to receive management traps from the switch.

CREATE SNMP COMMUNITY

create snmp community=”community
access=read|write [traphost=ipaddress]

Creates a new Read or Write community string on the switch.

DELETE SNMP COMMUNITY TRAPHOST

delete snmp community=”community
traphost=ipaddress

Deletes the IP address of a management workstation that is not to
receive traps from the switch.

DESTROY SNMP COMMUNITY

destroy snmp community=”community

Deletes the Read or Write community string from the switch.

RESET SNMP

reset snmp

Returns the SNMP community strings to the default values, disables
SNMP access, and deletes the IP addresses of trap receivers.

SET SNMP COMMUNITY

set snmp community=”community access=read|write

Changes the access level of an existing community string on the switch.

SHOW SNMP

show snmp

Displays the SNMP community strings.