cancel
Showing results for 
Search instead for 
Did you mean: 

How i can enable access list using only mac address to ssh login

How i can enable access list using only mac address to ssh login

Adnan
New Contributor
Hello

i would like to enable access list using mac address of certain PC

i am asking because i used the same code of access list using only ip address

i used this code

entry AllowManagementIP { if match any { ethernet-source-address F8:A7:BC:E0:D1:AE; } then { permit; } } and it didnt work still eny pc can login using ssh i did refresh policy cammand still the same problem
21 REPLIES 21

AnonymousM
Valued Contributor II
entry DenyAllIngress{
if {
} then {
deny;
}
}

Adnan
New Contributor
i pasted here wrong but in the cli it's correcct 🙂

AnonymousM
Valued Contributor II
There is one brace to much at the bottom

Adnan
New Contributor
entry AllowManagementIP { if match any { ethernet-source-address F8:A7:BC:E0:D1:AE; } then { permit; }
deny ;
} }

Error again what should i do !!

AnonymousM
Valued Contributor II
As I said. Leave the "all" away.
GTM-P2G8KFN