request interface link-degrade-recover
Syntax
request interface link-degrade-recover interfaces-name
Description
Manually recover a degraded physical link. Manual recovery is used when the interface has any Layer 2 and Layer 3 protocols that prevents autorecovery. This command is applicable only if you have configured the manual link recovery option on the interface.
Manual recovery option is recommended for user deployments that have static route configurations causing the remote end of the link to start forwarding packets (as soon as the physical link is up) while auto-recovery is in progress.
Options
interfaces-name |
Name of the interface. |
Required Privilege Level
View
Output Fields
When you enter this command, Junos OS displays the status of your request.
Sample Output
- Manual recovery
- Interface status when link degrade is enabled
- Interface status when the defect is active
Manual recovery
user@host>run request interface link-degrade-recover xe-9/1/11
FPC 9 PIC 1 PORT 11 Link Degrade Recovery Started
Interface status when link degrade is enabled
user@host>run show interfaces xe-9/1/11
Physical interface: xe-9/1/11, Enabled, Physical link is Up
Interface index: 181, SNMP ifIndex: 664
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None, Loopback: None, Source filtering: Disabled,
Flow control: Enabled, Speed Configuration: Auto
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Schedulers : 0
Current address: 28:8a:1c:c9:0e:32, Hardware address: 28:8a:1c:c9:0e:32
Last flapped : 2017-10-25 01:53:17 PDT (00:00:10 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
PCS statistics Seconds
Bit errors 0
Errored blocks 0
Link Degrade :
Link Monitoring : Enable
Link Degrade Set Threshold : 1E-8
Link Degrade Clear Threshold : 1E-11
Link Degrade War Set Threshold : 1E-9
Link Degrade War Clear Threshold : 1E-10
Estimated BER : <= 1E-16
Link-degrade event : Seconds Count State
0 0 OK
Interface transmit statistics: Disabled
Logical interface xe-9/1/11.0 (Index 32368) (SNMP ifIndex 33153)
Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 0
Output packets: 0
Protocol inet, MTU: 1500
Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.1.1/24, Local: 10.1.1.1, Broadcast: 10.1.1.255
Protocol multiservice, MTU: Unlimited
Flags: Is-Primary
Interface status when the defect is active
user@host>run show interfaces xe-9/1/11
Physical interface: xe-9/1/11, Enabled, Physical link is Down
Interface index: 181, SNMP ifIndex: 664
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None, Loopback: None, Source filtering: Disabled,
Flow control: Enabled, Speed Configuration: Auto
Pad to minimum frame size: Disabled
Device flags : Present Running Down
Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Schedulers : 0
Current address: 28:8a:1c:c9:0e:32, Hardware address: 28:8a:1c:c9:0e:32
Last flapped : 2017-10-25 01:54:09 PDT (00:00:03 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : LINK
Active defects : LINK, LOCAL-FAULT
PCS statistics Seconds
Bit errors 0
Errored blocks 0
Link Degrade :
Link Monitoring : Enable
Link Degrade Set Threshold : 1E-8
Link Degrade Clear Threshold : 1E-11
Link Degrade War Set Threshold : 1E-9
Link Degrade War Clear Threshold : 1E-10
Estimated BER : 1E-4
Link-degrade event : Seconds Count State
4 1 Defect Active
Interface transmit statistics: Disabled
Logical interface xe-9/1/11.0 (Index 32368) (SNMP ifIndex 33153)
Flags: Device-Down SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 0
Output packets: 0
Protocol inet, MTU: 1500
Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
Destination: 10.1.1/24, Local: 10.1.1.1, Broadcast: 10.1.1.255
Protocol multiservice, MTU: Unlimited
Flags: Is-Primary
Release Information
Command introduced in Junos OS Release 15.1.