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

l2 local switching on asr1002f

Hello everybody!

I have a problem with configuring l2 local switching. Here is my setup:

6506:

spanning-tree mode rapid-pvst

interface GigabitEthernet5/1
description sgw-1 gi0/0/1
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 100-2199
switchport mode trunk
mtu 9216
no ip address
end

sgw-1:

interface GigabitEthernet0/0/1
description to 6506 gi5/1

no ip address
negotiation auto
cdp enable

interface GigabitEthernet0/0/1.557
encapsulation dot1Q 557
!        
interface GigabitEthernet0/0/1.558
encapsulation dot1Q 558

connect vpn1 GigabitEthernet0/0/1.557 GigabitEthernet0/0/1.558

sgw-1#sh connection

ID   Name            Segment 1              Segment 2                  State   
================================================================================
2    vpn1            Gi0/0/1.557            Gi0/0/1.558                UP    

When I configure this, on the 6506 i get span tree error and vlans 557 and 558 blocked.

6506# sh spanning-tree int gi5/1

...

VLAN0557         Desg BKN*4         128.513  P2p *PVID_Inc
VLAN0558         Desg BKN*4         128.513  P2p *PVID_Inc

6506# sh log

...

Oct 23 16:20:59.581 MSK: %SPANTREE-SP-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 557 on GigabitEthernet5/1 VLAN558.
Oct 23 16:20:59.581 MSK: %SPANTREE-SP-2-BLOCK_PVID_PEER: Blocking GigabitEthernet5/1 on VLAN0557. Inconsistent peer vlan.
Oct 23 16:20:59.581 MSK: %SPANTREE-SP-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet5/1 on VLAN0558. Inconsistent local vlan.

Cisco documentation says that this is because -" A per-VLAN           spanning tree (PVST+) Bridge Protocol Data Unit (BPDU) is received on a           different VLAN than it was originated: (Port VLAN ID           Mismatch or           *PVID_Inc)"

I wonder why this is happening?

6506: show spanning-tree int gi5/1 det

Port 513 (GigabitEthernet5/1) of VLAN0557 is broken  (Port VLAN ID Mismatch)
   Port path cost 4, Port priority 128, Port Identifier 128.513.
   Designated root has priority 25133, address 001a.303d.aa00
   Designated bridge has priority 25133, address 001a.303d.aa00
   Designated port id is 128.513, designated path cost 0
   Timers: message age 0, forward delay 14, hold 0
   Number of transitions to forwarding state: 0
   Link type is point-to-point by default
   BPDU: sent 378, received 0

Port 513 (GigabitEthernet5/1) of VLAN0558 is broken  (Port VLAN ID Mismatch)
   Port path cost 4, Port priority 128, Port Identifier 128.513.
   Designated root has priority 25134, address 001a.303d.aa00
   Designated bridge has priority 25134, address 001a.303d.aa00
   Designated port id is 128.513, designated path cost 0
   Timers: message age 0, forward delay 13, hold 0
   Number of transitions to forwarding state: 0
   Link type is point-to-point by default
   BPDU: sent 378, received 0

0 Replies 0