Junos
Junos

Mac Filtering on EX4200 JUNOS

‎08-13-2010 06:16 AM

Everyone,

 

What is the best way to perform MAC filtering on the EX4200 switches?  Below is a configuration I came up with, but I do not know if it is working properly or if there is a better way to do this filter on the port.  Any help would be appreciated.

 

Thank you. 

 

Edit firewall family family ethernet-switching filter TecNet-Macs term Allow-Macs from source-mac-address

set 00:10:db:ff:10:00

set 00:10:db:ff:10:01

up

up

edit then

set accept

up

up

edit term deny-all then

set discard

top

 

Edit interface ge0/0/29 unit 0 family ethernet-switching filter

set input TecNet-Macs

1 REPLY 1
Junos

Re: Mac Filtering on EX4200 JUNOS

‎08-13-2010 04:37 PM

Hi,

 

Why don't you use built-in tool for port-security feature?

 

Check the options available under [switching-options secure-access-port] hierarchy:

 

 

 

[edit ethernet-switching-options secure-access-port]
interface $NAME$ {
    allowed-mac $MAC1$;
    allowed-mac $MAC2$;
}

 

 

 

There are really good examples in the manual:

JUNOS 10.2

 

 

Good luck,