show interfaces (Link Services)
语法
对于多链路帧中继用户到用户网络到网络接口 (UNI NNI):
show interfaces interface-type :channel <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
对于端到端的多链路帧中继:
show interfaces interface-type <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
描述
显示有关指定链路服务接口的状态信息。
选项
interface-type | 在 M 系列和 T 系列路由器上,接口类型为 ls-fpc/pic/port。 |
brief | detail | extensive | terse | (可选)显示指定的输出级别。 |
channel | 链路服务接口的通道号。 |
descriptions | (可选)显示接口说明字符串。 |
media | (可选)显示有关网络接口的介质特定信息。 |
snmp-index snmp-index | (可选)显示接口的指定 SNMP 索引的信息。 |
statistics | (可选)显示静态接口统计信息。 |
所需权限级别
视图
输出字段
表 1 列出了(链路服务)命令的 show interfaces
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
物理接口 |
物理接口的名称。 |
所有级别 |
启用 |
接口的状态。通用 输出字段说明下的“已启用字段”部分介绍了可能的值。 |
所有级别 |
接口索引 |
物理接口的索引号,反映其初始化顺序。 |
细节 广泛 无 |
SNMP ifIndex |
物理接口的 SNMP 索引号。 |
细节 广泛 无 |
生成 |
供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
链路级别类型 |
物理接口上使用的封装:Multilink-Frame-Relay-UNI-NNI(默认)、LinkService、Frame-relay、Frame-relay-ccc 或 Frame-relay-tcc。 |
所有级别 |
Mtu |
物理接口上的最大传输单元大小。 |
所有级别 |
设备标志 |
有关物理设备的信息。通用 输出字段说明下的“设备标志”部分介绍了可能的值。 |
所有级别 |
接口标志 |
有关接口的信息。通用 输出字段说明下的“接口标志”部分介绍了可能的值。 |
所有级别 |
最后一次翻动 |
接口从下到上的日期、时间和前多久。格式为上次翻动:year-month- hourday :minute:(hourtimezonesecond:minute:前)。second例如,上次翻动:2002-04-26 10:52:40 PDT(04:33:20 前)。 |
细节 广泛 无 |
上次清除的统计信息 |
上次将接口的统计信息设置为零的时间。 |
细节丰富 |
链接标志 |
有关链接的信息。通用 输出字段说明下的“链路标志”部分介绍了可能的值。 |
所有级别 |
保持时间 |
当前接口保持 Up Time Up 和 Hold Time Down(以毫秒为单位),格式为 Up n ms, Down n ms。 |
细节丰富 |
多链路帧中继 UNI NNI 捆绑包选项 |
多链路帧中继 仅限 UNI NNI)有关多链路帧中继捆绑包选项的已配置信息。
|
细节 广泛 无 |
多链路帧中继 UNI NNI 捆绑包选项 (续) |
|
细节 广泛 无 |
流量统计 |
物理接口上接收和传输的字节和数据包的数量和速率。对流量方向(输入或输出)的所有引用都是相对于路由器定义的。路由器接收的输入片段组装成输入数据包;输出数据包被分段为输出片段,以便从路由器传输出去。 |
细节丰富 |
多链路帧中继 UNI NNI 束错误 |
有关多链路帧中继束错误的信息。
|
细节丰富 |
多链路帧中继 UNI NNI 束统计信息 |
有关多链路帧中继束的信息。
|
细节丰富 |
多链路帧中继 UNI NNI 捆绑链路信息 |
|
细节 广泛 无 |
多链路帧中继 UNI NNI 活动束链路统计信息 |
(仅限多链路帧中继 UNI NNI)显示每个活动捆绑包链路的信息。
|
细节丰富 |
多链路帧中继 UNI NNI 活动束链路统计信息 (续) |
|
细节丰富 |
帧例外 |
仅适用于端到端的多链路帧中继。有关成帧异常的信息。包括在每个逻辑接口的 异常事件 下记录的事件。
|
细节丰富 |
缓冲异常 |
仅适用于端到端的多链路帧中继。有关缓冲异常的信息。包括在每个逻辑接口的 异常事件 下记录的事件:
|
细节丰富 |
程序集例外 |
仅适用于端到端的多链路帧中继。有关程序集异常的信息。包括在每个逻辑接口的 异常事件 下记录的事件。 程序集异常并不一定表示物理链路服务接口本身存在操作问题。如果在分配序列号后丢弃或重新排序多链路封装的流量,则组装多链路接口将记录一个或多个异常事件。因此,多链路接口本身可能会丢弃多链路封装的片段。物理链路服务接口本身丢弃的任何多链路数据包或分片都会导致单个逻辑接口上的数据包或分片丢弃计数。如果逻辑接口丢弃计数为零,但看到异常事件,则最可能的原因是各个链路接口出现问题。即使逻辑接口片段丢弃计数不为零,单个接口上过多的差分延迟或流量丢失也可能是根本原因。 |
细节丰富 |
大会例外 (续) |
|
细节丰富 |
硬件错误 |
仅适用于端到端的多链路帧中继。有关硬件错误的信息:
|
细节丰富 |
逻辑接口 | ||
逻辑接口 |
逻辑接口的名称。 |
所有级别 |
指数 |
逻辑接口索引号,反映其初始化顺序。 |
细节 广泛 无 |
SNMP ifIndex |
逻辑接口 SNMP 接口索引号。 |
细节 广泛 无 |
生成 |
供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
标志 |
有关逻辑接口的信息。 通用输出字段说明下的“逻辑接口标志”部分介绍了可能的值。 |
所有级别 |
封装 |
正在使用的封装:PPP、多链路 - FR 或多链路 - PPP |
所有级别 |
带宽 |
接口运行速度。 |
所有级别 |
捆绑包选项 |
仅适用于多链路帧中继端到端接口:
|
细节 广泛 无 |
束状态 (MLPPP) 或多链路类状态 (MC-MLPPP) |
有关捆绑包状态的信息:
|
细节 广泛 无 |
束状态 (MLPPP) 或多链路类状态 (MC-MLPPP)(续) |
|
细节 广泛 无 |
捆绑包错误 |
有关捆绑包错误的信息。
|
细节丰富 |
统计 |
有关路由器接收和发送的分段和数据包的信息。对流量方向(输入或输出)的所有引用都是相对于路由器定义的。路由器接收的输入片段组装成输入数据包;输出数据包被分段为输出片段,以便从路由器传输出去。
|
细节丰富 |
协议 |
在逻辑接口上配置的协议家族。 |
细节 广泛 无 |
Mtu |
逻辑接口上的 MTU 大小。如果向下协商 MTU 值以满足远程端的 MRRU 要求,则此值将标记为 “已调整”。 |
细节 广泛 无 |
生成 |
仅供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
路由表 |
此地址所在的路由表。例如, 路由表:0 引用 inet.0。 |
细节丰富 |
标志 |
有关协议家族标志的信息。 通用输出字段说明下的“族标志”部分介绍了可能的值。 |
细节 广泛 无 |
地址、标志 |
有关地址标志的信息。通用 输出字段说明下的“地址标志”部分介绍了可能的值。 |
细节 广泛 无 |
目的地 |
连接远程端的 IP 地址。 |
细节 广泛 无 |
当地 |
逻辑接口的 IP 地址。 |
细节 广泛 无 |
广播 |
逻辑接口上的广播地址。 |
细节 广泛 无 |
生成 |
供瞻博网络技术支持使用的唯一编号。 |
细节丰富 |
示例输出
show interfaces extensive(MFR UNI NNI)
user@host> show interfaces ls-1/3/0:0 extensive Physical interface: ls-1/3/0:0, Enabled, Physical link is Up Interface index: 25, SNMP ifIndex: 35, Generation: 124 Link-level type: Multilink-FR-UNI-NNI, MTU: 1524 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Last flapped : 2002-11-01 15:26:25 PST (00:34:49 ago) Statistics last cleared: Never Link flags : None Hold-times : Up 0 ms, Down 0 ms Multilink Frame Relay UNI NNI bundle options: Device type DTE MRRU 1524 Fragmentation threshold 1500 Red differential delay limit 10 Yellow differential delay limit 6 Red differential delay action Disable link transmit Reassembly drop timer 0 Links needed to sustain bundle 1 LIP Hello timer 10 Acknowledgement timer 4 Acknowledgement retries 2 Bundle class A LMI type Q.933 Annex A T391 LIV polling timer 10 T392 polling verification timer 15 N391 full status polling count 6 N392 error threshold 3 N393 monitored event count 4 Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Multilink Frame Relay UNI NNI bundle errors: Packet drops 0 (0 bytes) Fragment drops 0 (0 bytes) MRRU exceeded 0 Exception events 0 Multilink Frame Relay UNI NNI bundle statistics Frames fps Bytes bps Fragments: Input : 0 0 0 0 Output: 824 0 17304 320 Packets: Input : 0 0 0 0 Output: 824 0 17304 320 Multilink Frame Relay UNI NNI bundle links info: Active bundle links 4 Removed bundle links 0 Disabled bundle links 0 Multilink Frame Relay UNI NNI active bundle links statistics: Frames fps Bytes bps t1-0/2/0:0.0 Input : 0 0 0 0 Output: 206 0 4326 80 Current differential delay 0.2 ms Recent high differential delay 3.8 ms Times over red diff delay 0 Times over yellow diff delay 0 LIP:add_lnk lnk_ack lnk_rej hello hel_ack lnk_rem rem_ack Rcv: 2 2 0 206 207 0 0 Xmt: 2 1 0 207 206 0 0 t1-0/2/0:1.0 Input : 0 0 0 0 Output: 206 0 4326 80 Current differential delay 0.2 ms Recent high differential delay 3.7 ms Times over red diff delay 0 Times over yellow diff delay 0 LIP:add_lnk lnk_ack lnk_rej hello hel_ack lnk_rem rem_ack Rcv: 2 2 0 206 207 0 0 Xmt: 2 1 0 207 206 0 0 t1-0/2/0:2.0 Input : 0 0 0 0 Output: 206 0 4326 80 Current differential delay 0.4 ms Recent high differential delay 3.8 ms Times over red diff delay 0 Times over yellow diff delay 0 LIP:add_lnk lnk_ack lnk_rej hello hel_ack lnk_rem rem_ack Rcv: 2 2 0 206 207 0 0 Xmt: 2 1 0 207 206 0 0 t1-0/2/0:3.0 Input : 0 0 0 0 Output: 206 0 4326 80 Current differential delay 0.3 ms Recent high differential delay 3.8 ms Times over red diff delay 0 Times over yellow diff delay 0 LIP:add_lnk lnk_ack lnk_rej hello hel_ack lnk_rem rem_ack Rcv: 2 2 0 206 207 0 0 Xmt: 2 1 0 207 206 0 0 Logical interface ls-1/3/0:0.0 (Index 5) (SNMP ifIndex 28) (Generation 10) Flags: Point-To-Point SNMP-Traps Encapsulation: Multilink-FR-UNI-NNI Bandwidth: 622080kbps Bundle errors: Packet drops 0 (0 bytes) Fragment drops 0 (0 bytes) MRRU exceeded 0 Exception events 0 Statistics Frames fps Bytes bps Bundle: Fragments: Input : 0 0 0 0 Output: 824 0 17304 320 Packets: Input : 0 0 0 0 Output: 824 0 17304 320 Link: t1-0/2/0:0.0 Input : 0 0 0 0 Output: 206 0 4326 80 t1-0/2/0:1.0 Input : 0 0 0 0 Output: 206 0 4326 80 t1-0/2/0:2.0 Input : 0 0 0 0 Output: 206 0 4326 80 t1-0/2/0:3.0 Input : 0 0 0 0 Output: 206 0 4326 80 Protocol inet, MTU: 1500 [Adjusted], Generation: 15, Route table: 0 Flags: User-MTU, MTU-Protocol-Adjusted Addresses, Flags: Is-Preferred Is-Primary Destination: 192.0.2.1, Local: 192.0.2.2, Broadcast: Unspecified, Generation: 10
显示接口广泛(MFR 端到端)
user@host> show interfaces ls-0/3/0 extensive Physical interface: ls-0/3/0, Enabled, Physical link is Up Interface index: 264, SNMP ifIndex: 104, Generation: 525 Link-level type: LinkService, MTU: 1524 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Last flapped : 2002-10-16 17:53:49 PDT (00:22:00 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 73471 264 bps Output bytes : 80335 0 bps Input packets: 822 0 pps Output packets: 819 0 pps Frame exceptions: Oversized frames 0 Errored input frames 0 Input on disabled link/bundle 0 Output for disabled link/bundle 4 Queuing drops 3 Buffering exceptions: Packet data buffer overflow 0 Fragment data buffer overflow 0 Assembly exceptions: Fragment timeout 0 Missing sequence number 0 Out-of-order sequence number 0 Out-of-range sequence number 0 Hardware errors (sticky): Data memory error 0 Control memory error 0 Logical interface ls-0/3/0.0 (Index 5) (SNMP ifIndex 527) (Generation 47) Flags: Point-To-Point SNMP-Traps Encapsulation: Multilink-PPP Bandwidth: 1536kbps Bundle options: MRRU 1524 Drop timer period 0 Sequence number format long (24 bits) Fragmentation threshold 0 Links needed to sustain bundle 1 Interleave fragments Disabled Bundle status: Remote MRRU 1500 Received sequence number 0x19ec14 Transmit sequence number 0x38cfa8 Packet drops 0 (0 bytes) Fragment drops 0 (0 bytes) MRRU exceeded 0 Fragment timeout 0 Missing sequence number 0 Out-of-order sequence number 0 Out-of-range sequence number 0 Packet data buffer overflow 0 Fragment data buffer overflow 0 Bundle errors: Packet drops 2 (68 bytes) Fragment drops 0 (0 bytes) MRRU exceeded 0 Exception events 0 Statistics Frames fps Bytes bps Bundle: Fragments: Input : 172 0 15544 288 Output: 165 0 16645 0 Packets: Input : 143 0 12885 288 Output: 134 0 12276 0 Link: t1-0/0/0.0 Input : 143 0 12885 288 Output: 134 0 12276 0 Protocol inet, MTU: 1500, Generation: 76, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.16.1.2, Local: 10.16.1.1, Broadcast: Unspecified, Generation: 81 Protocol iso, MTU: 1500 [Adjusted], Generation: 77, Route table: 0 Flags: Is-Primary Protocol inet6, MTU: 1500, Generation: 78, Route table: 0 Flags: Is-Primary Addresses, Flags: Is-Default Is-Preferred Is-Primary Destination: 2001:db8::1:0/126, Local: 2001:db8::1:1, Broadcast: Unspecified, Generation: 83 Addresses, Flags: Is-Preferred Destination: 2001:db8::/64, Local: 2001:db8::2a0:a5ff:fe12:4777, Broadcast: Unspecified, Generation: 85
发布信息
在 Junos OS 7.4 版之前引入的命令。