beautypg.com

4 get community, 5 set community, 6 trap community – Allied Telesis AlliedView-EMS 3.11 DEVICE MANAGEMENT User Manual

Page 10

background image

AlliedView™-EMS 3.11 Device Manager User’s Guide

Page 10 of 130

Examples:

devicemanager -TargetHost 172.16.99.123 -SnmpVersion 1

devicemanager -TargetHost 172.16.99.123 -SnmpVersion 2

2.1.4 Get Community

Get Community is an SNMP community string used to get MIB values from the agent. You
must specify the same community string as the one configured on the target host. If the
string is not specified, the default community string "public" is used.

Examples:

devicemanager -TargetHost 172.16.99.123 -GetCommunity getdvcmgr

devicemanager -TargetHost dvcmgrhub -GetCommunity getdvcmgr

2.1.5 Set Community

Set Community is an SNMP community string used to change the values of the agent's MIB
variables. You must specify the same community string as the one configured on the target

host. If the string is not specified, default community string "private" is used.

Examples:

devicemanager -TargetHost 172.16.99.123 -SetCommunity setdvcmgr

devicemanager -TargetHost dvcmgrhub -SetCommunity setdvcmgr

2.1.6 Trap Community

Trap Community is an SNMP community string used to receive traps from the agent. You
must specify the same community string as the one configured on the target host. If the

string is not specified, the default community string "public" is used. If the Trap Community

is explicitly defined, the trap will be enabled automatically.

Example:

devicemanager -TargetHost dvcmgrhub -TrapCommunity trapdvcmgr