示例:DHCPv4 批发网络的批发商动态配置文件
此示例指定动态配置文件名称 Wholesaler_Profile,使用动态 IP 多路分离接口,并引用预定义的输入防火墙过滤器。
dynamic-profiles {
Wholesaler_Profile {
interfaces {
demux0 {
unit "$junos-interface-unit" {
demux-options {
underlying-interface "$junos-underlying-interface";
}
family inet {
demux-source {
$junos-subscriber-ip-address;
}
filter {
input "$junos-input-filter";
}
unnumbered-address "$junos-loopback-interface" preferred-source-address $junos-preferred-source-address;
}
}
}
}
}