cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
709
Views
0
Helpful
8
Replies

Displaying Trunk Info on WS-C2912-XL-EN

coolboarderguy
Level 1
Level 1

Hi All,

I know that you can use this,

show interface 'interface' switchport

to display the trunk info, but, what's the quickest way, if you don't know which interface the trunk is on.? Cheers.

coolboarderguy...

8 Replies 8

Hello,

the only way I can think of is to use

'sh run | include trunk'

which would display all ports configured as a trunk...

Regards,

GP

Hi All,

thanx, but, I only get the below result,

Switch#sh run | include trunk

switchport trunk allowed vlan 1,1002-1005

switchport mode trunk

Switch#

Cheers.

coolboarderguy...

Hi,

There is not other way except using the full " show run " command and checking it.There is one command " show interface trunk " but that is not supported on this platform. However you can use " show interface status " and it will list you all the ports including trunk ports too.

Check this :

C48-BS7#sh interfaces status

Port Name Status Vlan Duplex Speed Type

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

Fa0/1 connected 9 A-Full A-100 100BaseTX/FX

Fa0/2 notconnect 9 Auto Auto 100BaseTX/FX

Fa0/3 connected 2 A-Full A-100 100BaseTX/FX

Fa0/4 notconnect 5 Auto Auto 100BaseTX/FX

Fa0/5 connected 2 A-Full A-100 100BaseTX/FX

Fa0/6 connected 11 A-Full A-100 100BaseTX/FX

Fa0/7 connected 14 A-Full A-100 100BaseTX/FX

Fa0/8 connected 14 A-Half A-100 100BaseTX/FX

Fa0/9 connected 2 A-Full A-100 100BaseTX/FX

Fa0/10 connected 2 A-Full A-100 100BaseTX/FX

Fa0/11 notconnect 1 Auto Auto 100BaseTX/FX

Fa0/12 connected 4 A-Half A-10 100BaseTX/FX

Fa0/13 connected 9 A-Full A-100 100BaseTX/FX

Fa0/14 connected 2 A-Full A-100 100BaseTX/FX

Fa0/15 connected 5 A-Full A-100 100BaseTX/FX

Fa0/16 notconnect 2 Auto Auto 100BaseTX/FX

Fa0/17 notconnect 2 Auto Auto 100BaseTX/FX

Fa0/18 notconnect 9 Auto Auto 100BaseTX/FX

Fa0/19 notconnect 1 Auto Auto 100BaseTX/FX

Fa0/20 connected 14 A-Full A-100 100BaseTX/FX

Fa0/21 notconnect 3 Auto Auto 100BaseTX/FX

Port Name Status Vlan Duplex Speed Type

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

Fa0/22 connected 9 A-Half A-10 100BaseTX/FX

Fa0/23 connected 2 A-Full A-100 100BaseTX/FX

Fa0/24 notconnect 11 Auto Auto 100BaseTX/FX

Gi0/1 connected trunk A-Full 1000 1000BaseLX

Gi0/2 connected trunk A-Half 1000 CX_GIGASTACK

regards,

-amit singh

Hi All,

ok, that'll hve ta do,eh..Whilst on this model...it seems the commands are different for a WS-C2912-XL-A. For example, there is no vlan database command. Where can I dig up the specific commands for this model.? I did a google for "commands for WS-C2912-XL-A" but came up with standard XL ones. Cheers.

coolboarderguy...

Hi All,

nobody got anything on the -XL-A version.? Does this version not support VLANs..? Cheers.

coolboarderguy...

Hi,

If I remember correctly, then WS-C2912-XL-A (Standard Edition) started to support VLANs since 11.2(8)SA6 version of software (back in May 99) while WS-C2912-XL-EN (Enerprise edition) since 11.2(8)SA4 (back in Dec 98). So if you run that software version or higher, the "vlan database" command should be OK (please note that this is EXEC priviledged command issued directly from the switch prompt - ie. not config). For the differences in commands support please see the command reference manual, every command described keeps notes whether this command (or. a particular parameter - keyword) is supported in both editions or enterprise only (e.g. that particular version supports vlans but no trunks in standard edition). You should be consulting "ancient" command reference manuals as the standard edition was replaced by enterprise with no price uplift at one time (back in 2000).

Best regards,

Antonin

Hi All,

thanx, great info. Quick question; can the EN software be installed on the A device.? I'm imagining, no, right.? Cheers.

coolboarderguy...

Hi All,

I'm revisiting this one. I'm now trying to display trunk info on a Catalyst 3500XL, and find both, "show interfaces status"/"show interfaces trunk" don't exist on this 1. What displays trunk info on this 1, without knowing in advance which port the trunk exists.? Cheers.

coolboarderguy...