Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show aps

 

Syntax

Release Information

Command introduced before Junos OS Release 7.4.

Description

Display information about Automatic Protection Switching (APS) for SONET configurations and about Multiplex Section Protection (MSP) for SDH configurations.

Options

none(Same as brief) Display brief information about APS or MSP for all groups and SONET/SDH interfaces.
brief | detail | extensive | summary(Optional) Display the specified level of output.
group group(Optional) Display APS or MSP information for the specified group.
interface so-fpc/pic/port(Optional) Display APS information for the specified SONET/SDH interface.

Required Privilege Level

view

List of Sample Output

show aps

show aps brief

show aps detail

show aps extensive

Output Fields

Table 1 lists the output fields for the show aps command. Output fields are listed in the approximate order in which they appear.

Table 1: show aps Output Fields

Field Name

Field Description

Level of Output

Interface

Name of the SONET/SDH interface.

All levels

Group

Group name.

All levels

Circuit

Circuit type: Working or Protect.

All levels

Intf state

State of the circuit and interface in the format circuit-state, interface-state:

For circuit-state:

  • enabled

  • disabled

  • invalid

  • unknown

For interface-state:

  • admin down

  • degraded

  • down

  • invalid

  • nonexistent

  • unknown

  • up

All levels

Neighbor

Address and state of neighbor interface. If the working and protect interfaces are on the same router, the neighbor address is displayed as 0.0.0.0.

detail extensive

adj

State of the neighbor adjacency:

  • Down

  • Init

  • Invalid

  • Unknown

  • Up

detail extensive

neighbor interface

State of the neighbor interface: enabled or disabled.

detail extensive

dead

Number of seconds before the neighbor is declared dead

detail extensive

Channel state

Circuit that has been selected: Working or Protect. On SDH configurations using Multiplex Section Protection (MSP), the APS Annex B (G.841) Lockout status is also shown in extensive output.

detail extensive

Local-mode

Mode in which the local router is configured to interoperate with SONET line-terminating equipment (LTE): unidirectional or bidirectional. The parenthetical value represents the mode type in the K2 byte.

extensive

neighbor-mode

Mode in which the neighboring device is operating: unidirectional or bidirectional. The parenthetical value represents the mode type in the K2 byte.

extensive

Protect circuit is on

Interface name of the APS protect circuit, displayed when both the working circuit and protect circuit are on the same router.

detail extensive

Working circuit is on

Interface name of the APS working circuit, displayed when both the working circuit and protect circuit are on the same router.

detail extensive

Req K1

Value of the SONET/SDH K1 byte requested to be transmitted by this circuit.

extensive

rcv K1

Value of the SONET/SDH K1 byte received on this interface. (Valid only on the protect circuit.)

extensive

xmit K1

Value of the SONET/SDH K1 byte being transmitted on this interface. (Valid only on the protect circuit.)

extensive

nbr K1

Value of the SONET/SDH K1 byte requested to be transmitted by the neighbor.

extensive

nbr paired req

Nonzero if the neighbor is requesting a particular K1 value because of a change in the paired circuit.

extensive

Revert time

Configured time to wait after the working circuit has become functional before making the working circuit active again.

extensive

neighbor revert time

Configured time, on the neighbor interface, to wait after the working circuit has again become functional before making the working circuit active again.

extensive

Hello due in

Time until the next hello packet is sent.

extensive

Sample Output

show aps

user@host> show aps

show aps brief

The output for the show aps brief command is identical to that for the show aps command. For sample output, see show aps.

show aps detail

user@host> show aps detail

show aps extensive

The following sample shows output from a SONET configuration:

user@host> show aps extensive

The following sample shows output from an SDH configuration:

user@host> show aps extensive