场景:多个 VLAN‑interface 或者以太网子接口配置
pppoe‑client dial‑bundle‑number X拨号,需要确认哪个 VLAN / 子接口对应哪条拨号 Bundle、Dialer 接口、拨号状态,同时结合掉包问题排查。
原理:
- Vlan‑interface / 子接口下配置
pppoe‑client dial‑bundle‑number 2,把该三层接口绑定拨号 Bundle‑ID;Dialer 2拨号接口对应 Bundle‑ID 2;- PPPoE 会话建立后生成 VA 虚拟访问接口。
# 查看全部PPPoE‑client会话摘要,【Interface列就是实际发起拨号的接口(Vlan‑if/子接口)】
display pppoe‑client session summary
输出字段说明H3C
表格
| 字段 | 含义 |
|---|---|
| Bundle ID | 拨号 bundle 编号,和 Dialer 编号一一对应 |
| Interface | 真正发起 PPPoE 的接口,可以是 Vlan‑interface 10、G0/0.100 子接口 |
| VA | 虚拟访问接口 Virtual‑Access |
| State | SESSION = 拨号正常 UP;IDLE = 拨号失败 / 未拨号 |
示例输出:
Bundle ID Interface VA RemoteMAC LocalMAC State
1 Vlan‑interface10 VA0 xx‑xx‑xx‑xx‑xx xx‑xx‑xx‑xx‑xx SESSION
2 GigabitEthernet0/0.200 VA1 xx‑xx‑xx‑xx‑xx xx‑xx‑xx‑xx‑xx SESSION
👉这里直接看到:Bundle1 来自 Vlan‑interface10,Bundle2 来自子接口 G0/0/0.200。
display current‑configuration | include pppoe‑client
输出示例:
interface Vlan‑interface 10
pppoe‑client dial‑bundle‑number 1
interface GigabitEthernet 0/0.200
pppoe‑client dial‑bundle‑number 2
可以直接看到:哪个 VLAN 接口、子接口绑定哪个 bundle‑id。
display dialer brief
display current‑configuration | section Dialer
Dialer 1 就对应 Bundle‑ID 1,Dialer 2 对应 Bundle‑ID 2。
#查看每个bundle收发报文、丢包计数
display pppoe‑client session packet
重点看InDrops / OutDrops,不为 0 代表 PPPoE 链路层面存在丢包。
display pppoe‑client session summary确认哪些 VLAN / 子接口拨号已经 UP;display pppoe‑client session packet看 PPPoE 协议层有没有丢包;display ip interface brief Dialer 1;display security‑policy statistics;display cpu‑usage、display memory。pppoe‑client配置在Vlan‑interface X,不是物理接口;物理接口只负责透传带 tag 报文;
display pppoe‑client session summary
display pppoe‑client session packet
display current‑configuration | include pppoe‑client
display dialer brief
display ip interface brief
display security‑policy statistics
display cpu‑usage
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论