Re: Dot1q Tunelling

From: Cagri Yucel (cyucel@gmail.com)
Date: Mon May 07 2007 - 08:14:04 ART


Nope it is not a prerequsite.

dot1q tunnel is to perform re-tagging of dot1q frames.
l2transport simply passed cdp/stp/vtp transperantly.

For example if you have 2 routers with a switch in between, and enable cdp
transport on both switch ports two routers see each other as cdp neighbors.
Nothing to do with dot1q.

cheers

Cagri

On 5/6/07, Prash Kumar <prashseena@gmail.com> wrote:
>
> Bit,
> I think "switchport mode dot1q-tunnel" is pre requsite to have l2
> forwarding
> if multiple switches are in between. As I understand this commands turn
> on
> l2 packet forwarding for specific protocol through tunnel.
>
> Please correct me if I am wrong
>
> thx
> Prashanth
>
>
> On 5/5/07, Bit Gossip <bit.gossip@chello.nl> wrote:
> >
> > I did this lab a few days ago. In my opinion:
> > 'switchport mode dot1q-tunnel' is not necessary and is not requested by
> > the
> > task
> > 'l2protocol-tunnel cdp' is the only config needed here
> >
> > Also in the docCD it says that l2protocol-tunnel can work indipendently
> > from
> > dot1q-tunnel
> >
> > Bit.
> >
> > ----- Original Message -----
> > From: "Ronnie Angello" <ronnie.angello@gmail.com>
> > To: "CCIE Reader" <myolddays@yahoo.co.in>
> > Cc: <ccielab@groupstudy.com>
> > Sent: Friday, May 04, 2007 3:41 PM
> > Subject: Re: Dot1q Tunelling
> >
> >
> > > When a port is configured as a dot1q tunnel port, cdp is automatically
> > > disabled on the port.
> > >
> > > On 5/4/07, CCIE Reader <myolddays@yahoo.co.in> wrote:
> > > >
> > > > Hi,
> > > > I am struck on dot1q tunelling while doing my IE4.0 Lab7-sec 1.4.
> > > > R3 and R1 shud appear as though directly connected to SW2 by
> > configuring
> > > > L2PT of CDP.
> > > >
> > > > I did this and I cud see CDP info of SW2 on both R1 and R3.. but not
> > on
> > > > SW2.
> > > >
> > > > I have attached my testbed port details and configs here..
> > > >
> > > > Have a look and let me know where am missing.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------
> > > > Here s a new way to find what you're looking for - Yahoo! Answers
> > > > R1,R3 connected to F0/1,F0/3 ports of SW1. SW1 and SW4 trunked via
> > F0/11.
> > > > SW4 f0/8,f0/9 connected to SW2 f0/8,f0/9..
> > > >
> > > > SW2 f0/8 is configured with no switchport and given the IP in same
> > subnet
> > > > as R3.
> > > > SW2 f0/9 is configured with no switchport and given the IP in same
> > subnet
> > > > as R1.
> > > >
> > > > SW1 f0/1,f0/3 is configured to do dot1q tunnel
> > > > SW4 f0/8,f0/9 is configured to do dot1q tunnel
> > > >
> > > >
> > > > am unable to see R1,R3 info on SW2.
> > > > whereas am able to see SW2 info on both R1 and R3
> > > >
> > > > System MTU is set to 1504. Also am unable to ping between R1,SW2 and
> > > > R3,SW2.
> > > >
> > > >
> > > >
> > > > SW1:
> > > > ==========
> > > >
> > > > interface FastEthernet0/1
> > > > switchport access vlan 100
> > > > switchport mode dot1q-tunnel
> > > > l2protocol-tunnel cdp
> > > > no cdp enable
> > > > end
> > > >
> > > > SW1#sh run int f0/3
> > > > Building configuration...
> > > >
> > > > Current configuration : 129 bytes
> > > > !
> > > > interface FastEthernet0/3
> > > > switchport access vlan 101
> > > > switchport mode dot1q-tunnel
> > > > l2protocol-tunnel cdp
> > > > no cdp enable
> > > > end
> > > >
> > > > SW1#sh run int f0/11
> > > > Building configuration...
> > > >
> > > > Current configuration : 107 bytes
> > > > !
> > > > interface FastEthernet0/11
> > > > switchport trunk encapsulation dot1q
> > > > switchport mode dynamic desirable
> > > > end
> > > >
> > > > SW1#
> > > >
> > > >
> > > > SW1#sh cdp ne
> > > > SW1#sh cdp neighbors
> > > > 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
> > > > SW4 Fas 0/13 135 S I WS-C3550-
> > Fas
> > > > 0/13
> > > > SW4 Fas 0/12 135 S I WS-C3550-
> > Fas
> > > > 0/12
> > > > SW4 Fas 0/11 155 S I WS-C3550-
> > Fas
> > > > 0/11
> > > > SW2 Fas 0/24 178 R S I WS-C3550-
> > Fas
> > > > 0/24
> > > > SW2 Fas 0/23 177 R S I WS-C3550-
> > Fas
> > > > 0/23
> > > > SW2 Fas 0/22 177 R S I WS-C3550-
> > Fas
> > > > 0/22
> > > > SW3 Fas 0/9 131 S I WS-C3550-
> > Fas
> > > > 0/9
> > > > SW3 Fas 0/8 131 S I WS-C3550-
> > Fas
> > > > 0/8
> > > > SW3 Fas 0/7 131 S I WS-C3550-
> > Fas
> > > > 0/7
> > > > SW1#
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > SW4:
> > > > ===========
> > > >
> > > >
> > > > interface FastEthernet0/11
> > > > switchport trunk encapsulation dot1q
> > > > switchport mode dynamic desirable
> > > > end
> > > >
> > > > SW4#sh run int f0/8
> > > > Building configuration...
> > > >
> > > > Current configuration : 129 bytes
> > > > !
> > > > interface FastEthernet0/8
> > > > switchport access vlan 101
> > > > switchport mode dot1q-tunnel
> > > > l2protocol-tunnel cdp
> > > > no cdp enable
> > > > end
> > > >
> > > > SW4#sh run int f0/9
> > > > Building configuration...
> > > >
> > > > Current configuration : 129 bytes
> > > > !
> > > > interface FastEthernet0/9
> > > > switchport access vlan 100
> > > > switchport mode dot1q-tunnel
> > > > l2protocol-tunnel cdp
> > > > no cdp enable
> > > > end
> > > >
> > > > SW4#
> > > >
> > > >
> > > > SW4#sh cdp neighbors
> > > > 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
> > > > SW1 Fas 0/13 137 S
> > > > I WS-C3560-2Fas 0/13
> > > > SW1 Fas 0/12 137 S
> > > > I WS-C3560-2Fas 0/12
> > > > SW1 Fas 0/11 127 S
> > > > I WS-C3560-2Fas 0/11
> > > > SW2 Fas 0/7 174 R S I
> > > > WS-C3550-2Fas 0/7
> > > > SW3 Fas 0/23 138 S
> > > > I WS-C3550-2Fas 0/23
> > > > SW3 Fas 0/24 138 S
> > > > I WS-C3550-2Fas 0/24
> > > > SW3 Fas 0/22 138 S
> > > > I WS-C3550-2Fas 0/22
> > > > SW4#
> > > >
> > > >
> > > >
> > > >
> > > > SW2:
> > > >
> > > > SW2#sh run int f0/8
> > > > Building configuration...
> > > >
> > > > Current configuration : 85 bytes
> > > > !
> > > > interface FastEthernet0/8
> > > > no switchport
> > > > ip address 163.1.38.8 255.255.255.0
> > > > end
> > > >
> > > > SW2#sh run int f0/9
> > > > Building configuration...
> > > >
> > > > Current configuration : 85 bytes
> > > > !
> > > > interface FastEthernet0/9
> > > > no switchport
> > > > ip address 163.1.18.8 255.255.255.0
> > > > end
> > > >
> > > > SW2#
> > > >
> > > >
> > > >
> > > > SW2#sh cdp neighbors
> > > > 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
> > > > SW4 Fas 0/7 130 S
> > > > I WS-C3550-2Fas 0/7
> > > > BB2 Fas 0/21 157 R
> > > > 2610 Eth 0/0
> > > > SW1 Fas 0/24 155 S
> > > > I WS-C3560-2Fas 0/24
> > > > SW1 Fas 0/23 154 S
> > > > I WS-C3560-2Fas 0/23
> > > > SW1 Fas 0/22 154 S
> > > > I WS-C3560-2Fas 0/22
> > > > SW3 Fas 0/13 166 S
> > > > I WS-C3550-2Fas 0/13
> > > > SW3 Fas 0/12 166 S
> > > > I WS-C3550-2Fas 0/12
> > > > SW3 Fas 0/11 166 S
> > > > I WS-C3550-2Fas 0/11
> > > > SW2#
> > > >
> > > >
> > > >
> > > > R1:
> > > > ===========
> > > >
> > > > R1#sh run int f1/0
> > > > Building configuration...
> > > >
> > > > Current configuration : 95 bytes
> > > > !
> > > > interface FastEthernet1/0
> > > > ip address 163.1.18.1 255.255.255.0
> > > > duplex auto
> > > > speed auto
> > > > end
> > > >
> > > > R1#sh cdp ne
> > > > R1#sh cdp neighbors
> > > > 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
> > > > SW2 Fas 1/0 176 R S
> > I WS-C3550-2Fas
> > > > 0/9
> > > > R1#
> > > >
> > > >
> > > >
> > > > R3:
> > > > ================
> > > > R3#sh run int f0/0
> > > > Building configuration...
> > > >
> > > > Current configuration : 95 bytes
> > > > !
> > > > interface FastEthernet0/0
> > > > ip address 163.1.38.3 255.255.255.0
> > > > duplex auto
> > > > speed auto
> > > > end
> > > >
> > > > R3#sh cdp ne
> > > > R3#sh cdp neighbors
> > > > 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
> > > > SW2 Fas 0/0 176 R S
> > I WS-C3550-2Fas
> > > > 0/8
> > > > R3#
> > > >
> > > >
> > _______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > > >
> > >
> > >
> > >
> > > --
> > > Ronald Angello
> > > CCIE #17846
> > >
> > >
> _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

-- 
-cagri


This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:20 ART