Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

EX 2200 firewall filter blocks everything

$
0
0

 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.


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>