Community Property

The community string used to authenticate SNMP packets.

Object Oriented Interface

public function getCommunity();
public function setCommunity($value);

Procedural Interface

ipworkssnmp_snmpmgr_get($res, 5 );
ipworkssnmp_snmpmgr_set($res, 5, $value );

Default Value

'public'

Remarks

Must match the community name that is specified on the agent.

Typical values are "public" or "private".

This property is used for all SNMP packets sent by the class.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 PHP Edition - Version 20.0 [Build 8202]