示例:PPPoE 批发网络的批发商动态配置文件
此示例指定的动态配置文件名称 PPPoE_Wholesaler_Profile为 ,使用 pp0 接口,并引用预定义的输入防火墙过滤器。
PPPoE_Wholesaler_Profile {
routing-instances {
"$junos-routing-instance" {
interface "$junos-interface-name";
}
}
interfaces {
pp0 {
unit "$junos-interface-unit" {
ppp-options {
chap;
pap;
}
pppoe-options {
underlying-interface "$junos-underlying-interface";
server;
}
keepalives interval 15;
family inet {
filter {
input "$junos-input-filter";
output "$junos-output-filter";
}
unnumbered-address "$junos-loopback-interface";
}
}
}
}
}