command to know ports

  • 1
  • Question
  • Updated 4 weeks ago
  • Answered

In one switch some of cctv are not working ,  I have cctv mac address and ip address , but I don’t know on which port they are connected ,can anyone let me know  command from which ii can identify those cctv ports.
Photo of Israr Ahmed

Israr Ahmed

  • 22 Posts
  • 1 Reply Like

Posted 4 weeks ago

  • 1
Photo of Shane Ferguson

Shane Ferguson

  • 13 Posts
  • 6 Reply Likes
the following command will show all mac address's with VLAN and port number

show mac-address  
Photo of Michael Brado

Michael Brado, Official Rep

  • 2822 Posts
  • 396 Reply Likes
device> show mac-address

Total active entries from all ports = 3
Total static entries from all ports = 1

MAC-Address       Port        Type      VLAN
0000.0034.1234    1/1/15      Static    1
0000.0038.2f24    1/1/14      Dynamic   1
0000.0038.2f00    1/1/13      Dynamic   1
0000.0086.b159    1/1/10      Dynamic   1
(Edited)
Photo of Israr Ahmed

Israr Ahmed

  • 22 Posts
  • 1 Reply Like
hi shane, 
how are you , thank you to provide command . may i have your whatsapp number if you dont mind .
Photo of Michael Brado

Michael Brado, Official Rep

  • 2826 Posts
  • 397 Reply Likes
No, we do not advise ANY customers to accept such invitations to use outside Applications!
You can ask questions in our Forums, and members will offer advice.