Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Check the ports assigned to VLANs on CISCO 6509 switch

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

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

3 REPLIES

Hi,What about "sho vlan id ..

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

New Member

Thank you Aref!Looks good!as

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

You are very welcome Andrey.

Regards,

Aref

1494
Views
0
Helpful
3
Replies