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

Strange output

2950# sh spanning-tree

VLAN0001

Spanning tree enabled protocol ieee

Root ID Priority 24577

Address 000b.5f84.3140

This bridge is the root

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

Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)

Address 000b.5f84.3140

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

Aging Time 300

Interface Port ID Designated Port ID

Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr

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

Fa0/2 128.2 19 FWD 0 24577 000b.5f84.3140 128.2

Fa0/4 128.4 19 FWD 0 24577 000b.5f84.3140 128.4

Fa0/5 128.5 100 FWD 0 24577 000b.5f84.3140 128.5

Fa0/6 128.6 100 FWD 0 24577 000b.5f84.3140 128.6

Fa0/7 128.7 19 FWD 0 24577 000b.5f84.3140 128.7

Fa0/8 128.8 19 FWD 0 24577 000b.5f84.3140 128.8

Fa0/9 128.9 19 FWD 0 24577 000b.5f84.3140 128.9

Fa0/10 128.10 19 FWD 0 24577 000b.5f84.3140 128.10

Fa0/11 128.11 19 FWD 0 24577 000b.5f84.3140 128.11

Fa0/13 128.13 19 FWD 0 24577 000b.5f84.3140 128.13

Fa0/14 128.14 19 FWD 0 24577 000b.5f84.3140 128.14

Fa0/15 128.15 19 FWD 0 24577 000b.5f84.3140 128.15

Fa0/16 128.16 19 FWD 0 24577 000b.5f84.3140 128.16

Fa0/17 128.17 19 FWD 0 24577 000b.5f84.3140 128.17

Fa0/18 128.18 19 FWD 0 24577 000b.5f84.3140 128.18

Fa0/19 128.19 100 FWD 0 24577 000b.5f84.3140 128.19

Fa0/20 128.20 19 FWD 0 24577 000b.5f84.3140 128.20

Fa0/22 128.22 19 FWD 0 24577 000b.5f84.3140 128.22

Fa0/23 128.23 19 FWD 0 24577 000b.5f84.3140 128.23

Fa0/24 128.24 19 FWD 0 24577 000b.5f84.3140 128.24

Gi0/1 128.25 4 FWD 0 24577 000b.5f84.3140 128.25

Gi0/2 128.26 4 FWD 0 24577 000b.5f84.3140 128.26

VLAN0002

Spanning tree enabled protocol ieee

Root ID Priority 32770

Address 000b.5f84.3140

This bridge is the root

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

Bridge ID Priority 32770 (priority 32768 sys-id-ext 2)

Address 000b.5f84.3140

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

Aging Time 300

Interface Port ID Designated Port ID

Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr

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

Fa0/5 128.5 100 FWD 0 32770 000b.5f84.3140 128.5

Fa0/21 128.21 19 FWD 0 32770 000b.5f84.3140 128.21

Gi0/1 128.25 4 FWD 0 32770 000b.5f84.3140 128.25

VLAN0003

Spanning tree enabled protocol ieee

Root ID Priority 32771

Address 000b.5f84.3140

This bridge is the root

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

Bridge ID Priority 32771 (priority 32768 sys-id-ext 3)

Address 000b.5f84.3140

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

Aging Time 300

Interface Port ID Designated Port ID

Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr

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

Fa0/5 128.5 100 FWD 0 32771 000b.5f84.3140 128.5

Gi0/1 128.25 4 FWD 0 32771 000b.5f84.3140 128.25

2950# sh vlan

VLAN Name Status Ports

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

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10

Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16, Fa0/17, Fa0/18

Fa0/19, Fa0/20, Fa0/22, Fa0/23, Fa0/24, Gi0/2

2 INTERNET active Fa0/21

3 Out active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

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

1 enet 100001 1500 - - - - - 0 0

2 enet 100002 1500 - - - - - 0 0

3 enet 100003 1500 - - - - - 0 0

1002 fddi 101002 1500 - - - - - 0 0

1003 tr 101003 1500 - - - - srb 0 0

1004 fdnet 101004 1500 - - - ieee - 0 0

1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs

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

Primary Secondary Type Ports

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

Port fa0/5 belongs to 2 VLAN ( VLAN2,3)- it's from #sh spanning-tree. But from #sh vlan I can see that VLAN 3 is empty and only fa0/21 belongs to VLAN 2.

Why it's so?

5 REPLIES
Cisco Employee

Re: Strange output

is fa0/5 a trunk port? can you paste the relevant config for fa 0/5

Community Member

Re: Strange output

#sh int fa0/5 sw

Name: Fa0/5

Switchport: Enabled

Administrative Mode: dynamic desirable

Operational Mode: trunk

Administrative Trunking Encapsulation: dot1q

Operational Trunking Encapsulation: dot1q

Negotiation of Trunking: On

Access Mode VLAN: 1 (default)

Trunking Native Mode VLAN: 1 (default)

Administrative private-vlan host-association: none

Administrative private-vlan mapping: none

Operational private-vlan: none

Trunking VLANs Enabled: ALL

Pruning VLANs Enabled: 2-1001

Protected: false

Voice VLAN: none (Inactive)

Appliance trust: none

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

#sh int fa0/5 tr

Port Mode Encapsulation Status Native vlan

Fa0/5 desirable 802.1q trunking 1

Port Vlans allowed on trunk

Fa0/5 1-4094

Port Vlans allowed and active in management domain

Fa0/5 1-3

Port Vlans in spanning tree forwarding state and not pruned

Fa0/5 1-3

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

Community Member

Re: Strange output

yes, i understand-it's trunked port! Thank's !

Cisco Employee

Re: Strange output

What you are seeing is normal on a trunked port

Community Member

Re: Strange output

Is fa0/5 in trunking mode?

( show trunk )

Your port belongs to many Vlans.

If yes, it's not strange.

It's a normal behaviour.

86
Views
0
Helpful
5
Replies
CreatePlease to create content