11-28-2017 11:54 AM - edited 03-08-2019 12:54 PM
I am having a difficult time attempting to figure out why my trunk ports are not working on the Gig ports. I can get a trunk port setup on ports 1-24 but when i attempt to create the trunks on the Gig ports I get no connectivity. I see it is related to the allowed Vlans but I can't get the allowed vlan command to work.
I have attempted to restore my configuration to 2 different switches but it is obvious I am missing something but I do not see what it is. I have issued the no shutdown command on both gig ports as well to no avail.
interface GigabitEthernet0/1
description *** Trunk to 310SW100 2960 ***
switchport mode trunk
switchport nonegotiate
ip dhcp snooping trust
150SW103#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, 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/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
2 VoIP active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, 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/21, Fa0/22, Fa0/23, Fa0/24
10 100-AVAD active
115 100.Showroom.LAN active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
115 enet 100115 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
------- --------- ----------------- ------------------------------------------
150SW103#sh int g0/1 trunk
Port Mode Encapsulation Status Native vlan
Gi0/1 on 802.1q other 1
Port Vlans allowed on trunk
Gi0/1 none
Port Vlans allowed and active in management domain
Gi0/1 none
Port Vlans in spanning tree forwarding state and not pruned
Gi0/1 none
150SW103#sh int g0/2 trunk
Port Mode Encapsulation Status Native vlan
Gi0/2 on 802.1q other 1
Port Vlans allowed on trunk
Gi0/2 none
Port Vlans allowed and active in management domain
Gi0/2 none
Port Vlans in spanning tree forwarding state and not pruned
Gi0/2 none
150SW103#sh int g0/1
GigabitEthernet0/1 is down, line protocol is down (notconnect)
Hardware is Gigabit Ethernet, address is 0024.5155.8b99 (bia 0024.5155.8b99)
Description: *** Trunk to 310SW100 2960 ***
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Auto-duplex, Auto-speed, link type is auto, media type is Not Present
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
Solved! Go to Solution.
11-28-2017 12:27 PM
Hello.
GigabitEthernet0/1 is down, line protocol is down (notconnect)
--> that could be a physical problem as well. Are you using a crossover cable ?
11-28-2017 12:29 PM
Good eye Georg
GigabitEthernet0/1 is down, line protocol is down (notconnect)
or the cable is bad
11-28-2017 12:06 PM - edited 11-28-2017 12:07 PM
Hi
That is weird, try to filter the vlans
interface g0/1
switchport trunk allow vlan 2,3,4...
shutdown
no shutdown.
11-28-2017 12:20 PM - edited 11-28-2017 12:21 PM
150SW103#config t
Enter configuration commands, one per line. End with CNTL/Z.
150SW103(config)#int g0/1
150SW103(config-if)#switchport trunk allow Vlan 2,3,4,5
150SW103(config-if)#end
150SW103#
000058: *Feb 28 20:51:35: %SYS-5-CONFIG_I: Configured from console by * on consolesh int g0/1 trunk
Port Mode Encapsulation Status Native vlan
Gi0/1 on 802.1q other 1
Port Vlans allowed on trunk
Gi0/1 none
Port Vlans allowed and active in management domain
Gi0/1 none
Port Vlans in spanning tree forwarding state and not pruned
Gi0/1 none
interface GigabitEthernet0/1
description *** Trunk to 310SW100 2960 ***
switchport trunk allowed vlan 2-5
switchport mode trunk
switchport nonegotiate
ip dhcp snooping trust
11-28-2017 12:24 PM
Hi
Thank you, Is the spanning tree enabled?
example:
spanning-tree vlan 2 priority 4096
Caution if it is a switch in operations.
11-28-2017 12:51 PM
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
spanning-tree vlan 1-2 priority 24576
11-28-2017 12:53 PM
Hi
It looks good, thank you, please verify the comment from Georg, the interface look down for any reason, bad cable or type of cable as Georg mentioned.
11-28-2017 12:27 PM
Hello.
GigabitEthernet0/1 is down, line protocol is down (notconnect)
--> that could be a physical problem as well. Are you using a crossover cable ?
11-28-2017 12:29 PM
Good eye Georg
GigabitEthernet0/1 is down, line protocol is down (notconnect)
or the cable is bad
11-28-2017 12:52 PM
No crossover cable. If i use an FE port as a trunk all works using the same setup including cable.
11-28-2017 12:56 PM
Hi
Are you using SFP? on some switches you must specify the media type.
Try with:
interface g0/0
media-type RJ45
11-28-2017 12:56 PM
11-28-2017 12:59 PM
Great!
:-)
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