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

Adnan
New Contributor
yes and still can login with other pc

AnonymousM
Valued Contributor II
Did you enable ssh2 to use the access-profile?
enable ssh2 access-profile ssh2-acl

Adnan
New Contributor
i am using it to ssh login

using this cammand

config ssh2 access-profile ssh2-acl

AnonymousM
Valued Contributor II
Did you assign the policy to the ingress port?

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

still can login with other pc
GTM-P2G8KFN