show interfaces diagnostics optics-applications
语法
show interfaces diagnostics optics-applications
层次结构级别
[edit interfaces diagnostics]
描述
显示应用程序选择、主机接口代码、媒体接口代码、主机通道、媒体通道、主机分配和介质分配。输出显示可切换模式。
所需权限级别
视图
输出字段
表 1 列出了命令 show interfaces diagnostics optics-applications
的输出字段。
字段名称 | 字段说明 |
---|---|
物理接口 | 物理接口的名称。 |
接口索引 | 物理接口的索引号,反映其初始化顺序。 |
波长 | 光学器件的波长,单位为 nm。 |
媒体代码 | 描述线路侧配置。 |
主机代码 | 描述系统端配置。 |
设备标志 | 提供有关物理接口的信息。 |
接口标志 | 提供有关物理接口的信息。 |
CoS 队列 | 配置的 CoS 队列数。 |
当前地址 | 配置的 MAC 地址。 |
上次拍打 | 接口从下到上的日期、时间和前多久。的 格式为 上次翻动: 年-月-日 小时 :分钟 :秒 :时区 (小时 :分钟 :秒前)。 |
输入速率 | 输入速率,以位/秒 (bps) 和数据包/秒 (pps) 为单位。如果在 PIC 级别或逻辑接口级别启用第 2 层开销核算,则此字段中的值还包括以太网接口上入口流量的第 2 层开销字节。 |
输出速率 | 以 bps 和 pps 为单位的输出速率。如果在 PIC 级别或逻辑接口级别启用第 2 层开销核算,则此字段中的值还包括以太网接口上出口流量的第 2 层开销字节。 |
活动报警和活动缺陷 | 特定于以太网的缺陷,可阻止接口传递数据包。当缺陷持续一段时间后,就会升级为报警。根据路由设备配置,报警可能会在路由设备上响起红色或黄色警铃,或者打开控制面板上的红色或黄色报警 LED。这些字段可以包含值“无”或“链接”。 无 - 没有活动缺陷或警报。 链路 — 接口丢失其链路状态,这通常表示电缆已拔出、远端系统已关闭或 PIC 出现故障。 |
电脑统计 | 显示来自 WAN PHY 或 LAN PHY 设备的物理编码子层 (PCS) 故障情况。 |
上次拍打 | 接口从下到上的日期、时间和前多久。格式为上次翻动:年-月-日小时:分钟 :秒:时区 (小时 :分钟 :秒前)。 |
示例输出
显示接口诊断光学器件-应用
要显示 1x400G 速度的 3 种不同模式,请使用以下命令:
user@router> show interfaces diagnostics optics-applications et-0/0/10
root@ardbeg-01# ...gnostics optics-applications et-0/0/10 Physical interface: et-0/0/10 Interface Name : et-0/0/10 Current Speed : 1x400G Ap Sel Host Intf Code Media Intf Code Host Lanes Media Lanes Host Assign Media Assign 1 400GAUI-8 C2M (Annex 120E)(17) 400ZR, DWDM, amplified(62) 8 1 1 1 2 400GAUI-8 C2M (Annex 120E)(17) 400ZR, Single Wavelength,Unamplified(63) 8 1 1 1 3 100GAUI-2 C2M (Annex 135G)(13) 400ZR, DWDM, amplified(62) 2 1 85 1
要显示媒体代码和主机代码,请使用以下命令:
root@router> show interfaces et-0/0/10 Physical interface: et-0/0/10, Enabled, Physical link is Up Interface index: 1045, SNMP ifIndex: 561 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 400Gbps, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Disabled, Media type: Fiber Wavelength : 1550.12 nm, Frequency: 193.40 THz Optic-loopback : Enabled , Optic-loopbacktype : media-side-output Media Code : ZR-400-OFEC-16QAM Host Code : 400GAUI-8 C2M (Annex 120E) Device flags : Present Running Interface flags: SNMP-Traps CoS queues : 8 supported, 8 maximum usable queues Current address: 88:d9:8f:0d:b1:54, Hardware address: 88:d9:8f:0d:b1:54 Last flapped : 2023-02-09 01:40:32 PST (04:06:07 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 Ethernet FEC Mode : FEC119 Ethernet FEC statistics Errors FEC Corrected Errors 376995 FEC Uncorrected Errors 2408 FEC Corrected Errors Rate 9 FEC Uncorrected Errors Rate 0 Optic FEC Mode : OFEC Optic FEC statistics: Corrected Errors 678954129269 Uncorrected Words 443 Corrected Error rate 23813914 Uncorrected Error rate 0 Corrected Error Ratio ( 26857 seconds average) 5.73e-05 PRBS Mode : Disabled Interface transmit statistics: Disabled Link Degrade : Link Monitoring : Disable Logical interface et-0/0/10.16386 (Index 1038) (SNMP ifIndex 578) Flags: Up SNMP-Traps Encapsulation: ENET2 DF Input packets : 0 Output packets: 0 Protocol multiservice, MTU: Unlimited Flags: None
发布信息
在 Junos OS 演化版 23.1R1 中引入的命令。