Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Ravina
New Contributor

port details on which mac address is learned

Hi everyone

 

I have a core switch connected to different access switches. when any user connected on any access switch through LAN then how should i know the user is connected to which access switch from that user's MAC address.

16 REPLIES 16
mahesh_pm
New Contributor III

Hi,

 

if you are using fortigate and fortiswitch.
the use fortiswitch client tab

Capture.JPG

Cheers,
Cheers,
Ravina

Hi ,

Fortiswitch is not managed by Fortigate

mahesh_pm
New Contributor III

Hi,

if option not available in gui could you please try below cmd in switch cli.

get system arp
get system arp-table


Cheers,
Cheers,
Ravina

Hii,

 

This commands only display's ip, mac address as shown below:image.png

mahesh_pm
New Contributor III

Hi,

also try this 
get switch lldp neighbors-summary

Cheers,
Cheers,
Ravina

Hi,

I tried this "get switch lldp neighbors-detail" command and get below output.IMG-20250704-WA0006.jpg

mahesh_pm
New Contributor III

Hi,

You're currently getting information from the access switch that's connected to the core switch.
Please run the same command directly on the access switch to verify if it meets your requirement.

Cheers,
Cheers,
Ravina

Hii,

This is not my requirement. i want that i should get port number of core switch from which mac entry is coming, so i can check which access switch is connected to that port and can check on that particular access switch.

Yurisk
SuperUser
SuperUser

You cannot learn it on Fortigate which does not manage those switches, you'd have to manually enter each switch, list its mac-address table and look for the user's MAC address. 

 

Unrelated: managing FortiSwitches as stand-alone devices is an exercise in frustration, fortunately it happens very rarely in real life. 

https://yurisk.info
https://yurisk.info
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors