Configuration using mac-groups
- Create 3 LMA profiles
(for corporate PCs)aaa port-access local-mac profile “corp-pc-prof” vlan untagged 2
(for the rest of PCs)aaa port-access local-mac profile “rest-pc-prof” vlan untagged 3
(for phones)aaa port-access local-mac profile “corp-phone-prof” vlan tagged 5
- Create 3 different mac-groups
(for corporate PCs)aaa port-ac local-mac mac-group “corp-pc-grp” mac-addr 002622bba7ac
(for the rest of PCs)aaa port-ac local-mac mac-group “rest-pc-grp” mac-mask 002622bb/32 002622bc/32
(for phones)aaa port-ac local-mac mac-group “corp-phone-grp” mac-oui 008011
- Associate groups to profiles
aaa port-ac local-mac apply profile corp-pc-prof mac-group corp-pc-grp
aaa port-ac local-mac apply profile rest-pc-prof mac-group rest-pc-grp
aaa port-ac local-mac apply profile corp-phone-prof mac-group corp-phone-grp
- Enable LMA on ports
aaa port-ac local-mac-auth <ports>