显示接口(PPPoE)
语法
show interfaces pp0.logical <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
说明
(仅 M120 路由器、M320 路由器和 MX 系列路由器)。显示 PPPoE 接口的状态信息。
选项
pp0.logical | 显示关于 PPPoE 接口的标准状态信息。 |
简述 |详细信息 |广泛的 |terse | 必显示指定的输出级别。 |
产品介绍 | 必显示接口说明字符串。 |
媒体播放 | 必显示关于 PPPoE 接口的媒体特定信息。 |
snmp-index snmp-index | 必显示接口的指定 SNMP 索引的信息。 |
统计数据 | 必显示 PPPoE 接口统计。 |
所需的权限级别
观看
输出字段
表 1列出了show interfaces
(PPPoE)命令的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
物理接口 | ||
|
物理接口的名称。 |
所有级别 |
|
接口的状态。通用输出字段说明 下的"已启用字段"部分 介绍了可能的值。 |
所有级别 |
|
物理接口索引号,反映其初始化顺序。 |
|
|
物理接口的 SNMP 索引号。 |
|
|
仅供瞻博网络技术支持使用的唯一编号。 |
|
|
物理接口类型(PPPoE)。 |
所有级别 |
|
物理接口(PPPoE)上的封装。 |
所有级别 |
|
物理接口上 MTU 大小。 |
所有级别 |
|
参考时钟来源。可以是 |
所有级别 |
|
接口运行的速度。 |
所有级别 |
|
有关物理设备的信息。通用输出字段说明 下的"设备标志" 部分介绍了可能的值。 |
所有级别 |
|
有关接口的信息。通用输出字段说明 下的"接口标志" 部分介绍了可能的值。 |
所有级别 |
|
物理接口链路类型: |
所有级别 |
|
有关接口的信息。通用输出字段说明 下的"链路标志" 部分介绍了可能的值。 |
所有级别 |
|
以位/秒(bps)和数据包/秒(pps)表示的输入速率。 |
未指定 |
|
以 bps 和 pps 为输出速率。 |
未指定 |
|
物理接口信息。 |
所有级别 |
|
当前接口保留时间和保留时间(以毫秒为单位)。 |
|
|
配置 MAC 地址。 |
|
|
硬件 MAC 地址。 |
|
|
链接的备份地址。 |
|
|
最后将接口的统计信息设置为零的时间。 |
|
|
在物理接口上接收和传输的字节和数据包的数量和速率。
|
|
|
在启用 IPv6 统计信息跟踪的情况下,在物理接口上接收和传输的 IPv6 传输字节数和数据包数量。 注:
这些字段包括丢弃的信息流和异常信息流,因为这些字段不是单独定义的。
|
|
|
接口上的输入错误:
|
|
|
接口上的输出错误。以下段落解释了其含义可能不明显的计数器:
|
|
逻辑接口 | ||
|
逻辑接口的名称。 |
所有级别 |
|
逻辑接口索引号(反映其初始化顺序)。 |
|
|
逻辑接口 SNMP 接口索引号。 |
|
|
仅供瞻博网络技术支持使用的唯一编号。 |
|
|
有关逻辑接口的信息。通用输出字段说明 下的"逻辑接口标志" 部分介绍了可能的值。 |
所有级别 |
|
逻辑接口上配置的封装类型。 |
所有级别 |
|
PPP 状态:
|
|
|
PPPoE 状态:
|
所有级别 |
|
通过聚合以太网配置的 PPPoE 聚合以太网包中的成员链路的物理接口名称。PPPoE 信息流将在这些接口上消失。 |
所有级别 |
|
在逻辑接口上接收和传输的总字节数和数据包数量。这些统计数据是本地和传输统计数据的总和。收到突发流量时,输出数据包速率字段中的值可能会暂时超出峰值单元速率。此计数器的稳定时间通常不到1秒。 |
|
|
在启用 IPv6 统计信息跟踪的情况下,在逻辑接口上接收和传输的 IPv6 传输字节数和数据包数量。 注:
这些字段中的数据包和字节计数包括丢弃的和不会离开路由器的流量。
|
|
|
从路由引擎收到并传输至的信息流的统计信息。收到突发流量时,输出数据包速率字段中的值可能会暂时超出峰值单元速率。此计数器的稳定时间通常不到1秒。 |
|
|
路由器经过流量的统计信息。收到突发流量时,输出数据包速率字段中的值可能会暂时超出峰值单元速率。此计数器的稳定时间通常不到1秒。 注:
这些字段中的数据包和字节计数包括丢弃的和不会离开路由器的流量。 |
|
|
(PPP 和 HDLC)激活的配置设置。
|
|
|
(PPP 和 HDLC)有关活数据包的信息。
(带 Mpc/Mic 的 MX 系列路由器)当带有 Mpc/Mic 的 MX 系列路由器对 PPP 链路使用 PPP fast 活时,显示的不包括接收或发送的活发数据包数,或者自路由器接收或发送上一活数据包以来的时间量。 |
|
|
逻辑接口上接收的数据包数。 |
未指定 |
|
在逻辑接口上传输的数据包数量。 |
未指定 |
|
PPP链路控制协议状态。
|
none |
|
PPP网络控制协议状态。
|
|
|
PPP显示了质询握手身份验证协议(CHAP)在其事务中的状态。
|
none |
|
在逻辑接口上配置的协议系列。 |
|
|
在逻辑接口上配置的协议系列。如果协议为 |
|
|
逻辑接口上 MTU 大小。 |
|
|
仅供瞻博网络技术支持使用的唯一编号。 |
|
|
逻辑接口地址所在的路由表。例如, |
|
|
有关协议系列标志的信息。通用输出字段说明 下的"家族标志" 部分介绍了可能的值。 |
|
|
有关为协议族配置的地址的信息。通用输出字段说明 下的"地址标志" 部分介绍了可能的值。 |
|
|
连接远程端的 IP 地址。 |
|
|
逻辑接口的 IP 地址。 |
|
|
广播地址。 |
|
示例输出
显示接口(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 接口(通过聚合以太网的 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
显示接口摘要(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
显示接口详细信息(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
全面显示接口(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 之前引入。