AddLocalNeighbourTag
The AddLocalNeighbourTag method adds a
tag (varBind) to a local neighbor.
Method Synopsis
AddLocalNeighbourTag($tag, $refVarOp)Parameters
- $tag
- Specifies the key value for the
varBind.
- $refVarOp
- Specifies a reference to an array of varops.
Description
The AddLocalNeighbourTag method
adds to local neighbors a varBind whose key is defined
by the $tag parameter and the value defined by
the $refVarOp parameter (a reference to an array
of varops). The key and value are added sequentially, that is, the
values in the @$refVarOp array are assumed to be
in the same order as the local neighbor array. If local neighbors
do not exist, then AddLocalNeighbourTag creates them.
Example Usage
$refLifindex=$agent->SnmpGetNext($TestNE, 'ipAdEntIfIndex');
$TestNE->AddLocalNeighbourTag("m_IfIndex", $refLifIndex);Returns
Upon completion, the AddLocalNeighbourTag method
does not return any records.