06-07-2021 09:46 AM
Hello Community,
I'd like to know if there is a command that can show local ports that are connected on a switch for a given VLAN.
I mean for example I have Vlan 10 mapped to an IP range, and 5 interfaces configured as access vlan10, there is a command that can show thoses interfaces with IPs given in the range mapped to VLAN10?
Thanks in advance for your support.
Regards.
06-07-2021 11:11 AM
There is no such command, I guess you could use the following commands:
1.- sh vlan brief - use this one to map the interfaces configured on vlan 10
2.- sh mac address-table - use this command to verify the mac address seen on such interfaces
3.- sh ip arp - find the entry in the ARP table using the mac addresses found with the previous command, compare and you'll find the IP address.
HTH
06-07-2021 01:33 PM
based on DHCP pool set up for Vlan 10 range, and those 3 commands listed by isbou1986 you should be able to get your answer.
what is purpose of this? maybe we can help other way?
Regards, ML
**Please Rate All Helpful Responses **
06-08-2021 01:46 AM
Hello,
Thank you for your replies, I'm going to see if with above command I can find what I'm looking for.
Thanks again.
Regards.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: