cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1462
Views
0
Helpful
4
Replies

Create trunkports on Catalyst 2960

Ulf Larsson
Level 1
Level 1

Hi.

I'm trying to create trunkports on our Catalyst 2960.

I'm following this guide to configure interface fa0/1



Command

Purpose

Step 1 


configure terminal


Enter global configuration mode.


Step 2 


interface interface-id


Specify the port to be configured, and enter interface configuration mode.


Step 3 


Switchport mode trunk


Configure the interface as a VLAN trunk port.


Step 4 


switchport trunk allowed vlan {add | all | except | remove} vlan-list
In my case, switchport trunk allowed vlan add 1-2


(Optional) Configure the list of VLANs allowed on the trunk.


For explanations about using the add, all, except, and remove keywords, see the command reference for this release.


The vlan-list parameter is either a single  VLAN number from 1 to 4094 or a range of VLANs described by two VLAN  numbers, the lower one first, separated by a hyphen. Do not enter any  spaces between comma-separated VLAN parameters or in hyphen-specified  ranges.


All VLANs are allowed by default.


Step 5 


end


Return to privileged EXEC mode.


Step 6 


show interfaces interface-id switchport


Verify your entries in the Trunking VLANs Enabled field of the display.


Step 7 


copy running-config startup-config


(Optional) Save your entries in the configuration file.

When I run the command show interfaces fa0/1 trunk, I got this result

Port        Mode             Encapsulation  Status        Native vlan

Fa0/1       on               802.1q         other         500

Port        Vlans allowed on trunk

Fa0/1       none

Port        Vlans allowed and active in management domain

Fa0/1       none

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/1       none

I'm expecting that my vlans that I have allowed, should be listed like this

show interfaces fa0/24 trunk

Port        Mode             Encapsulation  Status        Native vlan

Fa0/24      on               802.1q         trunking      500

Port        Vlans allowed on trunk

Fa0/24      90-95

Port        Vlans allowed and active in management domain

Fa0/24      90

Port        Vlans in spanning tree forwarding state and not pruned

Fa0/24      90

So why doesn't it work on interface 1 (and 2-4) when it working on interface 24?

1 Accepted Solution

Accepted Solutions

Hello Henrik,

Can you post output of #sh interface Fa0/1

I can see that trunking state on this interface is other, if interface is down, you will not see allowed vlan in output.

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions

View solution in original post

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

Is VLAN 2 created in the VLAN database?

Have you assigned ports to VLAN 2?

Hi.

Yes, when I run show vlan, I can see vlan 2 (and the others)

Vlan 2 is assigned to port Fa0/18 according to show vlan.

Hello Henrik,

Can you post output of #sh interface Fa0/1

I can see that trunking state on this interface is other, if interface is down, you will not see allowed vlan in output.

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions

When I connected a device to fa0/1, I could se the vlan information.

Thank you.

Review Cisco Networking for a $25 gift card