在此页面上
VDSL2 接口
总结了解 VDSL2 接口详细信息以及如何配置安全设备上接口。
VDSL2 接口概述
超高速数字用户线 (VDSL) 技术是 xDSL 系列调制解调器技术的一部分,其通过一对未连接或双绞线铜线提高数据传输速度。 表 1 指定了 VDSL2 接口的关键详细信息。
接口详细信息 |
描述 |
---|---|
接口名称 |
SRX-MP-1VDSL2-R |
在 上受支持 |
有关平台支持的信息,请参阅 硬件兼容性工具 (HCT)。 |
接口类型 |
|
用例 |
|
有关 VDSL2 硬件规格的信息,请参阅 1 端口 VDSL2 Annex A 小型物理接口模块 (SRX-MP-1VDSL2-R)。
VDSL2 接口上支持的功能
表 2 说明了 VDSL2 接口上支持的主要功能。
特征 |
描述 |
---|---|
数据包传输模式 (PTM) |
|
离散多音 (DMT) 调制 |
|
向后兼容性 |
|
矢量 |
|
IPv6 支持 |
|
有关 VDSL2 接口上支持的功能和配置文件的信息,请参阅1 端口 VDSL2 Annex A 小型物理接口模块 (SRX-MP-1VDSL2-R)。
示例:配置 VDSL2 接口
此示例在 VDSL2 小型 PIM 上配置 VDSL2 接口和 VDSL2 接口。在 VDSL2 小型 PIM 上, pt-1/0/0
默认情况下会创建接口。您可以通过配置 切换至 ADSL 模式 at-1/0/0
。创建 或停用 pt-1/0/0
之前, at-1/0/0
可以停用 at-1/0/0
以创建 pt-1/0/0
。确保您已删除 和 上的先前 pt-1/0/0
配置 pp0
。
此示例:
在 VDSL2 小型 PIM 上开始新配置。
停用之前接口并删除旧配置。
使用 VDSL 配置文件和端到端数据路径第 3 层配置设置接口。
使用未编号 IP 地址(PAP 认证或 CHAP 认证)的静态 IP 地址或 CHAP 认证配置接口上的
pt-1/0/0
PPPoE。在接口上配置具有协商 IP 地址(PAP 认证或 CHAP 认证)
pt-1/0/0
的 PPPoE。
要配置 ADSL 模式下的 VDSL2 接口:
配置端到端数据路径的 ADSL 接口。
使用协商的 IP 地址以及 PAP 认证或 CHAP 认证在接口上配置
at-1/0/0
PPPoA。为接口上的 PPPoA 配置静态 IP 地址和未编号的 IP 地址(以及 PAP 认证或 CHAP
at-1/0/0
认证)。使用协商的 IP 地址以及 PAP 认证或 CHAP 认证在接口上配置
at-1/0/0
PPPoE。
表 3 指定了CLI VDSL2 接口的快速配置命令。
配置步骤 |
CLI快速配置命令 |
---|---|
配置 VDSL2 接口并启用 VLAN 标记 |
set interfaces pt-1/0/0 vdsl-options vdsl-profile auto set interfaces pt-1/0/0 vlan-tagging set interfaces pt-1/0/0 unit 0 vlan-id 100 |
在 VDSL2 小型 PIM 上开始新配置 |
[edit] deactivate interface pt-1/0/0 deactivate interface at-1/0/0 delete interface pt-1/0/0 delete interface pp0 |
为端到端数据路径配置 VDSL2 小型 PIM |
set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a set interfaces pt-1/0/0 unit 0 family inet address 11.11.11.1/24 |
使用静态 IP 地址 |
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof local-name locky local-password india passive user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 auto-reconnect 120 client user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24 user@host# set access profile pap_prof authentication-order password client cuttack pap-password india |
使用静态 IP 地址(CHAP 身份验证)在 pt- 接口上配置 PPPoE |
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india local-name locky passive user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 auto-reconnect 120 client user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24 |
在接口上配置未编号 |
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32 user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof local-name locky local-password india passive user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 auto-reconnect 120 client user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0 destination 10.1.1.1 user@host# set access profile pap_prof authentication-order password client cuttack pap-password india |
在接口上配置未编号 |
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32 user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india local-name locky passive user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 auto-reconnect 120 client user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0 destination 10.1.1.1 |
在具有协商 IP 的 |
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether user@host# set interfaces pp0 unit 0 ppp-options pap access-profile my_prf local-name purple local-password <password> passive user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 auto-reconnect 120 client user@host# set interfaces pp0 unit 0 family inet negotiate-address user@host# set access profile my_prf authentication-order password user@host# set access profile my_prf |
在具有协商 IP 的接口上配置 |
user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret <password> local-name purple passive user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 auto-reconnect 120 client user@host# set interfaces pp0 unit 0 family inet negotiate-address |
配置 VDSL2 接口并启用 VLAN 标记
此示例将创建一个称为 的 VDSL2 接口, pt-1/0/0
将 VDSL2 配置文件设置为 auto
。有关基本连接的信息,请参阅 快速入门指南 和 配置网络接口 请参阅 示例: 配置以太网接口。要配置 VDSL2 接口并启用 VLAN 标记:
同样,您可以在 Annex B(ADSL 向后兼容模式下的集成 VDSL2 接口)上配置 VDSL2 接口。成功完成配置后,使用 命令查看 show interfaces pt-1/0/0
参数。
使用 VDSL2 小型 PIM 配置 VDSL2 接口
此示例使用 VDSL2 小型 PIM。 图 3 显示了带 VDSL2 小型 PIM 网络连接的典型 SRX 系列设备。

要查看快速CLI命令,请参阅 表 3。
要开始在 VDSL2 小型 PIM 上的新配置:
使用 show chassis fpc
命令查看配置的输出。
为端到端数据路径配置 VDSL2 小型 PIM
要为端到端数据路径配置 VDSL2 小型 PIM:
使用 VDSL 配置文件配置接口以及端到端数据路径的 3 层配置。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 family inet address 11.11.11.1/24
提交配置。
使用 show interfaces pt-1/0/0
命令查看配置的输出。
使用静态 IP 地址在 pt-1/0/0 接口上配置 PPPoE
要使用静态 IP 地址在 pt-1/0/0 接口上配置 PPPoE:
配置接口的 VDSL 选项和封装。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
配置接口的 PPP 选项。
[edit] user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof user@host# set interfaces pp0 unit 0 ppp-options pap local-name locky user@host# set interfaces pp0 unit 0 ppp-options pap local-password india user@host# set interfaces pp0 unit 0 ppp-options pap passive
配置接口的 PPPoE 选项。
[edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 user@host# set interfaces pp0 unit 0 pppoe-options client
配置接口的 IP 地址。
[edit] user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24
配置接口的访问配置文件。
[edit] user@host# set access profile pap_prof authentication-order password user@host# set access profile pap_prof client cuttack pap-password india
提交配置。
使用 show interfaces pp0
和 show interfaces pt-1/0/0
show access profile pap_prof
命令查看配置的输出。
使用静态 IP 地址(CHAP 身份验证)在 pt-1/0/0 接口上配置 PPPoE
要使用静态 IP 地址(CHAP 身份验证)在 pt-1/0/0 接口上配置 PPPoE:
配置接口的 VDSL 选项和封装。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
配置接口的 PPP 选项。
[edit] user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india user@host# set interfaces pp0 unit 0 ppp-options chap local-name locky user@host# set interfaces pp0 unit 0 ppp-options chap passive
配置接口的 PPPoE 选项。
[edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 user@host# set interfaces pp0 unit 0 pppoe-options client
配置接口的 IP 地址。
[edit] user@host# set interfaces pp0 unit 0 family inet address 10.1.1.6/24
提交配置。
使用 show interfaces pt-1/0/0
和 show interfaces pp0
命令查看配置的输出。
使用未编号 IP 在 pt-x/x/x 接口上配置 PPPoE(PAP 身份验证)
要使用未编号的 IP 在 pt-1/0/0 接口上配置 PPPoE (PAP 身份验证):
配置接口的 VDSL 选项和封装。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
配置接口的 IP 地址。
[edit] user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32
配置接口的 PPP 选项。
[edit] user@host# set interfaces pp0 unit 0 ppp-options pap access-profile pap_prof user@host# set interfaces pp0 unit 0 ppp-options pap local-name locky user@host# set interfaces pp0 unit 0 ppp-options pap local-password india user@host# set interfaces pp0 unit 0 ppp-options pap passive
配置接口的 PPPoE 选项。
[edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 user@host# set interfaces pp0 unit 0 pppoe-options client
配置接口的未编号地址和目标。
[edit] user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0 user@host# set interfaces pp0 unit 0 family inet unnumbered-address destination 10.1.1.1
配置接口的访问配置文件。
[edit] user@host# set access profile pap_prof authentication-order password user@host# set access profile pap_prof client cuttack pap-password india
提交配置。
使用 show interfaces lo0
show interfaces pt-1/0/0
、 和 show interfaces pp0
命令查看配置的输出。
在带未编号 IP 的 pt-1/0/0 接口上配置 PPPoE(CHAP 身份验证)
要使用未编号的 IP 在 pt-1/0/0 接口上配置 PPPoE(CHAP 身份验证):
配置接口的 VDSL 选项和封装。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
配置接口的 IP 地址。
[edit] user@host# set interfaces lo0 unit 0 family inet address 10.1.1.24/32
配置接口的 PPP 选项。
[edit] user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret india user@host# set interfaces pp0 unit 0 ppp-options chap local-name locky user@host# set interfaces pp0 unit 0 ppp-options chap passive
配置接口的 PPPoE 选项。
[edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 user@host# set interfaces pp0 unit 0 pppoe-options client
配置接口的未编号地址和目标。
[edit] user@host# set interfaces pp0 unit 0 family inet unnumbered-address lo0.0 user@host# set interfaces pp0 unit 0 family inet unnumbered-address destination 10.1.1.1
提交配置。
使用 show interfaces pp0
show interfaces pt-1/0/0
、 和 show interfaces lo0
命令查看配置的输出。
在 pt-1/0/0 接口上配置具有协商 IP 的 PPPoE(PAP 身份验证)
要使用协商的 IP(PAP 认证)在 pt-1/0/0 接口上配置 PPPoE:
配置接口的 VDSL 选项和封装。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
配置接口的 PPP 选项。
[edit] user@host# set interfaces pp0 unit 0 ppp-options pap access-profile my_prf user@host# set interfaces pp0 unit 0 ppp-options pap local-name purple user@host# set interfaces pp0 unit 0 ppp-options pap local-password <password> user@host# set interfaces pp0 unit 0 ppp-options pap passive
配置接口的 PPPoE 选项。
[edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 user@host# set interfaces pp0 unit 0 pppoe-options client
配置接口的协商 IP 地址。
[edit] user@host# set interfaces pp0 unit 0 family inet negotiate-address
配置接口的访问配置文件。
[edit] user@host# set access profile my_prf authentication-order password user@host# set access profile my_prf
提交配置。
使用 show interfaces pt-1/0/0
show interfaces pp0
、 和 show access profile my_prf
命令查看配置的输出。
在 pt-1/0/0 接口上配置具有协商 IP 的 PPPoE(CHAP 身份验证)
要使用协商的 IP(CHAP 身份验证)在 pt-1/0/0 接口上配置 PPPoE:
配置接口的 VDSL 选项和封装。
[edit] user@host# set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a user@host# set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
配置接口的 PPP 选项。
[edit] user@host# set interfaces pp0 unit 0 ppp-options chap default-chap-secret <password> user@host# set interfaces pp0 unit 0 ppp-options chap local-name purple user@host# set interfaces pp0 unit 0 ppp-options chap passive
配置接口的 PPPoE 选项。
[edit] user@host# set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0 user@host# set interfaces pp0 unit 0 pppoe-options auto-reconnect 120 user@host# set interfaces pp0 unit 0 pppoe-options client
配置接口的协商 IP 地址。
[edit] user@host# set interfaces pp0 unit 0 family inet negotiate-address
提交配置。
使用 show interfaces pp0
和 show interfaces pt-1/0/0
命令查看配置的输出。同样,可以使用 命令在 ADSL 向后兼容模式下配置集成的 VDSL2 接口 Annex show interfaces pt-1/0/0
B。
验证
目的
显示有关在 VDSL2 接口上配置的参数的信息。
行动
要显示有关在 VDSL2 连接到 DSLAM 的接口上配置的参数的信息,在 Annex A 中操作并显示 VLAN 标记的详细信息:
user@host> show interfaces pt-1/0/0
Physical interface: pt-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 524, Generation: 149 Type: PTM, Link-level type: Ethernet, MTU: 1496, VDSL mode, Speed: 45440kbps Speed: VDSL2 Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-18 11:56:50 PDT (12:32:49 ago) Statistics last cleared: 2009-10-19 00:29:37 PDT (00:00:02 ago) Traffic statistics: Input bytes : 22438962 97070256 bps Output bytes : 10866024 43334088 bps Input packets: 15141 8187 pps Output packets: 7332 3655 pps Input errors: Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 6759 6760 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 VDSL alarms : None VDSL defects : None VDSL media: Seconds Count State LOF 0 0 OK LOS 0 0 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK VDSL status: Modem status : Showtime (Profile-17a) VDSL profile : Profile-17a Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 45171 continue....................................................... .......................................................
同样,可以使用 命令验证 Annex B 模式下的 VDSL2
show interfaces pt-1/0/0
接口。user@host> show interfaces pt-1/0/0
vlan-tagging; vdsl-options { vdsl-profile auto; } unit 0 { vlan-id 100; Family inet { address 100.100.100.1/24; }
输入 命令以验证 FPC
show chassis fpc
状态。VDSL2 小型 PIM 安装在机箱机箱的第一SRX320插槽中;因此,请使用fpc 1
。对于 SRX340 设备,请使用 的FPCfpc 1
、fpc 2
、 或fpc 3
fpc 4
。user@host> show chassis fpc
Temp CPU Utilization (%) Memory Utilization (%) Slot State (C) Total Interrupt DRAM (MB) Heap Buffer 0 Online -------------------- CPU less FPC -------------------- 1 Online -------------------- CPU less FPC --------------------
使用 验证 DSLAM 的接口、调制解调器状态、时间(以秒)和 VDSL 配置文件的状态
run show interface pt-1/0/0
。user@host> show interface pt-1/0/0
Physical interface: pt-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 524, Generation: 149 Type: PTM, Link-level type: Ethernet, MTU: 1496, VDSL mode, Speed: 45440kbps Speed: VDSL2 Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-18 11:56:50 PDT (12:32:49 ago) Statistics last cleared: 2009-10-19 00:29:37 PDT (00:00:02 ago) Traffic statistics: Input bytes : 22438962 97070256 bps Output bytes : 10866024 43334088 bps Input packets: 15141 8187 pps Output packets: 7332 3655 pps Input errors: Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 6759 6760 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 VDSL alarms : None VDSL defects : None VDSL media: Seconds Count State LOF 0 0 OK LOS 0 0 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK VDSL status: Modem status : Showtime (Profile-17a) VDSL profile : Profile-17a Annex A Last fail code: None Subfunction : 0x00 Seconds in showtime : 45171 continue................................................ .................................................
要显示在 VDSL2 小型 PIM 上为端到端数据路径配置的所有参数
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up inet 11.11.11.1/24 [edit] user@host# run ping 11.11.11.2 count 1000 rapid PING 11.11.11.2 (11.11.11.2): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - 11.11.11.2 ping statistics --- 1000 packets transmitted, 1000 packets received, 0% packet loss round-trip min/avg/max/stddev = 16.109/17.711/28.591/2.026 ms
user@host> show interfaces pt-1/0/0 extensive
Physical interface: pt-1/0/0, Enabled, Physical link is Up Interface index: 146, SNMP ifIndex: 524, Generation: 197 Type: PTM, Link-level type: Ethernet, MTU: 1496, VDSL mode, Speed: 45440kbps Speed: VDSL2 Device flags : Present Running Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 00:b1:7e:85:84:ff Last flapped : 2009-10-28 00:36:29 PDT (00:12:03 ago) Statistics last cleared: 2009-10-28 00:47:56 PDT (00:00:36 ago) Traffic statistics: Input bytes : 84000 0 bps Output bytes : 138000 0 bps Input packets: 1000 0 pps Output packets: 1000 0 pps Input errors: Errors: 0, Drops: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 1000 1000 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 VDSL alarms : None VDSL defects : None VDSL media: Seconds Count State LOF 0 0 OK LOS 0 0 OK LOM 0 0 OK LOP 0 0 OK LOCDI 0 0 OK LOCDNI 0 0 OK VDSL status: Modem status : Showtime (Profile-17a) VDSL profile : Profile-17a Annex A Last fail code: None
要显示 pt-1/0/0 接口上具有静态 IP 地址的 PPPoE。
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 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 packets : 0 Output packets: 0 Logical interface pp0.0 (Index 71) (SNMP ifIndex 522) Flags: Hardware-Down Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionDown, Session ID: None, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 57 Output packets: 56 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 22 (00:00:40 ago), Output: 25 (00:00:04 ago) LCP state: Down
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up [edit] user@host# run show interfaces pp0 terse Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.6/24 [edit] user@host# run ping 10.1.1.1 count 100 rapid PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.669/15.649/21.655/1.740 ms
要以静态 IP 地址(CHAP 身份验证)的 pt-1/0/0 接口上显示 PPPoE
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 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 packets : 0 Output packets: 0 Logical interface pp0.0 (Index 70) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 31, Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 12 Output packets: 10 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 1 (00:00:08 ago), Output: 0 (never) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Success PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1492 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1/24, Local: 10.1.1.6
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up
user@host> show interfaces pp0 terse
Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.6/24
user@host> ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.608/15.466/25.939/1.779 ms
要显示带未编号 IP 的 pt-1/0/0 接口上的 PPPoE (PAP 身份验证)
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 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 packets : 0 Output packets: 0 Logical interface pp0.0 (Index 72) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 33, Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 22 Output packets: 20 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 1 (00:00:08 ago), Output: 0 (never) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Security: Zone: Null Protocol inet, MTU: 1492 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1.1, Local: 10.1.1.24
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up
user@host> show interfaces pp0 terse
Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.24 --> 10.1.1.1
user@host> ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.584/15.503/21.204/1.528 ms
要显示带未编号 IP 的 pt-1/0/0 接口上的 PPPoE(CHAP 身份验证)
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 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 packets : 0 Output packets: 0 Logical interface pp0.0 (Index 70) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 35, Session AC name: cuttack, Remote MAC address: 00:03:6c:c8:8c:55, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 25 Output packets: 22 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 2 (00:00:10 ago), Output: 2 (00:00:02 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Success PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1492 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.1.1, Local: 10.1.1.24
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up
user@host> show interfaces pp0 terse
Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 10.1.1.24 --> 10.1.1.1
user@host> ping 10.1.1.1 count 100 rapid
PING 10.1.1.1 (10.1.1.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- 10.1.1.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 14.585/16.025/22.354/2.019 ms
在 pt-1/0/0 接口上显示 PPPoE(协商 IP(PAP 身份验证)
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 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 packets : 0 Output packets: 0 Logical interface pp0.0 (Index 72) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 4, Session AC name: belur, Remote MAC address: 00:90:1a:43:18:d1, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 18 Output packets: 18 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 0 (never), Output: 11 (00:00:01 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Closed PAP state: Success Security: Zone: Null Protocol inet, MTU: 1474 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 12.12.12.1, Local: 12.12.12.11
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up
user@host> show interfaces pp0 terse
Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 12.12.12.11 --> 12.12.12.1
user@host> ping 12.12.12.1 count 100 rapid
PING 12.12.12.1 (12.12.12.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 12.12.12.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 16.223/17.692/24.359/2.292 ms
要显示 pt-1/0/0 接口上具有协商 IP 的 PPPoE(CHAP 身份验证)
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up Interface index: 128, SNMP ifIndex: 510 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 packets : 0 Output packets: 0 Logical interface pp0.0 (Index 70) (SNMP ifIndex 522) Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE PPPoE: State: SessionUp, Session ID: 8, Session AC name: belur, Remote MAC address: 00:90:1a:43:18:d1, Configured AC name: None, Service name: None, Auto-reconnect timeout: 120 seconds, Idle timeout: Never, Underlying interface: pt-1/0/0.0 (Index 69) Input packets : 12 Output packets: 11 Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3 Keepalive: Input: 0 (never), Output: 4 (00:00:03 ago) LCP state: Opened NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured CHAP state: Success PAP state: Closed Security: Zone: Null Protocol inet, MTU: 1474 Flags: Negotiate-Address Addresses, Flags: Kernel Is-Preferred Is-Primary Destination: 12.12.12.1, Local: 12.12.12.12
user@host> show interfaces pt-1/0/0 terse
Interface Admin Link Proto Local Remote pt-1/0/0 up up pt-1/0/0.0 up up
user@host> show interfaces pp0 terse
Interface Admin Link Proto Local Remote pp0 up up pp0.0 up up inet 12.12.12.12 --> 12.12.12.1
user@host> ping 12.12.12.1 count 100 rapid
PING 12.12.12.1 (12.12.12.1): 56 data bytes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --- 12.12.12.1 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max/stddev = 16.168/17.452/23.299/2.016 ms