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

vlans

Is there any way of seeing what or how many nodes are plugged into a particular vlan ?

cheers

2 REPLIES
New Member

Re: vlans

Hello,

show spantree is the command for your requirement.

FOLLOWING IS THE SUMMARY OF OUTPUT

Console> (enable) show spantree 1

VLAN 1

Spanning tree enabled

Designated Root 00-40-0b-ac-80-00

Designated Root Priority 32768

Designated Root Cost 10

Designated Root Port 1/1

Root Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

Bridge ID MAC ADDR 00-40-0b-b2-f4-00

Bridge ID Priority 32768

Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec

Port Vlan Port-State Cost Priority Fast-Start

-------- ---- ------------- ----- -------- ----------

1/1 1 forwarding 10 32 disabled

1/2 1 not-connected 10 32 disabled

2/1 1 not-connected 10 32 disabled

2/2 1 not-connected 10 32 disabled

2/3 1 not-connected 10 32 disabled

2/4 1 not-connected 10 32 disabled

2/5 1 not-connected 10 32 disabled

2/6 1 not-connected 10 32 disabled

2/7 1 not-connected 10 32 disabled

2/8 1 not-connected 10 32 disabled

2/9 1 not-connected 10 32 disabled

2/10 1 not-connected 10 32 disabled

2/11 1 not-connected 10 32 disabled

2/12 1 not-connected 10 32 disabled

Re: vlans

prevoius post had given show spanning tree vlan # this will show which ports are forwarding or connected. You can use show cdp neigh x/y to determine if there is another cisco device connected to that interface, this will tell you if the device is a cisco switch or router as long as that cisco device have cdp enabled. Or you can use show mac-address-table dynamic interface x/y to see the mac-address of the node connected to it. Unfortunately, there is no command to run that will tell you what kind of device is connected to any given port.

110
Views
0
Helpful
2
Replies