Java编程实现NBA赛事接口调用实例代码
526
2022-09-27
JUNIPER vMX pppoe 实验1(juniper交换机)
实验拓扑:
PC直连BRAS。
实验步骤:
1.配置地址池:
root# show access
profile none {
authentication-order none; 这次实验没有radius认证
}
address-assignment {
pool addtest {
family inet {
network 192.168.11.0/24;
range 1 {
low 192.168.11.10;
high 192.168.11.250;
}
}
}
}
2.配置动态pppoe配置文件:
pppoe {
interfaces {
pp0 {
unit "$junos-interface-unit" {
ppp-options {
pap;
}
pppoe-options {
underlying-interface "$junos-underlying-interface";
server;
}
family inet {
unnumbered-address lo0.0;
}
}
}
}
}
在pp0接口下关联物理接口,并且作为pppoe的服务器端。
区别于静态配置,$junos这个变量在这里充当了占位符。
$junos-underlying-interface占位符是收到数据包的地方,比如ge-1/0/0。
$junos-interface-unit 是单元的占位符,JUNOS OS在给数据包动态分配UNIT时候自动配置
3.接口调用PPPOE的配置:
root# show interfaces
ge-0/0/0 {
unit 0 {
family pppoe {
access-concentrator mx104-test;
duplicate-protection;
dynamic-profile pppoe;
}
}
}
4.PC拨号:
在MX上检查用户:
[edit]
root# run show subscribers
Interface IP Address/VLAN ID User Name LS:RI
pp0.1073741863 192.168.11.12 1111 default:default
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~