Configuration Tasks

When configuring an unchannelized SONET/SDH interface, you first configure ATM or POS on the interface. For details on configuring POS and ATM, see Configuring ATM and Configuring Packet over SONET in JunosE Link Layer Configuration Guide.

Configuring the SONET/SDH Layers

When you configure ATM or POS on an interface, you automatically configure default settings at the SONET/SDH layer. To modify the default settings:

  1. Select an interface on which you want to configure SONET or SDH.
  2. Specify the type of interface: SONET or SDH.
  3. Specify a clock source for the interface.
  4. (Optional) Assign a text description or an alias to the interface.
  5. Disable processing of SNMP link status information for the section and line layers of the interface.
  6. Enable processing of SNMP link status information for the path layer of the interface.
  7. (Not recommended) Overwrite the automatic setting for the path signal label (C2) byte.
  8. Configure the router to use remote defect indications (RDIs) at the path layer to determine the operational status of a path.
  9. (MPLS fast reroute over SONET/SDH interfaces) Specify the time that the router waits to set an alarm when the router records a defect at the path layer.
  10. (MPLS fast reroute over SONET/SDH interfaces) Specify the time that the router waits to set an alarm when the router records a defect at the line or section layer.
  11. Shut down (disable) an interface.

clock source

controller sonet

description

path description

path overhead c2

path shutdown

path snmp trap link-status

path trigger alarm prdi

path trigger delay

sdh

shutdown

snmp trap link-status

trigger delay

Configuring APS/MSP

For APS/MSP, you must configure a working interface and a corresponding protect interface. You must also assign each pair of working and protect interfaces to a unique group.

Note: Configuring the working interface before you configure the protect interface is not required. You can configure the working interface before or after you configure the protect interface.

The E120 and E320 routers does not support APS/MSP.

Configuring the Working Interface

To configure the working interface:

  1. Select the interface.
    host1(config)#controller sonet 4/0
  2. Specify the APS group to which the working and protect interfaces will belong.
    host1(config-controll)#aps group boston
  3. Specify the interface as the working interface.
    host1(config-controll)#aps working

aps group

aps working

threshold

Configuring the Protect Interface

To configure the protect interface:

  1. Select the interface.
    host1(config)#controller sonet 4/1
  2. Specify the APS group to which the protect and working interfaces will belong.
    host1(config-controll)#aps group boston
  3. Specify the protect interface.
    host1(config-controll)#aps protect
  4. (Optional) Prevent the protect interface from taking over automatically if the working interface fails.
    host1(config-controll)#aps lockout
  5. (Optional) Enable the router to revert to the working interface when it recovers.
    host1(config-controll)#aps revert 7
  6. (Optional) Specify that switchover takes place in unidirectional mode.
    host1(config-controller)#aps unidirectional

aps group

aps lockout

aps protect

aps revert

aps unidirectional

Configuring SONET/SDH Alarms

To configure the bit error rates that determine signal degradation and signal failure on the working interface:

  1. Select the protect interface.
    host1(config)#controller sonet 4/1
  2. Specify the bit error rate at which the router should generate an alarm indicating signal degradation.
    host1(config-controller)#threshold sd-ber 6
  3. Specify the bit error rate at which the router should generate an alarm indicating signal failure and switch from the working interface to the protect interface.
    host1(config-controller)#threshold sf-ber 5

threshold

Configuration Example

The following example shows how to configure working and protect interfaces for APS/MSP.

  1. Configure the working interface.
    host1(config)#controller sonet 3/0 host1(config-controller)#aps group boston host1(config-controller)#aps working 1
  2. Configure the protect interface.
    host1(config-controller)#controller sonet 3/1 host1(config-controller)#aps group boston host1(config-controller)#aps protect 0 host1(config-controller)#aps unidirectional host1(config-controller)#aps revert 30 host1(config-controller)#threshold sf-ber 4

Configuring APS Event Collection

To configure line modules to deliver APS events to the necessary SNMP traps, issue the aps events command from Global Configuration mode.

aps events

Manual Switching to a Redundant Port

To switch from the working interface to the protect interface manually, issue the aps force command or the aps manual command. The aps force command overrides any switchover settings you configured on the protect interface; the aps manual command does not override those settings.

aps force

aps manual