服务器端配置
ip pool test 100.1.1.1 100.1.1.100
ip pool test gateway 100.1.1.254
#
interface Virtual-Template1
mtu 1492
ppp authentication-mode pap domain test
remote address pool test
ip address 100.1.1.254 255.255.255.0
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
pppoe-server bind virtual-template 1
#
domain test
authentication ppp local
#
local-user test class network
password cipher $c$3$mWF4MVDHRGMTAfipK1mR1zg1jCkON2bj2Y9E1rKS2Q==
service-type ppp
authorization-attribute user-role network-operator
拨号端配置
dialer-group 1 rule ip permit
#
interface Dialer1
ppp pap local-user test password cipher $c$3$/vv1pBsNzdPSKAFexnC2ECwz2S7lQeGkthWRL1hCYg==
dialer bundle enable
dialer-group 1
dialer timer idle 5
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
pppoe-client dial-bundle-number 1
查询接口状态
[H3C]dis int b
[H3C]dis int b
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
GE0/0 UP UP --
GE0/1 DOWN DOWN --
GE0/2 DOWN DOWN --
GE5/0 DOWN DOWN --
GE5/1 DOWN DOWN --
GE6/0 DOWN DOWN --
GE6/1 DOWN DOWN --
InLoop0 UP UP(s) --
NULL0 UP UP(s) --
REG0 UP -- --
Ser1/0 DOWN DOWN --
Ser2/0 DOWN DOWN --
Ser3/0 DOWN DOWN --
Ser4/0 DOWN DOWN --
VT1 DOWN DOWN 100.1.1.254
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
那就是模拟器bug