Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring SONET/SDH Physical Interface Properties

 

You can configure SONET/SDH physical interface options to accomplish various tasks.

Note that when you configure SONET/SDH OC48 interfaces for channelized (multiplexed) mode (by including the no-concatenate statement at the [edit chassis fpc slot-number pic pic-number] hierarchy level), the bytes f1 statement has no effect. Currently, the bytes e1-quiet statement is ignored if you include it in the configuration. The bytes f2, bytes z3, bytes z4, and path-trace options work correctly on channel 0 and work in the transmit direction only on channels 1, 2, and 3. When using no-concatenate, you must specify a channel. For more information, see the Junos OS Administration Library.

For DS3 channels on a channelized OC12 interface, the bytes f1, bytes f2, bytes z3, and bytes z4 options have no effect. The bytes s1 option is supported only for channel 0; it is ignored if configured on channels 1 through 11. The bytes s1 value configured on channel 0 applies to all channels on the interface.

You can also include some of the statements in the sonet-options statement to set SONET/SDH parameters on ATM interfaces.

This topic includes the following tasks:

Configuring SONET/SDH Physical Interface Options

To configure the SONET/SDH physical interface options:

  1. In configuration mode, go to the [edit interfaces interface-name] hierarchy level, where the interface-name is so-fpc/pic/port.
  2. Configure the framing mode in SONET mode or SDH mode.

    For more information, see Configuring SONET/SDH Framing Mode for Ports .

  3. Configure the virtual tributary mapping standard as either International Telephony Union standard (itu-t) or KLM standard (klm). Here, the KLM standard is set by default.

    For more information, see Configuring Virtual Tributary Mapping.

  4. Configure an incrementing STM ID rather than a static one in the SDH overhead with the z0-increment. Note that you should include this option only for SDH mode. You can explicitly disable incrementing of the STM ID with the no-z0-increment option.

    For more information, see Configuring an Incrementing STM ID to Interoperate with Older Equipment in SDH Mode.

  5. Configure the interface speed with the oc3 | oc12 | oc48 option when the PIC is in concatenated mode and configure the speed with oc3 | oc12 option when the PIC is in non-concatenated mode.

    For more information, see Configuring SONET/SDH Interface Speed.

Configuring SONET/SDH Interface-Specific Options

To configure the SONET/SDH interface-specific options:

  1. Configure the sonet-options statement.

    For more information, see sonet-options.

  2. Configure the aggregated SONET/SDH logical interface number from 0 through 15.

    For more information, see aggregate.

  3. Configure the bytes option to set values in some SONET/SDH header bytes. You can configure this option with c2 value, e1-quiet value f1 value, f2 value, s1 value, z3 value, and z4 value.

    For more information, see Configuring SONET/SDH Header Byte Values to Identify Error Conditions.

  4. Configure the frame checksum (FCS) on the interface as either 16-bit frame checksum or 32-bit frame checksum.

    For more information, see Configuring the SONET/SDH Frame Checksum.

  5. Configure a loopback connection. To turn off the loopback capability, remove the loopback statement from the configuration.

    For more information, see Configuring SONET/SDH Loopback Capability to Identify a Problem as Internal or External.

  6. Configure a path trace identifier, which is a text string that identifies the circuit. The text string that identifies the circuit.

    For more information, see Configuring the SONET/SDH Path Trace Identifier for a Circuit.

  7. Configure HDLC scrambling which provides better link stability. You can enable HDLC scrambling with payload-scrambler option and disable it with no-payload-scrambler option.

    For more information, see Configuring SONET/SDH HDLC Payload Scrambling for Link Stability.

  8. Configure the rfc-2615 option to enable features described in RFC 2615, PPP over SONET/SDH.

    For more information, see Configuring PPP Support on SONET/SDH Interfaces.

  9. Configure SONET/SDH defect triggers as either ignore or hold time.

    The defect triggers can be ignored. By default all SONET/SDH defect triggers are honored if you do not include the trigger defect ignore statement.

    You can apply up and down hold times to SONET/SDH defect trigger. If you do not include the trigger defect hold-time statement, when a defect is detected the interface is marked down immediately and when the defect becomes absent the interface is marked up immediately.

    For more information, see Configuring SONET/SDH Defect Triggers.

Configuring MPLS Option for Passive Monitoring

To configure the MPLS options for passive monitoring:

  1. Configure the mpls option to process incoming IP packets that have MPLS labels for passive monitoring on ATM and SONET/SDH interfaces and 10-Gigabit Ethernet interfaces in WAN PHY mode.

    For more information, see mpls.

  2. Configure the pop-all-labels option to remove up to two MPLS labels from incoming IP packets in passive monitoring.

    For more information, see pop-all-labels.

  3. Configure the required-depth option as either 1 or 2 in the pop-all-labels statement to specify the number of MPLS labels an incoming packet must have for the pop-all-labels statement to take effect.

    If you include the required-depth 1 statement, the pop-all-labels statement takes effect for incoming packets with one label only.

    If you include the required-depth 2 statement, the pop-all-labels statement takes effect for incoming packets with two labels only.

    For more information, see required-depth.

Configuring Automatic Protection Switching Options

To configure Automatic Protection Switching (APS) options:

  1. Configure the Automatic Protection Switching option.

    For more information, see Configuring Basic Automatic Protect Switching.

  2. Configure the APS interval at which the protect and working routers send packets to their neighbors to advertise that they are operational. A router considers its neighbor to be operational for a period, called the hold time, that is, by default, three times the advertisement interval. You can set the APS interval from 1 through 65,534 millisecond. By default, 1000 milliseconds is set as advertise interval.

    For more information, see Configuring APS Timers.

  3. Configure the annex-b option for Multiplex Section Protection (MSP) switching on SDH interfaces for M320 and M120 routers only.

    For more information, see Configuring Lockout of Protection for SDH Interfaces.

  4. Configure the Automatic Protection Switching (APS) authentication key (password).

    For more information, see authentication-key.

  5. Configure the fast-aps-switch option to reduce the Automatic Protection Switching (APS) switchover time in Layer 2 circuits in M320 routers with Channelized OC3/STM1 Circuit Emulation PIC with SFP only.

    For more information, see fast-aps-switch.

  6. Configure the force option to either protect mode or working mode to perform a forced switch between the protect and working circuits. This statement is honored only if there are no higher-priority reasons to switch. It can be overridden by a signal failure on the protect circuit, thus causing a switch to the working circuit.

    For more information, see force.

  7. Configure the hold-time value in milliseconds to determine whether a neighbor APS router is operational where the hold-time value ranges from 1 through 65,354 milliseconds. By default, 3000 milliseconds (3 times the advertisement interval) is set as hold time.

    For more information, see hold-time.

  8. Configure a lockout of protection, forcing the use of the working circuit and locking out the protect circuit regardless of anything else.

    For more information, see lockout.

  9. Configure the address of the remote interface when you are configuring one router to be the working router and a second to be the protect router. You can configure this on one or both of the interfaces.

    For more information, see neighbor.

  10. Configure load sharing between two working protect circuit pairs where circuit’s group name is as configured with the protect-circuit or working-circuit statement.

    For more information, see Configuring APS Load Sharing.

  11. Configure link state replication with preserve-interface option

    For more information, see Configuring Link PIC Redundancy.

  12. Configure the protect router in an APS circuit pair. When the working interface fails, APS brings up the protection circuit and the traffic is moved to the protection circuit.

    For more information, see protect-circuit.

  13. Configure the request option as protect circuit or working circuit to perform a manual switch between the protect and working circuits. This statement is honored only if there are no higher-priority reasons to switch.

    For more information, see Configuring Switching Between the Working and Protect Circuits.

  14. Configure APS revertive mode in seconds ranging from 1 through 65,535 seconds which denotes the time to wait after the working circuit has again become functional before making the working circuit active again. By default, APS operates in nonrevertive mode.

    For more information, see Configuring Revertive Mode.

  15. Configure the interface in bidirectional mode or in unidirectional mode. By default, if the switching-mode statement is not configured, the mode is bidirectional, and the interface does not interoperate with a unidirectional SONET/SDH LTE.

    For more information, see Configuring Switching Mode.

  16. Configure the working router in an APS circuit pair.

    For more information, see working-circuit.