SONET/SDH HDLC payload scrambling, which is enabled by default, provides better link stability. Both sides of a connection must either use or not use scrambling.
![]() |
Note: HDLC payload scrambling conflicts with traffic shaping configured using leaky bucket properties. If you configure leaky bucket properties, you must disable payload scrambling, because the JUNOS software rejects configurations that have both features enabled. For more information, see Configuring Receive and Transmit Leaky Bucket Properties. |
On a channelized OC12 interface, the sonet-options payload-scrambler statement is ignored. To configure scrambling on the DS3 channels on the interface, include the t3-options payload-scrambler statement in the configuration for each DS3 channel.
To disable HDLC payload scrambling, include the no-payload-scrambler statement at the [edit interfaces interface-name sonet-options] hierarchy level:
- [edit interfaces so-fpc/pic/port sonet-options]
- no-payload-scrambler;
To return to the default, that is, to re-enable payload scrambling, delete the no-payload-scrambler statement from the configuration:
- [edit]
- user@host# delete interfaces so-fpc/pic/port sonet-options no-payload-scrambler
To explicitly enable payload scrambling, include the payload-scrambler statement at the [edit interfaces interface-name sonet-options] hierarchy level:
- [edit interfaces so-fpc/pic/port sonet-options]
-
payload-scrambler;