junper pppoe设置

我家安装的是宽带通的宽带,问客服不知道是chap还是pap认证,只能全配了。

某宝买的二手junper srx 220h 防火墙,带8个千兆口。

set interfaces ge-0/0/0 unit 0 encapsulation ppp-over-ether

set interfaces pp0 unit 0 apply-macro "New Connection"

set interfaces pp0 unit 0 ppp-options chap default-chap-secret "$9$ocGkmtpOhSlwYjkmPF3cSreXN"

set interfaces pp0 unit 0 ppp-options chap local-name "075509609641@163.gd"

set interfaces pp0 unit 0 ppp-options chap no-rfc2486

set interfaces pp0 unit 0 ppp-options chap passive

set interfaces pp0 unit 0 ppp-options pap local-name "075509609641@163.gd"

set interfaces pp0 unit 0 ppp-options pap no-rfc2486

set interfaces pp0 unit 0 ppp-options pap local-password "$9$JvD.fu01SrKYgH.f5n6yrev7d"

set interfaces pp0 unit 0 ppp-options pap passive

set interfaces pp0 unit 0 pppoe-options underlying-interface ge-0/0/0.0

set interfaces pp0 unit 0 family inet negotiate-address

set routing-options static route 0.0.0.0/0 qualified-next-hop pp0.0 metric 1

set interfaces ge-0/0/7 unit 1 encapsulation ppp-over-ether

set interfaces pp0 unit 1 apply-macro "send Connection"

set interfaces pp0 unit 1 ppp-options chap default-chap-secret "YEZUMPWO"

set interfaces pp0 unit 1 ppp-options chap local-name "075504004568@163.gd"

set interfaces pp0 unit 1 ppp-options chap no-rfc2486

set interfaces pp0 unit 1 ppp-options chap passive

set interfaces pp0 unit 1 ppp-options pap local-name "075504004568@163.gd"

set interfaces pp0 unit 1 ppp-options pap no-rfc2486

set interfaces pp0 unit 1 ppp-options pap local-password "YEZUMPWO"

set interfaces pp0 unit 1 ppp-options pap passive

set interfaces pp0 unit 1 pppoe-options underlying-interface ge-0/0/7.0

set interfaces pp0 unit 1 family inet negotiate-address

set routing-options static route 0.0.0.0/0 qualified-next-hop pp0.1 metric 10

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容