Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1102
  • Last Modified:

Setting up a Trunk for 2 VLAN on Cisco IE3000

I have a Ciscio IE3000.  I have ports Fa1/1 - fa1/4 VLAN10 and Fa1/5-1/8 VLAN10.  I am trying to configure Gi1/1 as a Trunk for both VLAN 10 and 20.  Below is my command that i used and when I run the SHO VLAN BRIEF command the switch only assigns VLAN20 to gi1/1.

How do I assign gi1/1 to be a trunk for VLAN10 and VLAN 20.

Thanks!

Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int gi1/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport access vlan 10
Switch(config-if)#switchport access vlan 20
Switch(config-if)#switchport trunk native vlan 10
Switch(config-if)#switchport trunk native vlan 20
Switch(config-if)#end
Switch#
Switch#sho vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi1/2
10   vlan_10                          active    Fa1/1, Fa1/2, Fa1/3, Fa1/4
20   vlan_20                          active    Fa1/5, Fa1/6, Fa1/7, Fa1/8
                                                Gi1/1
1000 xsetup_vlan                      active
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

Open in new window

0
Donald_Gibson
Asked:
Donald_Gibson
2 Solutions
 
Nayyar HH (CCIE RS)Network ArchitectCommented:
Verify trunk status with

show interface trunk



Interface trunk configuration

int g1/1
switchport mode trunk
switchport trunk encapsulation dot1q


Both ends of the trunk need to be configured symmetrically
0
 
compbattyCommented:
There are 2 options available for you. As you also have a port allocated to VLAN 1 if you do not want VLAN 1 trunked you can use the first config alternatively if this does not matter you can use the second.

Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int gi1/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk allowed vlan 10,20
Switch(config-if)#end

or

Switch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int gi1/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#encapsulation dot1q
Switch(config-if)#end

As long as you configure both end of the trunk the same way it will allow both VLANs through.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now