AddRemoteNeighbour
The AddRemoteNeighbour method adds a remote
neighbor.
Method Synopsis
AddRemoteNeighbour($refLocalNbr, $refRemoteNbr)Parameters
- $refLocalNbr
- Specifies a reference to the hash list that defines a local neighbor and to which list the remote neighbor is to be added.
- $refRemoteNbr
- Specifies a reference to a hash list that defines the remote neighbor
using a set of key value pairs (
varBinds).
Description
The AddRemoteNeighbour method
adds a remote neighbor whose hash list reference is $refRemoteNbr to
the local neighbor whose hash list reference is $refLocalNbr.
Example Usage
$remoteNbr{'m_IpAddress'} = '1.2.5.6';
$NE->AddRemoteNeighbour($localNbr, \%remoteNbr);Returns
Upon completion, the AddRemoteNeighbour method
does not return any records.