show interfaces (Discard)
语法
show interfaces dsc <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
描述
显示有关指定丢弃接口的状态信息。
选项
dsc | 显示有关指定丢弃接口的标准信息。 |
brief | detail | extensive | terse | (可选)显示指定的输出级别。 |
descriptions | (可选)显示接口说明字符串。 |
media | 此选项与丢弃接口无关,始终显示值 0。 |
snmp-index snmp-index | (可选)显示接口的指定 SNMP 索引的信息。 |
statistics | (可选)此选项与丢弃接口无关,始终显示值 0。 |
所需权限级别
视图
输出字段
表 1 列出了(丢弃)命令的 show interfaces
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
物理接口 |
物理接口的名称、接口是否已启用以及物理接口的状态: Up 或 Down。 |
所有级别 |
接口索引 |
物理接口的索引号,反映其初始化顺序。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
SNMP ifIndex |
物理接口的 SNMP 索引号。 |
细节 广泛 无 |
类型 |
接口类型。 软件伪 表示没有关联硬件设备的标准软件接口。 |
所有级别 |
链路级别类型 |
在物理接口上使用封装。 |
所有级别 |
Mtu |
物理接口上的 MTU 大小。 |
所有级别 |
时钟 |
参考时钟源。它可以是 内部 的,也可以是 外部的。 |
简要细节广泛 |
速度 |
接口运行速度。 |
简要细节广泛 |
设备标志 |
有关物理设备的信息。通用 输出字段说明下的“设备标志”部分介绍了可能的值。 |
所有级别 |
接口标志 |
有关接口的信息。通用 输出字段说明下的“接口标志”部分介绍了可能的值。 |
所有级别 |
链路类型 |
在物理接口上使用封装。 |
细节丰富 |
链接标志 |
有关链接的信息。通用 输出字段说明下的“链路标志”部分介绍了可能的值。 |
细节丰富 |
物理信息 |
有关物理接口的信息。 |
细节丰富 |
保持时间 |
当前接口保持时间启动和保持时间关闭。值以毫秒为单位。 |
细节丰富 |
当前地址、硬件地址 |
配置的 MAC 地址和硬件 MAC 地址。 |
细节丰富 |
备用链路地址 |
链路的备份地址。 |
细节丰富 |
最后一次翻动 |
接口从下到上的日期、时间和前多久。格式为上次翻动:year-month- hourday :minute:(hourtimezonesecond:minute:前)。second例如,上次翻动:2002-04-26 10:52:40 PDT(04:33:20 前)。 |
细节 广泛 无 |
上次清除的统计信息 |
上次将接口的统计信息设置为零的时间。 |
细节丰富 |
流量统计 |
物理接口上接收和传输的字节和数据包的数量和速率。
|
细节丰富 |
输入错误 |
接口上的输入错误:
|
细节丰富 |
输出错误 |
(仅限广泛版)接口上的输出错误。以下段落解释了含义可能不明显的计数器:
|
细节丰富 |
逻辑接口 | ||
逻辑接口 |
逻辑接口的名称。 |
所有级别 |
指数 |
逻辑接口索引号,反映其初始化顺序。 |
细节丰富 |
SNMP ifIndex |
逻辑接口 SNMP 接口索引号。 |
细节丰富 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
标志 |
有关逻辑接口的信息。 通用输出字段说明下的“逻辑接口标志”部分介绍了可能的值。 |
所有级别 |
封装 |
逻辑接口上的封装。 |
所有级别 |
协议 |
在逻辑接口上配置的协议家族,例如 ISO、 inet6 或 MPLS。 |
所有级别 |
Mtu |
逻辑接口上的 MTU 大小。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
路由表 |
逻辑接口地址所在的路由表。例如, 0 表示路由表 inet.0。 |
细节丰富 |
示例输出
显示接口 DSC
user@host> show interfaces dsc Physical interface: dsc, Enabled, Physical link is Up Interface index: 5, SNMP ifIndex: 5 Type: Software-Pseudo, MTU: Unlimited Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link flags : None Last flapped : Never Input packets : 0 Output packets: 0 Logical interface dsc.0 (Index 66) (SNMP ifIndex 235) Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified Protocol inet, MTU: Unlimited Flags: None
显示接口 DSC 简介
user@host> show interfaces dsc brief Physical interface: dsc, Enabled, Physical link is Up Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Logical interface dsc.0 Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified inet
显示接口 DSC 详细信息
user@host> show interfaces dsc detail Physical interface: dsc, Enabled, Physical link is Up Interface index: 5, SNMP ifIndex: 5, Generation: 9 Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Unspecified Link flags : None Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: Unspecified, Hardware address: Unspecified Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Logical interface dsc.0 (Index 66) (SNMP ifIndex 235) (Generation 6) Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified Protocol inet, MTU: Unlimited, Generation: 14, Route table: 0 Flags: None
显示接口 DSC 广泛
user@host> show interfaces dsc extensive Physical interface: dsc, Enabled, Physical link is Up Interface index: 5, SNMP ifIndex: 5, Generation: 9 Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Unspecified Link flags : None Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: Unspecified, Hardware address: Unspecified Alternate link address: Unspecified Last flapped : Never Statistics last cleared: Never Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Logical interface dsc.0 (Index 66) (SNMP ifIndex 235) (Generation 6) Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified Protocol inet, MTU: Unlimited, Generation: 14, Route table: 0
发布信息
在 Junos OS 7.4 版之前引入的命令。