当前位置: 首页 > 系统与网络 > 正文

[分享]华为 AR路由 多WAN无法PPPoE拨号 故障解决

近期,在AR路由上创建多WAN口并使用PPPOE拨号的时候。遇到如下问题

第一个口始终是可以拨号的,但是第二个口却一直无法拨号。

简述下排查过程。
1.检查物理接口状态是否正常

display interface gigabitethernet 0/0/1
……
Port Mode: COMMON COPPER
Speed : 1000, Loopback: NONE
Duplex: FULL, Negotiation: ENABLE
Mdi : AUTO, Clock : -
……

根据状态可知物理连接是正常的。

 

2.检查接口配置是否正确

[Huawei]interface dialer 2
[Huawei-Dialer2]dis th
[V200R007C00SPCc00]
#
interface Dialer2
link-protocol ppp
ppp chap user 123456
ppp chap password cipher %^%w)vE5$wHoE%^%#
ppp pap local-user 123456 password cipher %^%#5%^%#
ppp ipcp dns admit-any
ppp ipcp dns request
tcp adjust-mss 1200
ip address ppp-negotiate
dialer user arweb
dialer bundle 2
dialer number 1 autodial
dialer-group 2
#
return

#
return
[Huawei-Dialer2]
[Huawei-Dialer2]interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1]dis th
[V200R007C00SPCc00]
#
interface GigabitEthernet0/0/1
undo portswitch
pppoe-client dial-bundle-number 2
#
return
[Huawei-GigabitEthernet0/0/1]dialer-rule
[Huawei-dialer-rule]dis th
[V200R007C00SPCc00]
#
dialer-rule
dialer-rule 1 ip permit
dialer-rule 2 ip permit
#
return
[Huawei-dialer-rule]

上述接口配置和接口绑定无误。

 

3.日志系统是否开启,检查账号密码是否正确

[Huawei-dialer-rule]dis logbuffer
Logging buffer configuration and contents: enabled
Allowed max buffer size: 1024
Actual buffer size: 512
Channel number: 4, Channel name: logbuffer
Dropped messages: 0
Overwritten messages: 0
Current messages: 54

2017-7-23 15:15:43+00:00 Huawei %%01NTP/4/PACKET_LENGTH_WRONG(l)[0]:The received NTP packet is longer than or shorter than a valid packet. (RcvLen=9)
2017-7-23 15:00:58+00:00 Huawei %%01NETCONF/4/LOGIN(l)[1]:User admin login from 110.85.101.35
2017-7-23 14:11:35+00:00 Huawei %%01INFO/4/SUPPRESS_LOG(l)[2]:Last message repeated 1 times.(InfoID=3497857038, ModuleName=NTP, InfoAlias=PACKET_LENGTH_WRONG)
2017-7-23 10:44:23+00:00 Huawei %%01NTP/4/PACKET_LENGTH_WRONG(l)[3]:The received NTP packet is longer than or shorter than a valid packet. (RcvLen=8)

发现并无有关拨号信息的日志。

 

4.通过在PPPoE Client查看PPPoE会话的概要信息

display pppoe-client session summary
PPPoE Client Session:
ID Bundle Dialer Intf Client-MAC Server-MAC State
11962 1 1 GE0/0/0 04b0e7123456 000000011323 UP
0 2 2 GE0/0/1 04b0e7123456 000000000000 IDLE

Dialer2始终处于空闲状态,client-mac地址相同,但因为在三层口下并且2个WAN并不处于同一个子网中,所以并不影响

 

5.开启debug信息收集查看状态

terminal monitor
Info: Current terminal monitor is on.
terminal debugging
Info: Current terminal debugging is on.
debugging ppp all

Jul 23 2017 15:49:44.430.1+00:00 Huawei PPP/7/debug2:
PPP Event:
Dialer1:0 : Echo Timer Expired ,Retransmit = 4

Jul 23 2017 15:49:44.430.2+00:00 Huawei PPP/7/debug2:
PPP Packet:
Dialer1:0 Output LCP(c021) Pkt, Len 12
State opened, code EchoRequest(09), id f1, len 8
Magic Number 32462037

Jul 23 2017 15:49:44.430.3+00:00 Huawei PPP/7/debug2:
PPP Packet:
Dialer1:0 Input LCP(c021) Pkt, Len 12
State opened, code EchoReply(0a), id f1, len 8
Magic Number 86365946

Jul 23 2017 15:49:44.430.4+00:00 Huawei PPP/7/debug2:
PPP Event:
Dialer1:0 LCP RXR(Receive EchoRequest/EchoReply/DiscardRequest) Event
state opened

始终没有有关Dialer2接口的信息。

 

5.查看接口和IP相关简要信息

[Huawei]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 8
The number of interface that is DOWN in Physical is 8
The number of interface that is UP in Protocol is 7
The number of interface that is DOWN in Protocol is 9

Interface IP Address/Mask Physical Protocol
Cellular0/0/0 unassigned down down
Cellular0/0/1 unassigned down down
Dialer1 1.2.3.4/32 up up(s)
Dialer2 unassigned ^down down 
GigabitEthernet0/0/0 192.168.1.2/24 up up
GigabitEthernet0/0/1 unassigned *down down
GigabitEthernet0/0/2 unassigned down down

 

这里则会发现一个问题,Dialer2 接口的物理状态为 ^down 。将配置文件发与AR攻城狮后了解到,因为开启了接口备份功能,导致 Dialer2 处于shutdown状态。将接口备份删除后系统状态恢复正常。

本文固定链接: http://blog.ich8.com/post/6446 | 霸王硬上弓's Blog

avatar
该日志由 霸王硬上弓 于2017年07月24日发表在 系统与网络 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: [分享]华为 AR路由 多WAN无法PPPoE拨号 故障解决 | 霸王硬上弓's Blog

[分享]华为 AR路由 多WAN无法PPPoE拨号 故障解决:等您坐沙发呢!

发表评论

您必须 [ 登录 ] 才能发表留言!