Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring Container Interfaces for APS on SONET Links

 

Configuring Container Interfaces on SONET Links

To configure a container interface on SONET links, you should perform the following:

  • First create the number of container devices that you require. You can create up to a maximum of 128 container interfaces per router using the device-count statement at the [edit chassis container-devices] hierarchy level.

  • Configure each container interface, here, you must assign two SONET interfaces (so-fpc/pic/port) using the container-list cin statement, and specify the member-interface-speed speed and container-options for each SONET interface.

  • Within each of the two SONET interfaces' container options, you must set one container-type as primary (corresponding to an APS working circuit) and the other as standby (corresponding to an APS protect circuit). For each SONET interface, you can also use the allow-configuration-override statement to allow the physical configuration of a member link to override the container configuration.

The following procedure explains configuring a container interface on SONET links in detail.

To configure a container interface on SONET links:

  1. In configuration mode, go to the edit chassis container-devices hierarchy level.
  2. Specify the total number of container interfaces (up to 128) to create using the device-count number statement.
    Note

    You can create more container interfaces later if required, up to 128 (total). The resulting container interfaces are designated sequentially from ci0 up to a maximum of ci127, depending on the device-count number specified. SONET interfaces can be assigned to any container interface cin.

  3. Configure the container interface parameters for a specified container cin as follows:
    1. Specify the container interface using the numbered identifier cin.

    2. Specify the container interface encapsulation as cisco-hdlc or ppp.

    3. Specify the container options container-type as aps; a SONET interface is required for APS selection

    4. Specify the container interface member-interface type as sonet

    5. Specify the container member-interface-speed speed to match the specified installed SONET interface links; the available values are OC3, OC12, OC48, OC192, OC768, or mixed. The member-interface-speed speed statement setting applies to all SONET member interfaces of the specified container cin.

    6. Specify the container interface's unit number, family, IP address, and mask

  4. Configure each of the required two SONET interfaces as follows:
    1. Specify the SONET interfaces and their container options; including the container-list, identified by its cin.

    2. Specify the container-type as primary (corresponding to an APS working-circuit) or standby (corresponding to an APS protect-circuit).

      For example, set the so-0/0/0 interface as the primary circuit and the so-0/0/1 interface as the standby circuit for the container interface cin :

      Optionally, you can set the allow-configuration-override statement to allow the physical configuration of a member link to override the container configuration

Displaying Container Interface Configuration

Purpose

To display a container interface.

Action

To display a container interface configuration in SONET/SDH where the device-count is 1 with the so-0/0/0 interface as primary and the so-0/0/1 interface as secondary, and the encapsulation is set to cisco-hdlc.

  1. In configuration mode, go to the [edit chassis] hierarchy level.
  2. Issue the show command in configuration mode.
  3. The following output is displayed.
  4. In configuration mode, go to the [edit interfaces] hierarchy level.
  5. Issue the show command in configuration mode.
  6. The following output is displayed.

Displaying the APS Container Interface Configuration

Purpose

Display the APS container interface configuration parameters.

Action

You can run the show aps operational mode command to display the APS container interface configuration.

user@host> show aps