cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
35164
Views
0
Helpful
3
Replies

Check the ports assigned to VLANs on CISCO 6509 switch

AndreyPokorskiy
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

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

View solution in original post

3 Replies 3

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

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!

You are very welcome Andrey.

Regards,

Aref

Review Cisco Networking products for a $25 gift card