dialer-ruledialer-rule 1 ip permit
interfaceDialer1link-protocol pppppp chap user huaweippp chap password cipher %$%$gu>xPdzPz>"FWUHp:EdW,"%o%$%$ppp pap local-user huawei password cipher %$%$0VL)HZ/u8~H>]sNN#yiY,"K\%$%$ip address ppp-negotiatedialer user HUAWEIdialer bundle 1dialer-group 1nat outbound 3000
acl number 3000 rule 100 permit ip
interfaceGigabitEthernet0/0/0pppoe-client dial-bundle-number 1
查看是否拨上号
[jiucai]display ip interfacebrief
Interface IP Address/Mask Physical Protocol
Dialer1 100.64.254.254/32 up up(s)
GigabitEthernet0/0/0 unassigned up down [jiucai]ping 100.64.254.1PING100.64.254.1:56 data bytes, press CTRL_C to breakReply from 100.64.254.1: bytes=56 Sequence=1 ttl=255 time=80 msReply from 100.64.254.1: bytes=56 Sequence=2 ttl=255 time=50 msReply from 100.64.254.1: bytes=56 Sequence=3 ttl=255 time=20 msReply from 100.64.254.1: bytes=56 Sequence=4 ttl=255 time=30 ms---100.64.254.1 ping statistics ---4packet(s) transmitted4packet(s) received0.00% packet lossround-trip min/avg/max =20/45/80 ms [jiucai]display dialer interfaceDialer1
Dial Interface:Dialer1Dialer Timers(Secs):Auto-dial:300Compete:20Enable:5Idle:120 Wait-for-Carrier:60[jiucai]display interfaceDialer1
Dialer1 current state :UP
Line protocol current state :UP(spoofing)Description:HUAWEI,AR Series, Dialer1 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is negotiated,100.64.254.254/32
Link layer protocol is PPPLCP initial
Physical is Dialer
Current system time:2023-08-1814:48:11-08:00Last 300 seconds input rate 0 bits/sec,0 packets/secLast 300 seconds output rate 0 bits/sec,0 packets/secRealtime 0 seconds input rate 0 bits/sec,0 packets/secRealtime 0 seconds output rate 0 bits/sec,0 packets/secInput:0 bytesOutput:0 bytesInput bandwidth utilization :0%Output bandwidth utilization :0%
Bound to Dialer1:0:Dialer1:0 current state :UP,
Line protocol current state :UPLink layer protocol is PPPLCP opened,IPCP opened
Packets statistics:Input packets:0,0 bytesOutput packets:4,336 bytesFCS error packets:0Address error packets:0Control field control error packets:0
ILSPY
ILSpy 是一个开源的.Net程序集浏览器和反编译工具。 Visual Studio 2022附带了默认情况下启用的F12反编译支持(使用我们的引擎v7.1)。 在Visual Studio 2019中,您必须手动启用F12支持。转到“工具”/“选项”/“文本编辑器”/C#/Adva…