Wednesday, 26 September 2012
QinQ Tunneling
2811 Config
interface FastEthernet0/1.400
encapsulation dot1Q 1400 second-dot1q 400
ip address 172.16.40.1 255.255.255.0
!
interface FastEthernet0/1.401
encapsulation dot1Q 1400 second-dot1q 401
ip address 172.16.41.1 255.255.255.0
!
interface FastEthernet0/1.402
encapsulation dot1Q 1400 second-dot1q 402
ip address 172.16.42.1 255.255.255.0
3750 Config
interface FastEthernet3/0/48
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1400
switchport mode trunk
speed 100
duplex full
!
interface GigabitEthernet3/0/3
switchport access vlan 1400
switchport mode dot1q-tunnel
speed nonegotiate
mls qos trust ip-precedence
no cdp enable
spanning-tree bpdufilter enable
3560 Config
interface GigabitEthernet0/28
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 400-402
switchport mode trunk
speed nonegotiate
end
!
interface Vlan400
ip address 172.16.40.2 255.255.255.0
!
interface Vlan401
ip address 172.16.41.2 255.255.255.0
!
interface Vlan402
ip address 172.16.42.2 255.255.255.0
Verification
3750#show dot1q-tunnel
dot1q-tunnel mode LAN Port(s)
-----------------------------
Gi3/0/3
3750#show spanning-tree vlan 1400
VLAN1400
Spanning tree enabled protocol ieee
Root ID Priority 34368
Address 0022.be7a.8480
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 34368 (priority 32768 sys-id-ext 1400)
Address 0022.be7a.8480
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi3/0/3 Desg FWD 4 128.135 P2p
Fa3/0/48 Desg FWD 19 128.160 P2p
3560#ping 172.16.40.1
!!!!!
c3560#ping 172.16.41.1
!!!!!
c3560#ping 172.16.42.1
!!!!!
Labels:
dot1q tunnel
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment