Community discussions

MikroTik App
 
saktie
just joined
Topic Author
Posts: 18
Joined: Tue Nov 10, 2009 4:57 am

[ask] how to check mac address on vlan

Mon Apr 01, 2024 11:45 am

how to check mac in vlan id
 
User avatar
TheCat12
Member
Member
Posts: 420
Joined: Fri Dec 31, 2021 9:13 pm

Re: [ask] how to check mac address on vlan

Mon Apr 01, 2024 12:32 pm

Torch the interface on which VLAN is running:

https://help.mikrotik.com/docs/display/ROS/Torch
 
saktie
just joined
Topic Author
Posts: 18
Joined: Tue Nov 10, 2009 4:57 am

Re: [ask] how to check mac address on vlan CRS

Tue Apr 02, 2024 9:38 am

sorry it seems that our question is incomplete, for CRS-like devices.
If we create a new vlan, how to know if the vlan id we created is already read by CRS For example,
some features from other switches

xxx#sho mac-address-table vlan 968
VlanId Mac Address Type Interface State
968 xx:xx:xx:9f:f8:e0 Dynamic Te 0/41 Active
968 xx:xx:xx:f0:98:05 Dynamic Te 0/41 Active
968 xx:xx:xx:4a:72:4b Dynamic Te 0/41 Active
968 xx:xx:xx:f3:a0:f3 Dynamic Fo 0/52 Active
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12580
Joined: Thu Mar 03, 2016 10:23 pm

Re: [ask] how to check mac address on vlan

Tue Apr 02, 2024 10:35 am

If you have bridge with vlan-filtering, then something like
/interface/bridge/host/print where vid=<vlan id>
where <vlan id> is VLAN ID you want to query.


Another possibility (not sure if it's available on all ROS devices):
/interface/ethernet/switch/host/print where vlan-id=<vlan id>
 
saktie
just joined
Topic Author
Posts: 18
Joined: Tue Nov 10, 2009 4:57 am

Re: [ask] how to check mac address on vlan

Tue Apr 02, 2024 12:10 pm

thanks ...

it works

Who is online

Users browsing this forum: GoogleOther [Bot], kleshki, luczsoma, Savanture and 35 guests