我已经设法让 QinQ 订户管理工作。现在我想塑造/监管两个 VLAN 连接。作为测试,我已经配置了这个:
DYNINTF-STACKED-KANTOOR-TEST {
interfaces {
"$junos-interface-ifd-name" {
unit "$junos-interface-unit" {
proxy-arp restricted;
vlan-tags outer "$junos-stacked-vlan-id" inner "$junos-vlan-id";
filter {
input "$junos-input-filter";
output "$junos-output-filter";
}
family inet {
unnumbered-address lo0.0 preferred-source-address 10.110.110.1;
}
}
}
}
}
过滤器:
show firewall filter 17Mb
term test {
then policer 17Mb-policer;
}
最后,警察:
policer 17Mb-policer {
if-exceeding {
bandwidth-limit 17m;
burst-size-limit 1m;
}
then discard;
}
例如,如果我在动态配置文件中的输入和输出过滤器层次结构上都配置了police-17M,那么它工作正常:
IPv4 Input Filter Name: police-17M-ge-1/1/4.1073936801-in
IPv4 Output Filter Name: police-17M-ge-1/1/4.1073936801-out
但这不是它应该的方式..
更新
这是我现在在瞻博网络上收到的信息:
Apr 7 12:16:58.908497 radius-access-accept: Ingress-Policy-Name (Juniper-ERX-VSA) received: police-17M
Apr 7 12:16:58.908552 radius-access-accept: Egress-Policy-Name (Juniper-ERX-VSA) received: police-17M
但是,以扩展模式显示此订阅者,我没有看到它应用于动态界面。知道为什么吗?