link-degrade-monitor
Syntax
link-degrade-monitor { (link-degrade-monitor-enable | no-link-degrade-monitor-enable); actions media-based; recovery { (auto | manual); timer timer; } thresholds { clear clear-value; interval interval-value; set set-value; warning-clear warning-clear-value; warning-set warning-set-value; } }
Hierarchy Level
[edit interfaces interfaces- name]
Description
Configure link degrade monitoring on an interface and when a link degrade event is detected, specify the corrective action to be triggered. When configured, the feature monitors the quality of physical links on Ethernet interfaces (10-Gigabit, 25-Gigabit, 40-Gigabit, 50-Gigabit, 100-Gigabit, 200-Gigabit and 400-Gigabit) and triggers the user-configured action when the link’s bit error rate (BER) value breaches the configured threshold. This feature can detect a BER value as low as 10-15 to 10-1.
Starting
in Junos OS Evolved Release 20.2R1, you can monitor physical link
degradation based on Bit Error Rate (BER)) on 10-Gigabit, 25-Gigabit,
40-Gigabit, 50-Gigabit, 100-Gigabit, 200-Gigabit and 400-Gigabit Ethernet
interfaces on PTX1001-36MR. The guidelines to configure link-degrade-monitor
on Gigabit Ethernet interfaces are:
Whenever there is a local degrade event, in any of the interfaces, a
LOCAL-DEGRADE
flag is set and aREMOTE-DEGRADE
flag is advertised on the peer interface of the connected router. When you enable thelink-degrade
option, Junos OS will maintain statistics such as, number of times the link degrade event has occurred and if the link is degraded, then seconds elapsed since the link degrade event. You can view these details by using the show interfaces command. This command also shows theLink Degrade Status
(if the link degradeDefect
) is active or cleared. See show interfaces for output information.On 400-Gigabit Ethernet interfaces:
The permissible range of BER is between 1E-5 to 1E-10. If you set any threshold value beyond the permissible range the value will be auto adjusted between 1E-5 to 1E-10. If you configure the set threshold value higher than 1E-5 (i.e between 1E-1 to 1E-4), the value will be adjusted to 1E-5. If you configure the clear threshold value lesser than 1E-10 (i.e between 1E-11 and 1E-15), the value will be adjusted to 1E-10.
The option
threshold intervals
andrecover timer
are ignored. The error rates for 400-Gigabit Ethernet are always calculated per second. As soon as the BER per second becomes lower than clear threshold error rate, the link will be considered as recovered from degradation.The bit errors detected before applying FEC (Pre-FEC) correction is considered for determining the degrade state. The
set
andclear
thresholds apply for pre FEC bit errors. For information FEC support see, Port Speed on PTX10001-36MR Router Overview.
Options
link-degrade-monitor-enable | Enable link degrade monitoring on an interface. |
no-link-degrade-monitor-enable | Disable link degrade monitoring on an interface. |
media-based | Action to be taken when a link degrade event is detected. A media-based action brings down the physical link at both local and remote ends of the interface, and stops BER monitoring at the local end until an autorecovery is triggered. |
The remaining statements are described separately.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 15.1.
The options link-degrade-monitor-enable
and no-link-degrade-monitor-enable
are introduced in Junos OS Evolved
Release 20.1R1.