cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
595
Views
5
Helpful
3
Replies

IP mapping on access ports for a VLAN

isbou1986
Level 1
Level 1

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
Level 1
Level 1

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
VIP

 

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
Level 1
Level 1

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.

Review Cisco Networking products for a $25 gift card