General Interface Information Report
(SM-SmallSol001)
Solution’s SOSL Based management process script:
The solution defines the following main modules:
MainInterfacesData :
This is the main module that controls and instantiates the ‘InterfacesData’ module.
MainIPAddrTable :
This is the main module that controls and instantiates the ‘IpAddrTable’ module.
The details of the Main modules and the transient Service modules are provided below:
MODULE MainInterfacesData ();
DESCRIPTION "Interface INVENTORY information";
BEGIN
POLL-FREQ
{
MODULE-CALL InterfacesData();
WAIT (12000);
};
END
MODULE MainIPAddrTable ();
DESCRIPTION "Interface INVENTORY information";
BEGIN
POLL-FREQ
{
MODULE-CALL ipAddrTable();
WAIT(18000);
};
END
MODULE InterfacesData ();
DESCRIPTION "Interface INVENTORY information";
BEGIN
ALL-DEV BY DEV
{
SET-INDEX interfacesTable ( ifDescr [ ifIndex, INT ] );
WITH-INDEX interfacesTable
{
POLL (ifAdminStatus);
DEFINE ifAdminStatus DB DISPL;
IF ( ifAdminStatus != "down" ) THEN
POLL ( ifDescr;
ifMtu;
ifType;
ifSpeed;
ifAlias;
ifOperStatus;
ifPhysAddress );
RMV ( ifDescr;
ifMtu;
ifType;
ifSpeed;
ifAlias;
ifOperStatus;
ifPhysAddress );
ENDIF;
RMV( ifAdminStatus;
ifDescr;
ifIndex);
};
};
END
MODULE ipAddrTable();
DESCRIPTION "";
BEGIN
ALL-DEV BY DEV
{
SET-INDEX ipAddrTable ( ipAdEntIfIndex [ ipAdEntAddr, IP ]);
WITH-INDEX ipAddrTable
{
##########################################
# MSG-MGR("Device @1, Interface @2", DEV, ipAddrTable);
##########################################
POLL (ipAdEntNetMask);
RMV( ipAdEntNetMask;
ipAdEntIfIndex;
ipAdEntAddr);
};
};
END
| General Interface Information Report Index Page |
Previous Page Page 4/6 Next Page |
[Small Solutions], [Professional Solutions], [Security
Solutions], [Development Solutions]
[Home], [About],
[Solutions
Center], [NMS
Market],
[Products & Services],
[Management
Technology], [Technical Support],
[Contact us],
[Site Map]