show interfaces (PPPoE)
语法
show interfaces pp0.logical <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
描述
(仅限 M120 路由器、M320 路由器和 MX 系列路由器)。显示有关 PPPoE 接口的状态信息。
选项
pp0.logical | 显示有关 PPPoE 接口的标准状态信息。 |
brief | detail | extensive | terse | (选答)显示指定的输出级别。 |
descriptions | (选答)显示接口说明字符串。 |
media | (选答)显示有关 PPPoE 接口的介质特定信息。 |
snmp-index snmp-index | (选答)显示接口的指定 SNMP 索引的信息。 |
statistics | (选答)显示 PPPoE 接口统计信息。 |
所需权限级别
视图
输出字段
表 1 列出了 (PPPoE) 命令的 show interfaces
输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
|
物理接口的名称。 |
所有级别 |
|
接口的状态。 通用输出字段说明下的“已启用字段”部分介绍了可能的值。 |
所有级别 |
|
物理接口索引号,反映其初始化顺序。 |
|
|
物理接口的 SNMP 索引号。 |
|
|
仅供瞻博网络技术支持使用的唯一编号。 |
|
|
物理接口类型 (PPPoE)。 |
所有级别 |
|
物理接口 (PPPoE) 上的封装。 |
所有级别 |
|
物理接口上的 MTU 大小。 |
所有级别 |
|
参考时钟源。它可以是 |
所有级别 |
|
接口运行速度。 |
所有级别 |
|
有关物理设备的信息。 通用输出字段说明下的“设备标志”部分介绍了可能的值。 |
所有级别 |
|
有关接口的信息。 通用输出字段说明下的“接口标志”部分介绍了可能的值。 |
所有级别 |
|
物理接口链路类型: |
所有级别 |
|
有关接口的信息。 通用输出字段说明下的“链路标志”部分介绍了可能的值。 |
所有级别 |
|
输入速率,以位/秒 (bps) 和数据包/秒 (pps) 为单位。 |
未指定 |
|
输出速率,以 bps 和 pps 为单位。 |
未指定 |
|
物理接口信息。 |
所有级别 |
|
当前接口运行暂侯时间和停止运行暂侯时间,以毫秒为单位。 |
|
|
配置的 MAC 地址。 |
|
|
硬件的 MAC 地址。 |
|
|
链路的备份地址。 |
|
|
上次将接口的统计信息设置为零的时间。 |
|
|
物理接口上接收和传输的字节和数据包的数量和速率。
|
|
|
如果启用了 IPv6 统计信息追踪,则在物理接口上接收和传输的 IPv6 传输字节数和数据包数。
注意:
这些字段包括丢弃的流量和异常流量,因为这些字段没有单独定义。
|
|
|
接口上的输入错误:
|
|
|
接口上的输出错误。以下段落解释了含义可能不明显的计数器:
|
|
逻辑接口 | ||
|
逻辑接口的名称。 |
所有级别 |
|
逻辑接口索引号(反映其初始化顺序)。 |
|
|
逻辑接口 SNMP 接口索引号。 |
|
|
仅供瞻博网络技术支持使用的唯一编号。 |
|
|
有关逻辑接口的信息。 通用输出字段说明下的“逻辑接口标志”部分介绍了可能的值。 |
所有级别 |
|
在逻辑接口上配置的封装类型。 |
所有级别 |
|
PPP 状态:
|
|
|
PPPoE 状态:
|
所有级别 |
|
聚合以太网捆绑包中用于聚合以太网 PPPoE 配置的成员链路的物理接口名称。PPPoE 流量通过这些接口发出。 |
所有级别 |
|
逻辑接口上接收和传输的字节和数据包总数。这些统计数据是本地统计数据和传输统计数据的总和。接收到猝发流量时,输出数据包速率字段中的值可能会短暂超过峰值信元速率。此计数器通常需要不到 1 秒的时间才能稳定下来。 |
|
|
如果启用了 IPv6 统计信息追踪,则在逻辑接口上接收和传输的 IPv6 传输字节数和数据包数。
注意:
这些字段中的数据包和字节计数包括丢弃且未离开路由器的流量。
|
|
|
从路由引擎接收和传输到的流量的统计信息。接收到猝发流量时,输出数据包速率字段中的值可能会短暂超过峰值信元速率。此计数器通常需要不到 1 秒的时间才能稳定下来。 |
|
|
路由器传输流量的统计信息。接收到猝发流量时,输出数据包速率字段中的值可能会短暂超过峰值信元速率。此计数器通常需要不到 1 秒的时间才能稳定下来。
注意:
这些字段中的数据包和字节计数包括丢弃且未离开路由器的流量。 |
|
|
(PPP 和 HDLC)配置了 keepalives 的设置。
|
|
|
(PPP 和 HDLC)有关激活数据包的信息。
(带 MPC/MIC 的 MX 系列路由器)当具有 MPC/MIC 的 MX 系列路由器对 PPP 链路使用 PPP 快速激活时,显示屏不包括接收或发送的激活数据包的数量,也不包括自路由器接收或发送最后一个激活数据包以来的时间量。 |
|
|
逻辑接口上接收的数据包数。 |
未指定 |
|
在逻辑接口上传输的数据包数。 |
未指定 |
|
(购买力平价)链路控制协议状态。
|
没有 |
|
(购买力平价)网络控制协议状态。
|
|
|
(购买力平价)显示质询握手身份验证协议 (CHAP) 在事务期间的状态。
|
没有 |
|
在逻辑接口上配置的协议家族。 |
|
|
在逻辑接口上配置的协议家族。如果协议为 |
|
|
逻辑接口上的 MTU 大小。 |
|
|
仅供瞻博网络技术支持使用的唯一编号。 |
|
|
逻辑接口地址所在的路由表。例如, |
|
|
有关协议家族标志的信息。 通用输出字段说明下的“家族标志”部分介绍了可能的值。 |
|
|
有关为协议家族配置的地址的信息。 通用输出字段说明下的“地址标志”部分介绍了可能的值。 |
|
|
连接远程端的 IP 地址。 |
|
|
逻辑接口的 IP 地址。 |
|
|
广播地址。 |
|
示例输出
- show interfaces (PPPoE)
- show interfaces(通过聚合以太网的 PPPoE)
- show interfaces brief (PPPoE)
- show interfaces detail (PPPoE)
- show interfaces extensive(M120 和 M320 路由器上的 PPPoE)
show interfaces (PPPoE)
user@host> show interfaces pp0 Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 24 Type: PPPoE, Link-level type: PPPoE, MTU: 1532 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Logical interface pp0.0 (Index 72) (SNMP ifIndex 72) Flags: Hardware-Down Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionDown, Session ID: None, Service name: None, Configured AC name: sapphire, Auto-reconnect timeout: 100 seconds, Idle timeout: Never, Underlying interface: at-5/0/0.0 (Index 70) Input packets : 0 Output packets: 0 LCP state: Not-configured NCP state: inet: Not-configured, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed Protocol inet, MTU: 100 Flags: User-MTU, Negotiate-Address
show interfaces(通过聚合以太网的 PPPoE)
user@host> show interfaces pp0.1073773821 Logical interface pp0.1073773821 (Index 80) (SNMP ifIndex 32584) Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 1, Session AC name: alcor, Remote MAC address: 00:00:5e:00:53:01, Underlying interface: demux0.100 (Index 88) Link: ge-1/0/0.32767 ge-1/0/1.32767 Input packets : 6 Output packets: 6 LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Protocol inet, MTU: 1500 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Primary Local: 203.0.113.1
show interfaces brief (PPPoE)
user@host> show interfaces pp0 brief Physical interface: pp0, Enabled, Physical link is Up Type: PPPoE, Link-level type: PPPoE, MTU: 1532, Speed: Unspecified Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Logical interface pp0.0 Flags: Hardware-Down Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionDown, Session ID: None, Service name: None, Configured AC name: sapphire, Auto-reconnect timeout: 100 seconds, Idle timeout: Never, Underlying interface: at-5/0/0.0 (Index 70) inet
show interfaces detail (PPPoE)
user@host> show interfaces pp0 detail Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 24, Generation: 9 Type: PPPoE, Link-level type: PPPoE, MTU: 1532, Speed: Unspecified Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: Unspecified, Hardware address: Unspecified Alternate link address: Unspecified Statistics last cleared: Never Traffic statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Logical interface pp0.0 (Index 72) (SNMP ifIndex 72) (Generation 14) Flags: Hardware-Down Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionDown, Session ID: None, Service name: None, Configured AC name: sapphire, Auto-reconnect timeout: 100 seconds, Idle timeout: Never, Underlying interface: at-5/0/0.0 (Index 70) Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Transit statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps LCP state: Not-configured NCP state: inet: Not-configured, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed Protocol inet, MTU: 100, Generation: 14, Route table: 0 Flags: User-MTU, Negotiate-Address
show interfaces extensive(M120 和 M320 路由器上的 PPPoE)
user@host> show interfaces pp0 extensive Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 93, Generation: 129 Type: PPPoE, Link-level type: PPPoE, MTU: 1532, Speed: Unspecified Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Link type : Full-Duplex Link flags : None Physical info : Unspecified Hold-times : Up 0 ms, Down 0 ms Current address: Unspecified, Hardware address: Unspecified Alternate link address: Unspecified Statistics last cleared: Never Traffic statistics: Input bytes : 972192 0 bps Output bytes : 975010 0 bps Input packets: 1338 0 pps Output packets: 1473 0 pps IPv6 transit 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 pp0.0 (Index 69) (SNMP ifIndex 96) (Generation 194) Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 26, Session AC name: None, AC MAC address: 00:00:5e:00:53:12, Service name: None, Configured AC name: None, Auto-reconnect timeout: Never, Idle timeout: Never, Underlying interface: ge-3/0/1.0 (Index 67) Traffic statistics: Input bytes : 252 Output bytes : 296 Input packets: 7 Output packets: 8 IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 252 Output bytes : 296 Input packets: 7 Output packets: 8 Transit statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive statistics: Input : 1 (last seen 00:00:00 ago) Output: 1 (last sent 00:00:03 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Closed Protocol inet, MTU: 1492, Generation: 171, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 203.0.113.2, Local: 203.0.113.1, Broadcast: Unspecified, Generation: 206
发布信息
在 Junos OS 7.4 版之前引入的命令。