Re: l2protocol tunneling

From: Dan C (cdan2154@gmail.com)
Date: Sun Feb 15 2009 - 11:03:52 ARST


Hi ,

Here is a working sample config.... you will need to add an extra vlan
in this case vlan 100 and both switches trunk using dot1q

Topology

R1------ Sw1=======dot1q trunk======Sw2---------R2

for both sw1 and sw2 system mtu 1504

SW1 configs

interface FastEthernet2/0/1
 switchport access vlan 100
 switchport mode dot1q-tunnel
 l2protocol-tunnel cdp
 no cdp enable

SW2 configs

interface FastEthernet1/0/2
 switchport access vlan 100
 switchport mode dot1q-tunnel
 l2protocol-tunnel cdp
 no cdp enable

Verify:

SW2#sh l2p
SW2#sh l2protocol-tunnel
COS for Encapsulated Packets: 5
Drop Threshold for Encapsulated Packets: 0

Port Protocol Shutdown Drop Encapsulation Decapsulation Drop
                    Threshold Threshold Counter Counter Counter
---------- -------- --------- --------- ------------- -------------
-------------
Fa1/0/2 cdp ---- ---- 283 277
         0
           --- ---- ---- ---- ----
      ----
           --- ---- ---- ---- ----
      ----
           --- ---- ---- ---- ----
      ----
           --- ---- ---- ---- ----
      ----
           --- ---- ---- ---- ----
      ----

SW2#

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

Device ID Local Intrfce Holdtme Capability Platform Port ID
SW1 Fas 0/0 130 R S I WS-C3750- Fas 2/0/2
R1 Fas 0/1 168 R 3640 Fas 0/0
R3 Ser 0/1 137 R S 2651XM Ser 1/3
R2#

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

Device ID Local Intrfce Holdtme Capability Platform Port ID
R2 Fas 0/0 161 R S 2651 Fas 0/1
R3 Ser 0/1 178 R S 2651XM Ser 1/2
R1_R5#

As for documentation have a look at:
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_25_se/configuration/guide/swtunnel.html

HTH,
Dan

On Sun, Feb 15, 2009 at 11:34 PM, khurram noor
<smartcapricon82@gmail.com> wrote:
> Hello everyone,
>
> I have a question about l2 protocol tunneling. which i have incomplete
> answer in ie solution.
>
> The task is.
> *Configure SW2 so that SW3 and SW4 see each other as CDP neighbors across
> the routed link that connects them*
>
> My understanding is as below.
>
>
> - Disable CDP on the ports over SW2 which are connecting it to SW3 and
> SW4 and enable l2protocol-tunnel cdp on same ports.
>
> Will that be enough for it to work or do i need to perform similar action on
> port over SW3 and SW4 that are connected to SW2?
> I am asking this question as this l2protocol tunneling does not work over
> dynamips, so i cannot test.
>
> Kindly Help ! --
> Khurram Noor
> CCIP, CCNA
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:11 ARST