MSR800路由器SFP设置wan口拨号怎么设置?
MSR800路由器SFP设置wan口拨号怎么设置?
(0)
最佳答案
您好,请知:
纯光口不需要单独开启的,接入光模块和接线就好。
如果是光电复用口,默认在电口,需要切换为光口,参考命令如下:
int gi 1/0/25
combo enable filber
quit
以下是路由器作为客户端进行PPPOE拨号的案例:
Router A和Router B之间通过各自的Ethernet1/1接口相连,要求Router A用PAP/CHAP方式认证Router B。
图2-4 PPPoE Client典型配置组网图
(1) 方案一:PAP认证
· 配置Router A作为PPPoE Server
# 增加一个PPPoE用户。
<RouterA> system-view
[RouterA] local-user user2
[RouterA-luser-user2] password simple hello
[RouterA-luser-user2] service-type ppp
[RouterA-luser-user2] quit
# 配置虚拟模板参数。
[RouterA] interface virtual-template 1
[RouterA-Virtual-Template1] ppp authentication-mode pap
[RouterA-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[RouterA-Virtual-Template1] remote address 1.1.1.2
[RouterA-Virtual-Template1] quit
# 配置PPPoE Server。
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] pppoe-server bind virtual-template 1
· 配置Router B作为PPPoE Client
<RouterB> system-view
[RouterB] dialer-rule 1 ip permit
[RouterB] interface dialer 1
[RouterB-Dialer1] dialer user user2
[RouterB-Dialer1] dialer-group 1
[RouterB-Dialer1] dialer bundle 1
[RouterB-Dialer1] ip address ppp-negotiate
[RouterB-Dialer1] ppp pap local-user user2 password simple hello
[RouterB-Dialer1] quit
# 配置PPPoE会话。
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] pppoe-client dial-bundle-number 1
(2) 方案二:CHAP认证
· 配置Router A作为PPPoE Server
# 增加一个PPPoE用户。
<RouterA> system-view
[RouterA] local-user user2
[RouterA-luser-user2] password simple hello
[RouterA-luser-user2] service-type ppp
[RouterA-luser-user2] quit
# 配置虚拟模板参数。
[RouterA] interface virtual-template 1
[RouterA-Virtual-Template1] ppp authentication-mode chap
[RouterA-Virtual-Template1] ppp chap user user1
[RouterA-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[RouterA-Virtual-Template1] remote address 1.1.1.2
[RouterA-Virtual-Template1] quit
# 配置PPPoE Server。
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] pppoe-server bind virtual-template 1
· 配置Router B作为PPPoE Client
<RouterB> system-view
[RouterB] dialer-rule 1 ip permit
[RouterB] interface dialer 1
[RouterB-Dialer1] dialer user user2
[RouterB-Dialer1] dialer-group 1
[RouterB-Dialer1] dialer bundle 1
[RouterB-Dialer1] ip address ppp-negotiate
[RouterB-Dialer1] ppp chap user user2
[RouterB-Dialer1] quit
[RouterB] local-user user1
[RouterB-luser-user1] password simple hello
[RouterB-luser-user1] quit
# 配置PPPoE会话。
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] pppoe-client dial-bundle-number 1
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论