- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 10:35 AM - edited 03-07-2019 09:22 PM
Hello,
I'm tring to find a port where the PC connected
I found from the core switch the IP address had been learned from VLAN505 (fro example)
#show ip route 10.x.x.x
Routing entry for 10.x.x.x/x
Known via "connected", distance 0, metric 0 (connected, via interface)
Routing Descriptor Blocks:
* directly connected, via Vlan505
Route metric is 0, traffic share count is 1
I'm tring to check what ports was assigned to this VALN (where this VALN physically connected)
What I did:
#show interfaces trunk | i 505
I got the list of port-chanels where this VLAN505 allowed on trunk
#show interfaces PoXX etherchannel
I found the interfaces connected to the PoXX
Next
#show cdp neighbors Gix/x/x
There I found where the MAC address
Do you know any other way how to check how VLAN connected to the switch?
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 10:55 AM
Hi,
What about "sho vlan id ..." command?, that would show you the ports configured on a specifi vlan, example:
Switch#sh vlan id 20
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
20 VLAN0020 active Fa0/2, Fa0/8, Fa0/10, Fa0/13
Fa0/14
Regards,
Aref
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 10:55 AM
Hi,
What about "sho vlan id ..." command?, that would show you the ports configured on a specifi vlan, example:
Switch#sh vlan id 20
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
20 VLAN0020 active Fa0/2, Fa0/8, Fa0/10, Fa0/13
Fa0/14
Regards,
Aref
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 11:25 AM
Thank you Aref!
Looks good!
as well this cammand is very usfull too:
#show vlan all-ports | i 505
Will keep it both in my daily routine!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2014 11:27 AM
You are very welcome Andrey.
Regards,
Aref
