Hello,
I am not sure if I understand the question completely. You want to apply this filter to multiple interfaces. Is that right?
You can do that by simply apply the filter to the interface:
> set interfaces ge-0/0/13.0 family inet filter input 1522mtu
> set interfaces ge-0/0/15.0 family inet filter input 1522mtu
I also noticed that you do not have a default accept statement in the filter to allow the rest of the traffic. So you would need to add the following:
set filter 1522mtu term 2 then accept
Your eventual filter would look like this.
filter 1522mtu {
term 1 {
from {
packet-length 1522-1522;
}
then {
count 1522mtu_DROP;
discard;
}
}
term 2 {
then accept;
}
}
I hope this helps. Regards,
Vikas