cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10265
Views
0
Helpful
42
Replies

VLAN is being blocked

samador382
Level 1
Level 1

Hi there,

I have little experience with Cisco equipment. As of right now I am trying to connect (trunk I believe) two switches together. The main switch is a 3560 and the other is a catalyst 2950. Someone setup a VLAN on port 48 of the 3560. I want to connect a switch to that port so I can have multiple devices plugged in. First off, is this even possible? Secondly, if it is,how do I go about successfully connecting the two switches?

This is what I have done so far. 

On switch 3560 (main switch) the VLAN is 30. (This was created by someone else)

I created VLAN 30 on the 2950 with the range of all ports (1-24) in that VLAN.

Then I set fa0/1 to trunk mode. When the line came back up I got this error.

21:34:39: %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan i       d 30 on FastEthernet0/1 VLAN1.

21:34:39: %SPANTREE-2-BLOCK_PVID_PEER: Blocking FastEthernet0/1 on VLAN0030. Inc       onsistent peer vlan.

21:34:39: %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/1 on VLAN0001. In       consistent local vlan.

MYSWITCH#

Again, I have no clue what this is and I would really appreciate some help.

Thanks for looking!

-SA

42 Replies 42

I ran this command and the laptop connected to directly to port 48 on the MAINSWITCH still does not have internet access. Do I need to put a default ip on the VLAN?

Thank you for taking the time,

-SA

Ok, sounds like you have a lot more work to do.  Here are a couple questions:

- were you told to use VLAN 30 as a test by someone who appropriately said VLAN 30 was usable.  If you were, can you ask if the main switch is L3 or L2 to a router-on-a-stick or other L3 gateway?

- send the output of a "show cdp nei" command from the main switch

- send the output of a "show ip int br | ex unass" from the main switch

Here is a little more info to better understand my environment.

That MAINSWITCH has a few VLANS on it already. The VLAN 30 was setup by a company that hosts some of our servers. 

The VLAN 30 is what I want to use as a test environment. All other VLANS on this switch have internet access. When the guy setup the VLAN on that MAINSWITCH, he was supposed to ensure internet access was possible.

Unfortunately for me, this network has been inherited from a person who is no longer with the company, and the people who host some of our servers charge for everything. They charged us just to setup the VLAN in the first place. $100.

I should probably contact them and let them know it is not working. But they might want to charge since changes have been made to it. I will try anyway. However, for the sake of getting this running, I am pretty sure it is a Layer 2 Switch. Below is the show commands you asked for.

-------------------------

#show cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID Local Intrfce Holdtme Capability Platform Port ID
XXXXXX Fas 0/45 124 T B I AIR-CAP26 Gig 0
MAINSWITCH
Gig 0/1 151 S I WS-C3560- Gig 0/3

--------------------

#show ip int br | ex unass
Interface IP-Address OK? Method Status Protocol
Vlan2 XX.XX.XX.XX YES NVRAM up up

 

main switch 3560 

show vtp stat

VTP Version                     : 2

Configuration Revision          : 15

Maximum VLANs supported locally : 1005

Number of existing VLANs        : 15

VTP Operating Mode              : Client

VTP Domain Name                 : XXXXXXXXXX

VTP Pruning Mode                : Disabled

VTP V2 Mode                     : Disabled

VTP Traps Generation            : Disabled

MD5 digest                      : 0xF3 0x8D 0xCC 0xDF 0xD9 0x12 0xFF 0x22

Configuration last modified by 10.192.17.254 at 10-8-15 18:26:34

MAINSWITCH-Sw1#

MAINSWITCH-Sw1#

MAINSWITCH-Sw1#

MAINSWITCH-Sw1#

MAINSWITCH-Sw1#show vlan

 

VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                          active    Gi0/2, Gi0/3, Gi0/4

2    VOICE                            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

                                                Fa0/25, Fa0/26, Fa0/27, Fa0/28

                                                Fa0/29, Fa0/30, Fa0/31, Fa0/32

                                                Fa0/33, Fa0/34, Fa0/35, Fa0/36

                                                Fa0/37, Fa0/38, Fa0/39, Fa0/40

                                                Fa0/41, Fa0/42, Fa0/43, Fa0/44

                                                Fa0/46, Fa0/47

3    DATA                             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

                                                Fa0/25, Fa0/26, Fa0/27, Fa0/28

 

VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

                                                Fa0/29, Fa0/30, Fa0/31, Fa0/32

                                                Fa0/33, Fa0/34, Fa0/35, Fa0/36

                                                Fa0/37, Fa0/38, Fa0/39, Fa0/40

                                                Fa0/41, Fa0/42, Fa0/43, Fa0/44

                                                Fa0/46, Fa0/47

10   Lab                              active

12   VLAN0012                         active

14   VLAN0014                         active

16   WiFi                             active

17   Internal-Wireless                active

18   Guest-Wireless                   active

26   VLAN0026                         active

30   192.168.X.X-XX                  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

3    enet  100003     1500  -      -      -        -    -        0      0

10   enet  100010     1500  -      -      -        -    -        0      0

12   enet  100012     1500  -      -      -        -    -        0      0

14   enet  100014     1500  -      -      -        -    -        0      0

16   enet  100016     1500  -      -      -        -    -        0      0

17   enet  100017     1500  -      -      -        -    -        0      0

18   enet  100018     1500  -      -      -        -    -        0      0

26   enet  100026     1500  -      -      -        -    -        0      0

30   enet  100030     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

------- --------- ----------------- -----------------------------

Main switch

#show interfaces fa0/48
FastEthernet0/48 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 0023.5d35.6e34 (bia 0023.5d35.6e34)
Description: Trunked Downlink to 2950 port 48
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:01, 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 1000 bits/sec, 2 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
24082 packets input, 1771591 bytes, 0 no buffer
Received 22365 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 22080 multicast, 0 pause input
0 input packets with dribble condition detected
19567 packets output, 1464848 bytes, 0 underruns
0 output errors, 0 collisions, 3 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
#show
#show int
#show run in
#show run interface fa0/48
Building configuration...

Current configuration : 104 bytes
!
interface FastEthernet0/48
description Trunked Downlink to 2950 port 48
switchport mode access
end

2nd switch 2950

show interfaces fa0/1
FastEthernet0/1 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 000d.bd01.f401 (bia 000d.bd01.f401)
Description: Trunked Uplink to 3560 Port 48
MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00: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 ouxtput rate 0 bits/sec, 0 packets/sec
18756 packets input, 1401314 bytes, 0 no buffer
Received 16993 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 15947 multicast, 0 pause input
0 input packets with dribble condition detected
23927 packets output, 1753667 bytes, 0 underruns
0 output errors, 0 collisions, 2 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
#sho
#show ru
#show run in
#show run interface fa0/1
Building configuration...

Current configuration : 115 bytes
!
interface FastEthernet0/1
description Trunked Uplink to 3560 Port 48
switchport mode trunk
no ip address
end

Looks like configurations are still missing from the 3560. Can you re-paste that 3560 configurations provided into the 3560 (not 2950 switch).

This is what was returned after pasting the configuration

conf t

Enter configuration commands, one per line.  End with CNTL/Z.

MAINSWITCH-Sw1(config)#

MAINSWITCH-Sw1(config)#  interface FastEthernet0/48

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   shut

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   description Trunked Downlink to 2950 port $ion Trunked Downlink to 2950 port 4         8

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   no  auto qos voip cisco-phone

AutoQoS Error: AutoQoS not configured

 

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   no switchport access vlan 30

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   switchport encapsulation dot1q

                                              ^

% Invalid input detected at '^' marker.

 

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   switchport mode trunk

Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   no switchport voice vlan 2

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   auto qos trust

                                            ^

% Invalid input detected at '^' marker.

 

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   no spanning-tree portfast

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#   no shut

MAINSWITCH-Sw1(config-if)#

MAINSWITCH-Sw1(config-if)#  end

MAINSWITCH-Sw1#

MAINSWITCH-Sw1#  wr mem

Building configuration...

 

9w3d: %SYS-5-CONFIG_I: Configured from console by admin on console

9w3d: %LINK-3-UPDOWN: Interface FastEthernet0/48, changed state to down[OK]

MAINSWITCH-Sw1#

9w3d: %LINK-3-UPDOWN: Interface FastEthernet0/48, changed state to up

9w3d: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/48 VLAN1.

9w3d: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/48 on VLAN0001. Inconsistent port type.

Send a show version from the 3560

What do you mean?

It appears that the 3560 rejected the "switchport encapsulation dot1q" command from the output you posted.  A "show version" command output may help me understand why.

Never mind I got it

show version

Cisco IOS Software, C3560 Software (C3560-IPSERVICES-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Thu 19-Jul-07 18:15 by nachen

Image text-base: 0x00003000, data-base: 0x01300000

 

ROM: Bootstrap program is C3560 boot loader

BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)

 

MAINSWITCH-Sw1 uptime is 9 weeks, 3 days, 1 hour, 42 minutes

System returned to ROM by power-on

System image file is "flash:c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin"

 

cisco WS-C3560-48PS (PowerPC405) processor (revision R0) with 122880K/8184K bytes of memory.

Processor board ID FDO1238X2ZW

Last reset from power-on

5 Virtual Ethernet interfaces

48 FastEthernet interfaces

4 Gigabit Ethernet interfaces

The password-recovery mechanism is enabled.

 

512K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address       : XXXXXXXXXXXXXXXXXXXXXXX

Motherboard assembly number     : 73-9676-14

Power supply part number        : 341-0029-05

Motherboard serial number       : FDO12380ELC

Power supply serial number      : DTN123147K0

Model revision number           : R0

Motherboard revision number     : A0

Model number                    : WS-C3560-48PS-E

System serial number            : XXXXXXXXX

SFP Module assembly part number : 73-7757-03

SFP Module revision Number      : A0

SFP Module serial number        : FDO123801QE

Top Assembly Part Number        : 800-26378-04

Top Assembly Revision Number    : B0

Version ID                      : V06

CLEI Code Number                : COMU110ARA

Hardware Board Revision Number  : 0x01

 

 

Switch   Ports  Model              SW Version              SW Image

------   -----  -----              ----------              ----------

*    1   52     WS-C3560-48PS      12.2(35)SE5             C3560-IPSERVICES-M

 

 

Configuration register is 0xF

Ok, I see the issue.  Sorry, typing commands form memeory. Paste the following into your 3560:

  interface FastEthernet0/48

   shut

   switchport trunk encapsulation dot1q

   switchport mode trunk

   auto qos voip trust

   no shut

  end

  wr mem

After done, check on that switch to see if that port is trunking and forwarding VLANs 1 and 30 via the "show interface trunk" command.

OK. I pasted the configurations on both switches. 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card