Hello.
The task is allow traffic from hosts1 (192.168.1.5) to host2 (192.168.1.10) and block any other.
When set filter
firewall {
family ethernet-switching {
filter Allow {
term term1 {
from {
source-address {
192.168.1.5/32;
}
destination-address {
192.168.1.10/32;
}
}
then accept;
}
term term2 {
from {
source-address {
192.168.1.10/32;
}
destination-address {
192.168.1.5/32;
}
}
then accept;
}
}
}
}
on port
ge-0/0/5 {
unit 0 {
family ethernet-switching {
filter {
input Allow;
}
}
}
}
or on vlan, than all traffic drops.