show interfaces smart-sfp-statistics
语法
show interfaces smart-sfp-statistics <brief | detail | extensive | terse> <descriptions> <interface-name> <media> <routing-instance (all | instance-name)> <snmp-index snmp-index>
说明
显示有关指定智能 SFP 接口的状态信息。
选项
brief | detail | extensive | terse | (可选)显示指定的输出级别。 |
descriptions | (可选)显示接口说明字符串。 |
interface-name | 接口名称。 |
media | (可选)显示有关网络接口的介质特定信息。 |
routing-instance (all | instance-name) | (可选)显示所有路由实例或单个路由实例的名称。 |
snmp-index snmp-index | (可选)显示接口的指定 SNMP 索引的信息。 |
必需的权限级别
视图
输出字段
表 1 列出了命令的 show interfaces smart-sfp-statistics
输出字段。输出字段按其显示大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
物理接口 |
物理接口的名称。 |
所有级别 |
启用 |
接口的状态。 |
所有级别 |
接口索引 |
物理接口的索引号,反映其初始化顺序。 |
详细无 |
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 地址。 |
全部 |
智能 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-statistics (STM1)
- show interfaces smart-sfp-statistics detail (STM1)
- show interfaces smart-sfp-statistics terse (STM1)
- show interfaces smart-sfp-statistics (DS3)
- show interfaces smart-sfp-statistics detail (DS3)
- show interfaces smart-sfp-statistics terse (DS3)
- 命令名称
show interfaces smart-sfp-statistics (STM1)
user@host> show interfaces ge-5/3/9 smart-sfp-statistics
Physical interface: ge-5/3/9, Enabled, Physical link is Up
Interface index: 300, SNMP ifIndex: 562
Link-level type: Ethernet, MTU: 1518, MRU: 1526, 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
Smart Transceiver Type: STM1/OC3
Smart SFP: Configurable Type
Smart SFP Configurations
Loopback: None
Mode: MEF8
Smart SFP Ethernet port[P1] Statistics: Counters
Rx frames 64376
Rx bytes 4128352
Rx errored fcs frames 0
Rx length error frames 0
Tx frames 2552954627
Tx bytes 120088140
Smart SFP AV IWF Encap/Decap Statistics: Counters
Rx Packets 0
Tx Packets 2552812339
Malformed Packets 0
Reordered Packets 0
Misordered Dropped Packets 0
Missing Packets 0
PlayedOut Packets 0
JitterBuffer Overrun Packets 0
JitterBuffer Underrun Packets 0
Smart SFP STM port[P0] statistics: Counters
Rx b1errors 0
Tx b1errors 0
Logical interface ge-5/3/9.32767 (Index 347) (SNMP ifIndex 659)
Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2
Input packets : 171346
Output packets: 0
Protocol multiservice, MTU: Unlimited
Flags: Is-Primary
show interfaces smart-sfp-statistics detail (STM1)
user@host> show interfaces ge-5/3/9 smart-sfp-statistics detail
Physical interface: ge-5/3/9, Enabled, Physical link is Up
Interface index: 300, SNMP ifIndex: 562, Generation: 303
Link-level type: Ethernet, MTU: 1518, MRU: 1526, 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
Smart Transceiver Type: STM1/OC3
Smart SFP: Configurable Type
Smart SFP Configurations
Loopback: None
Mode: MEF8
Smart SFP Ethernet port[P1] Statistics: Counters
Rx frames 105783
Rx bytes 6778400
Rx errored fcs frames 0
Rx length error frames 0
Tx frames 4209457628
Tx bytes 301542720
Smart SFP AV IWF Encap/Decap Statistics: Counters
Rx Packets 0
Tx Packets 4209223157
Malformed Packets 0
Reordered Packets 0
Misordered Dropped Packets 0
Missing Packets 0
PlayedOut Packets 0
JitterBuffer Overrun Packets 0
JitterBuffer Underrun Packets 0
Smart SFP STM port[P0] statistics: Counters
Rx b1errors 0
Tx b1errors 0
Logical interface ge-5/3/9.32767 (Index 347) (SNMP ifIndex 659) (Generation 186)
Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2
Traffic statistics:
Input bytes : 23232960
Output bytes : 0
Input packets: 281769
Output packets: 0
Local statistics:
Input bytes : 0
Output bytes : 0
Input packets: 0
Output packets: 0
Transit statistics:
Input bytes : 23232960 1008 bps
Output bytes : 0 0 bps
Input packets: 281769 1 pps
Output packets: 0 0 pps
Protocol multiservice, MTU: Unlimited, Generation: 227, Route table: 0
Flags: Is-Primary
Policer: Input: __default_arp_policer__
show interfaces smart-sfp-statistics terse (STM1)
user@host> show interfaces ge-5/3/9 smart-sfp-statistics terse
Interface Admin Link Proto Local Remote
ge-5/3/9 up up
ge-5/3/9.32767 up up multiservice
show interfaces smart-sfp-statistics (DS3)
user@host> show interfaces ge-5/3/0 smart-sfp-statistics
Physical interface: ge-5/3/0, Enabled, Physical link is Up
Interface index: 291, SNMP ifIndex: 559
Link-level type: Ethernet, MTU: 1518, MRU: 1526, 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
Smart Transceiver Type: DS3
Smart SFP: Configurable Type
Smart SFP Configurations
Loopback: None
Encapulation Circuit Id: 16
Decapsulation Circuit Id: 16
Mode: MEF8
Dest MAC: 01:0f:25:00:00:03
Smart SFP Ethernet port[P1] Statistics: Counters
Rx frames 3013
Rx bytes 220548
Rx errored fcs frames 0
Rx unicast frames 3013
Rx multicast frames 0
Rx broadcast frames 0
Rx fragments 0
Rx undersize frames 0
Rx oversize frames 0
Rx invalid vlan mismatch frames 0
Tx frames 110842256
Tx bytes 4202709764
Tx unicast frames 18256
Tx multicast frames 110824000
Tx broadcast frames 0
Smart SFP AV IWF Encap/Decap Statistics: Counters
Rx Packets 0
Tx Packets 110824000
Malformed Packets 0
Reordered Packets 0
Misordered Dropped Packets 0
Missing Packets 0
PlayedOut Packets 0
JitterBuffer Overrun Packets 0
JitterBuffer Underrun Packets 0
Smart SFP DS3 port[P0] statistics: Counters
BiPolarVariations/Excessive zero errors 0
Tx B3 Errors 0
Code Violation path errors 0
Logical interface ge-5/3/0.32767 (Index 358) (SNMP ifIndex 660)
Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2
Input packets : 18341
Output packets: 0
Protocol multiservice, MTU: Unlimited
Flags: None
show interfaces smart-sfp-statistics detail (DS3)
Physical interface: ge-5/3/0, Enabled, Physical link is Up Interface index: 291, SNMP ifIndex: 559, Generation: 294 Link-level type: Ethernet, MTU: 1518, MRU: 1526, 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 Smart Transceiver Type: DS3 Smart SFP: Configurable Type Smart SFP Configurations Loopback: None Encapulation Circuit Id: 16 Decapsulation Circuit Id: 16 Mode: MEF8 Dest MAC: 01:0f:25:00:00:03 Smart SFP Ethernet port[P1] Statistics: Counters Rx frames 4329 Rx bytes 316992 Rx errored fcs frames 0 Rx unicast frames 4329 Rx multicast frames 0 Rx broadcast frames 0 Rx fragments 0 Rx undersize frames 0 Rx oversize frames 0 Rx invalid vlan mismatch frames 0 Tx frames 159426251 Tx bytes 746264028 Tx unicast frames 26251 Tx multicast frames 159400000 Tx broadcast frames 0 Smart SFP AV IWF Encap/Decap Statistics: Counters Rx Packets 0 Tx Packets 159400000 Malformed Packets 0 Reordered Packets 0 Misordered Dropped Packets 0 Missing Packets 0 PlayedOut Packets 0 JitterBuffer Overrun Packets 0 JitterBuffer Underrun Packets 0 Smart SFP DS3 port[P0] statistics: Counters BiPolarVariations/Excessive zero errors 0 Tx B3 Errors 0 Code Violation path errors 0 Logical interface ge-5/3/0.32767 (Index 358) (SNMP ifIndex 660) (Generation 197) Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2 Traffic statistics: Input bytes : 2985128 Output bytes : 0 Input packets: 26336 Output packets: 0 Local statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Transit statistics: Input bytes : 2985128 1024 bps Output bytes : 0 0 bps Input packets: 26336 1 pps Output packets: 0 0 pps Protocol multiservice, MTU: Unlimited, Generation: 242, Route table: 0 Flags: None Policer: Input: __default_arp_policer__
show interfaces smart-sfp-statistics terse (DS3)
user@host> show interfaces ge-5/3/0 smart-sfp-statistics terse
Interface Admin Link Proto Local Remote
ge-5/3/0 up up
ge-5/3/0.32767 up up multiservice
命令名称
发布信息
在 Junos OS 19.4 版中引入的命令。