Community discussions

 
User avatar
lapsio
Member
Member
Topic Author
Posts: 472
Joined: Wed Feb 24, 2016 5:19 pm

Invalid value for argument src-mac-address

Tue Jun 05, 2018 9:42 pm

I'm trying to create mac based vlan, however following command:
/interface ethernet switch rule add switch=switch1 src-mac-address="62:8C:69:AA:5D:7C" new-vlan-id=1500
gives me error: Invalud value for argument src-mac-address.
I also tried:
/interface ethernet switch rule add switch=switch1 src-mac-address=[/ip arp get 12 mac-address] new-vlan-id=1500
But it gives the same error.
MTCNA, MTCRE, MTCINE
 
User avatar
lapsio
Member
Member
Topic Author
Posts: 472
Joined: Wed Feb 24, 2016 5:19 pm

Re: Invalid value for argument src-mac-address  [SOLVED]

Tue Jun 05, 2018 11:48 pm

Oh it requires mask. And MAC mask is in weird format the same as mac, not short one. So eg:
5d:ad:43:b3:44:24/ff:ff:ff:ff:ff:ff
MTCNA, MTCRE, MTCINE

Who is online

Users browsing this forum: No registered users and 25 guests