Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Damping Interface Transitions

    By default, when an interface changes from being up to being down, or from down to up, this transition is advertised immediately to the hardware and Junos OS. In some situations—for example, when an interface is connected to an add-drop multiplexer (ADM) or wavelength-division multiplexer (WDM), or to protect against SONET/SDH framer holes—you might want to damp interface transitions. This means not advertising the interface’s transition until a certain period of time has passed, called the hold-time. When you have damped interface transitions and the interface goes from up to down, the interface is not advertised to the rest of the system as being down until it has remained down for the hold-time period. Similarly when an interface goes from down to up, it is not advertised as being up until it has remained up for the hold-time period.

    To damp interface transitions:

    1. In the configuration mode, go to [edit interfaces] hierarchy level.
      [edit]user@host# edit interfaces interface-name-fpc-slot/pic-slot/port

      For example:

      [edit]user@host# edit interfaces so-1/0/0
    2. Configure the hold-time for link up and link down.
      [edit interfaces so-1/0/0]user@host# set hold-time up milliseconds down milliseconds;

      For Example:

      [edit interfaces so-1/0/0]user@host# set hold-time up 100 down 100;

    The time can be a value from 0 through 4,294,967,295 milliseconds. The default value is 0, which means that interface transitions are not damped. Junos OS advertises the transition within 100 milliseconds of the time value you specify.

    For most Ethernet interfaces, hold timers are implemented using a 1-second polling algorithm. For 1-port, 2-port, and 4-port Gigabit Ethernet interfaces with small form-factor pluggable transceivers (SFPs), hold timers are interrupt-driven.

    Note: The hold-time option is not available for controller interfaces.

    Published: 2013-02-12