show interfaces smart-sfp-defects
语法
show interfaces smart-sfp-defects <brief | detail | terse> <interface-name>
说明
显示有关智能 SFP 接口上缺陷的信息。这些缺陷可以是 Smart SFP 设备缺陷,也可以是 TDM 传统缺陷。
选项
brief | detail | terse | (可选)显示指定的输出级别。 |
interface-name | 接口名称。 |
必需的权限级别
视图
输出字段
表 1 列出了命令的 show interfaces smart-sfp-defects
输出字段。输出字段按其显示大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
物理接口 |
物理接口的名称。 |
所有级别 |
启用 |
接口的状态。 |
所有级别 |
接口索引 |
物理接口的索引号,反映其初始化顺序。 |
详细无 |
SNMP ifIndex |
物理接口的 SNMP 索引号。 |
详细无 |
链路级别类型 |
物理接口上使用的封装。 |
所有级别 |
MTU |
物理接口上的最大传输单元大小。 |
所有级别 |
时钟 |
参考时钟源。 |
detail |
速度 |
接口运行速度。 |
所有级别 |
双工 |
接口的双工模式,全双工或半双工。 |
所有级别 |
MAC 重写错误 |
指定数据包的封装是否已更改。 |
无 |
BPDU 错误 |
指定是否已在受阻接口上收到 BPDU。 |
无 |
回送 |
环路状态:启用或禁用。如果启用了环路,则环路的类型:本地或远程。 |
所有级别 |
源过滤 |
源过滤状态:启用或禁用。 |
所有级别 |
流控制 |
流控制状态:启用或禁用。仅当未配置非对称流量控制时,才会显示此字段。 |
所有级别 |
设备标记 |
有关物理设备的信息。 |
所有级别 |
接口标志 |
有关接口的信息。 |
所有级别 |
智能收发器类型 |
智能 SFP 收发器类型。可能的值:E1、T1、DS3、STM1、STM4 或 STM16。 |
所有级别 |
智能 SFP |
可配置类型。与无法配置的其他智能 SFP 收发器不同,您可以配置这些 Smart SFP 收发器。 |
所有级别 |
智能 SFP 配置 |
||
回送 |
指定是否配置了环路。 |
所有级别 |
封装电路 ID |
用于脉冲的仿真电路 ID。可能的值:0 到 1048575。 |
所有级别 |
解封装电路 ID |
用于解封装的仿真电路 ID。可能的值:0 到 1048575。 |
所有级别 |
模式 |
成帧模式。可能的值:MEF8 或 MPLS。 |
所有级别 |
Dest MAC |
目标 MAC 地址 |
detail |
智能 SFP 缺陷 |
||
TDM 缺陷 |
旧有 TDM 缺陷。PDH 和 SDH 传统错误代码和缺陷特有的缺陷。 |
所有 |
系统缺陷 |
智能 SFP 设备缺陷。缺陷特定于您使用的 Smart SFP。 |
所有 |
CoS 队列 |
配置的 CoS 队列数。 |
详细无 |
暂停时间 |
当前接口运行暂侯时间和关闭暂侯时间,以毫秒为单位。 |
detail |
当前地址 |
配置的 MAC 地址。 |
详细无 |
硬件地址 |
硬件 MAC 地址。 |
详细无 |
上次翻动 |
接口从不运行到正常运行的日期、时间以及之前的时长。格式为 Last flapped: year-month-day hour:minute:second:timezone (hour:minute:second ago)。例如 Last flapped: 2008–01–16 10:52:40 UTC (3d 22:58 ago). |
详细无 |
统计最后一次清除 |
清除接口统计信息的日期、时间和时间。格式为 Statistics last cleared: year-month-day hour:minute:second:timezone (hour:minute:second ago)。例如,2010-05-17 07:51:28 PDT(00:04:33 之前)。 |
detail |
流量统计信息 |
物理接口上接收和传输的字节和数据包的数量和速率。
注:
带宽 bps 计数器未启用。 |
detail |
IPv6 中继统计信息 |
如果启用了 IPv6 统计信息跟踪,则逻辑接口上接收和传输的 IPv6 字节和数据包数:
注:
带宽 bps 计数器未启用。 |
detail |
输入错误 |
接口上的输入错误。以下段落解释了含义可能不明显的计数器:
|
详细无 |
输出错误 |
接口上的输出错误。以下段落解释了含义可能不明显的计数器:
|
详细无 |
出口队列 |
指定接口上支持的出口队列总数。 |
detail |
队列计数器 |
CoS 队列号及其关联的用户配置的转发类名称。
|
detail |
输入速率 |
输入速率,以位/秒 (bps) 和数据包/秒 (pps) 为单位。 |
无指定 |
输出速率 |
输出速率(以 bps 和 pps 为单位)。 |
无指定 |
逻辑接口 | ||
逻辑接口 |
逻辑接口的名称。 |
所有级别 |
索引 |
逻辑接口的索引号,反映其初始化顺序。 |
详细无 |
SNMP ifIndex |
逻辑接口的 SNMP 接口索引号。 |
详细无 |
标志 |
有关逻辑接口的信息。 如果在指定的接口上显式配置了单播逆向路径转发 (uRPF),将显示 uRPF 标志。如果在其他接口上配置 uRPF(因此在所有交换机接口上都已启用),但未在指定接口上显式配置 uRPF 标记,则即使启用了 uRPF,也不会显示 uRPF 标志。 |
所有级别 |
输入数据包 |
接口上接收的数据包数。 |
详细无 |
输出数据包 |
接口上传输的数据包数。 |
详细无 |
封装 |
逻辑接口上使用的封装方法。
|
所有级别 |
流量统计信息 |
物理接口上接收和传输的字节和数据包的数量和速率。
注:
带宽 bps 计数器未启用。 |
detail |
本地统计信息 |
注:
带宽 bps 计数器未启用。 |
detail |
传输统计信息 |
注:
带宽 bps 计数器未启用。 |
detail |
地址、标志 |
有关地址标志的信息。 |
详细无 |
protocol-family |
在逻辑接口上配置的协议家族。如果协议为 inet,则接口的 IP 地址也会显示。 |
简短 |
MTU |
物理接口上的最大传输单元大小。 |
所有级别 |
目标 |
连接远程端的 IP 地址。 |
详细无 |
本地 |
逻辑接口的 IP 地址。 |
详细无 |
广播 |
逻辑隔行的广播地址。 |
详细无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
detail |
路由表 |
逻辑接口地址所在的路由表。例如,0 是指路由表 inet.0。 |
详细无 |
示例输出
- show interfaces smart-sfp-缺陷 (T1)
- show interfaces smart-sfp-缺陷 (DS3)
- show interfaces smart-sfp-缺陷 (STM1)
show interfaces smart-sfp-缺陷 (T1)
user@host> show interfaces ge-4/1/0 smart-sfp-defects
Physical interface: ge-4/1/0, Enabled, Physical link is Up
Interface index: 216, SNMP ifIndex: 742
Link-level type: Ethernet-Bridge, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps, 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: Enabled, Remote fault: Online
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x20004000
Link flags : None
Smart Transceiver Type: T1
Smart SFP: Configurable Type
Smart SFP Configurations
Loopback: None
DMAC check Enabled: enabled
Encapulation Circuit Id: 400
Decapsulation Circuit Id: 16
VLAN1: 400 VLAN2: 400
Mode: MEF8
Dest MAC: 00:19:3a:02:a4:b8
Smart SFP Defects:
TDM defects : Local Packet Loss
System defects : None
Logical interface ge-4/1/0.0 (Index 395) (SNMP ifIndex 615)
Flags: Up SNMP-Traps 0x24004000 Encapsulation: Ethernet-Bridge
Tenant Name: (null)
Input packets : 2490261
Output packets: 2486756
Protocol bridge, MTU: 1514
show interfaces smart-sfp-缺陷 (DS3)
user@host> show interfaces ge-4/0/5 smart-sfp-defects
Physical interface: ge-4/0/5, Enabled, Physical link is Up
Interface index: 211, SNMP ifIndex: 735
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps, 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: Enabled, Remote fault: Online
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
Smart Transceiver Type: DS3
Smart SFP: Configurable Type
Smart SFP Configurations
Loopback: None
Encapulation Circuit Id: 16
Decapsulation Circuit Id: 16
Mode: MPLS
Smart SFP Defects:
TDM defects : Loss of Signal, Local Packet Loss, Out Of Frame
System defects : None
Logical interface ge-4/0/5.0 (Index 355) (SNMP ifIndex 612)
Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 430
Output packets: 0
Protocol multiservice, MTU: Unlimited
show interfaces smart-sfp-缺陷 (STM1)
user@host > show interfaces ge-4/0/0 smart-sfp-defects
Physical interface: ge-4/0/0, Enabled, Physical link is Up
Interface index: 192, SNMP ifIndex: 546, Generation: 269
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps, 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: Enabled,
Remote fault: Online
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
Smart Transceiver Type: STM1
Smart SFP: Configurable Type
Smart SFP Configurations
Loopback: None
DMAC check Enabled: enabled
Encapulation Circuit Id: 1000
Decapsulation Circuit Id: 2000
VLAN1: 100
Mode: MEF8
Dest MAC: 10:0e:7e:37:cd:29
Smart SFP Defects:
TDM defects : Local Packet Loss
System defects : None
Logical interface ge-4/0/0.0 (Index 369) (SNMP ifIndex 799) (Generation 190)
Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
Input packets : 2400
Output packets: 0
Protocol multiservice, MTU: Unlimited
发布信息
在 Junos OS 19.4 版中引入的命令。