10-11-2018 02:27 PM - edited 03-08-2019 04:22 PM
Hi,
I have done this a few times and am missing something but cant figure out what it is. I think I should have set Gi2/0/1 with trunk for Vlan 1 & 50 - it shows no trunk at all.
Any ideas what i am doing wrong?
Thanks, Rich
Booting off of: c2960s-universalk9-mz.150-2.SE12.bin
User Access Verification
Password:
Switch>enable
Password:
Switch#show vlan
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#exit
Switch(config)#exit
Switch#show vlan
VLAN Name Status Ports
1 default active Gi2/0/1, Gi2/0/2, Gi2/0/3
50 VLAN0050 active
1002 fddi-default act/unsup
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int Gi2/0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk allowed vlan 1,50
Switch(config-if)#end
Switch#show int trunk
Switch#
If I try
Switch#show interfaces gi2/0/1 switchport
Name: Gi2/0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: 1,50
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Switch#show interfaces gi2/0/14 switchport
Name: Gi2/0/14
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Port 1 will have both Vlan 1 & Vlan 50 trunking - Port 14 says all Vlan enabled but Vlan 50 doesnt actually work.
I have a Ubi wifi access point looking for Vlan 1 & 50 - it works on Port 1, but not port 14.
In the past prior to this upgrade it would work with the top commands.
What am I doing wrong?
Thanks,
Rich
10-11-2018 02:47 PM
Try this
config t
interfaces gi2/0/14
switchport access vlan 50
!
end
test it
10-11-2018 03:22 PM
Wouldnt that make the port only access Vlan50?
Should I do a factory reset on the switch (how do i do that?)
10-12-2018 02:17 AM
If you looking to port to be in Access vlan that command i gave you to work ?
But you looking for trunk ? as suggested on other post can you post full configuration.
10-12-2018 04:07 AM
10-11-2018 03:11 PM
10-11-2018 03:21 PM
User Access Verification
Password:
Switch>enable
Password:
Switch#sh interface gi2/0/14 control
GigabitEthernet2/0/14 is down, line protocol is down (notconnect)
Hardware is Gigabit Ethernet, address is e840.405c.3e8e (bia e840.405c.3e8e)
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 01:00:00, 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
256 packets input, 58541 bytes, 0 no buffer
Received 99 broadcasts (28 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 28 multicast, 0 pause input
0 input packets with dribble condition detected
3216 packets output, 371894 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
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
Transmit GigabitEthernet2/0/14 Receive
372214 Bytes 58541 Bytes
377 Unicast frames 157 Unicast frames
697 Multicast frames 28 Multicast frames
2147 Broadcast frames 71 Broadcast frames
0 Too old frames 45541 Unicast bytes
0 Deferred frames 2468 Multicast bytes
0 MTU exceeded frames 10452 Broadcast bytes
0 1 collision frames 0 Alignment errors
0 2 collision frames 0 FCS errors
0 3 collision frames 0 Oversize frames
0 4 collision frames 0 Undersize frames
0 5 collision frames 0 Collision fragments
0 6 collision frames
0 7 collision frames 69 Minimum size frames
0 8 collision frames 115 65 to 127 byte frames
0 9 collision frames 16 128 to 255 byte frames
0 10 collision frames 29 256 to 511 byte frames
0 11 collision frames 8 512 to 1023 byte frames
0 12 collision frames 19 1024 to 1518 byte frames
0 13 collision frames 0 Overrun frames
0 14 collision frames 0 Pause frames
0 15 collision frames
0 Excessive collisions 0 Symbol error frames
0 Late collisions 0 Invalid frames, too large
0 VLAN discard frames 0 Valid frames, too large
0 Excess defer frames 0 Invalid frames, too small
2184 64 byte frames 0 Valid frames, too small
529 127 byte frames
170 255 byte frames 0 Too old frames
265 511 byte frames 0 Valid oversize frames
57 1023 byte frames 0 System FCS error frames
16 1518 byte frames 0 RxPortFifoFull drop frame
0 Too large frames
0 Good (1 coll) frames
0 Good (>1 coll) frames
Switch#
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