OSPF Interfaces Information Report
(SM-SmallSol0028)
Solution’s SOSL Based management process script:
The solution defines the following main modules:
MainMIBTables:
This is the main module that controls and instantiates the ‘mibTables’ module.
MainOspfifTable:
This is the main module that controls and instantiates the ‘OspfifTable’ module.
The details of the Main modules and the transient Service modules are provided below:
MODULE MainOspfifTable ();
DESCRIPTION "OSPF Interfaces Table Process";
BEGIN
POLL-FREQ
{
MODULE-CALL OspfifTable();
WAIT (6000);
};
END
MODULE OSPFifTable ();
DESCRIPTION "OSPF Interfaces Table Process";
BEGIN
MSG("OSPFifTable Management Process started..");
ALL-DEV BY DEV
{
DEFINE ospfAdminStat DB INT;
ospfAdminStat = POLL (ospfAdminStat);
IF (ospfAdminStat == 1)
THEN
SET-INDEX ospfIfTable
(ospfIfAreaId [ ospfIfIpAddress, IP; ospfAddressLessIf, INT]);
WITH-INDEX ospfIfTable
{
IF ( ospfIfTable == "([0-9\.]+)\.\0$" )
THEN
DEFINE ospfIfState DB INT;
DEFINE ifDescr DB DISPL;
DEFINE ospfAddressLessIf DB DISPL;
POLL ( ospfIfType;
ospfIfAdminStat;
ospfIfRtrPriority;
ospfIfHelloInterval;
ospfIfRtrDeadInterval;
ospfIfState);
ifDescr = POLL(DEV, ifDescr, ospfAddressLessIf);
ospfIfStateVar = ospfIfState;
IF (ospfIfState == “5" )
THEN
POLL (ospfIfDesignatedRouter);
ELSEIF (ospfIfStateVar == “6" )
THEN
POLL (ospfIfBackupDesignatedRouter);
ENDIF;
ENDIF;
};
ENDIF;
};
END
|
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]