# Programming scenarios

The following illustrations present scenarios for combining Aztek AV5 library and NMS V5 library function calls to perform interface management and LAPV data communication over E1 links. For more information about Aztek AV5 library functions, refer to the Aztek documentation.

The following scenarios are presented:

- Initializing an interface

- Stopping and restarting without re-provisioning

- Stopping, re-provisioning, and starting

- Checking link IDs

- Access network initiated switchover to a variant

- Local exchange initiated switchover to a variant

## Initializing an interface

The following illustration shows functions used to initialize a V5.2 interface:

## Stopping and restarting without re-provisioning

The following illustration shows functions used to the stop and restart a V5.2 interface without re-provisioning:

## Stopping, re-provisioning, and starting

The following illustration shows functions used to stop, re-provision, and start a V5.2 interface:

## Checking link IDs

The following illustration shows functions used to check V5.2 link IDs:

## Access network initiated switchover to a variant

The following illustration shows functions used to provision a V5.2 variant interface and perform an access network initiated switchover operation:

## Local exchange initiated switchover to a variant

The following illustration shows functions used to provision a V5.2 variant interface, and then to perform a local exchange initiated switchover operation: