Table of Contents Index NMS Glossary Previous Page Next Page (Page 27 of 32 in this chapter) Version


NMS_V5ResetE1Status

Description

Resets status information for a specified E1 link.

Prototype

NMS_V5_RESULT_T NMS_V5ResetE1Status
(NMS_V5_INTERFACE_ID_T interfaceId
NMS_V5_CHANNEL_LOCATION_T e1_loc)

interfaceId Interface ID of a provisioned interface.

e1_loc E1 link location for which to reset status information.

         typedef union _NMS_V5_E1_LOCATION_T
          {
       struct {
          DWORD  boardNb;
          DWORD  trunkNb;
          } CG;        
}NMS_V5_E1_LOCATION_T

Return Values

Events

Details

This function resets status information for a specified E1 link. Applications can only reset status information for E1 links provisioned on the active variant of an interface.The NMS_V5_E1_LOCATION_T structure includes the following values:
Parameter

Description

boardNb

Logical board number where the E1 link is located.

trunkNb

Logical trunk number associated with the E1 link.

See Also

NMS_V5GetE1Status

Example

void  ResetE1Status( void )
{
    NMS_V5_RESULT_T         NmsResult;
    DWORD                   InterfaceId;
    NMS_V5_E1_LOCATION_T    E1Location;
 
    printf("NMS_V5ResetE1Status:\n");

    /* Get parameters */
    promptdw_nodft("Enter InterfaceId", &InterfaceId);

    printf("Enter E1 location:\n");
    GetE1LocationNMS( &E1Location );

    NmsResult = NMS_V5ResetE1Status( InterfaceId, E1Location );

    printf ("NMS_V5ResetE1Status:
    Result=%s\n",PRINT_RESULT(NmsResult));

}



Table of Contents Index NMS Glossary Previous Page Next Page (Page 27 of 32 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2001, NMS Communications Corporation. All rights reserved.