request interface link-degrade-recover
语法
request interface link-degrade-recover interfaces-name
描述
手动恢复已降级的物理链路。当接口具有阻止自动恢复的任何第 2 层和第 3 层协议时,将使用手动恢复。仅当您在接口上配置了手动链路恢复选项时,此命令才适用。
注意:
对于具有静态路由配置的用户部署,建议使用手动恢复选项,该部署会导致链路的远程端在自动恢复过程中开始转发数据包(一旦物理链路启动)。
选项
interfaces-name | 接口的名称。 |
所需权限级别
视图
输出字段
输入此命令时,Junos OS 将显示请求的状态。
示例输出
手动恢复
user@host>run request interface link-degrade-recover xe-9/1/11
FPC 9 PIC 1 PORT 11 Link Degrade Recovery Started
启用链路降级时的接口状态
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
缺陷处于活动状态时的接口状态
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
发布信息
在 Junos OS 15.1 版中引入的命令。