03-15-2013 04:03 AM - edited 03-07-2019 12:16 PM
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 | (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?
Solved! Go to Solution.
03-15-2013 05:24 AM
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
03-15-2013 04:09 AM
Is VLAN 2 created in the VLAN database?
Have you assigned ports to VLAN 2?
03-15-2013 05:14 AM
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.
03-15-2013 05:24 AM
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
03-15-2013 05:36 AM
When I connected a device to fa0/1, I could se the vlan information.
Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide