cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
336
Views
5
Helpful
3
Replies
isbou1986
Beginner

IP mapping on access ports for a VLAN

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.

3 REPLIES 3
marioiram
Beginner

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

Martin L
VIP Advocate

 

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 **

isbou1986
Beginner

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.