Re: l2 tunnel

From: marc edwards <renorider_at_gmail.com>
Date: Tue, 21 Feb 2012 16:25:39 -0800

12.3(7)T

This feature was introduced.

http://www.cisco.com/en/US/docs/ios/lanswitch/configuration/guide/lsw_ieee_802.1q.html

On Tue, Feb 21, 2012 at 3:09 PM, Aaron <aaron1_at_gvtc.com> wrote:

> Also, I'm not seeing the "switchport mode dot1q-tunnel" command, but am
> seeing the l2protocol-tunnel command. Am I supposed to use both commands
> to
> accomplish the tunnel?...or can I accomplish the tunnel simply using the
> available command "l2protocol-tunnel" ?
>
>
> Switch>
> Switch>en
> Switch#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> Switch(config)#int g2/3
> Switch(config-if)#swi
> Switch(config-if)#switchport mo
> Switch(config-if)#switchport mode ?
> access Set trunking mode to ACCESS unconditionally
> dynamic Set trunking mode to dynamically negotiate access or trunk
> mode
> private-vlan Set the mode to private-vlan host or promiscuous
> trunk Set trunking mode to TRUNK unconditionally
>
> Switch(config-if)#l2
> Switch(config-if)#l2protocol-tunnel ?
> cdp Cisco Discovery Protocol
> drop-threshold Set drop threshold for protocol packets
> shutdown-threshold Set shutdown threshold for protocol packets
> stp Spanning Tree Protocol
> vtp Vlan Trunking Protocol
> <cr>
>
> Switch(config-if)#l2protocol-tunnel
> Switch(config-if)#sw mo
> Switch(config-if)#sw mode ?
> access Set trunking mode to ACCESS unconditionally
> dynamic Set trunking mode to dynamically negotiate access or trunk
> mode
> private-vlan Set the mode to private-vlan host or promiscuous
> trunk Set trunking mode to TRUNK unconditionally
>
> Switch(config-if)#
> Switch(config-if)#do sh run in g2/3
> Building configuration...
>
> Current configuration : 153 bytes
> !
> interface GigabitEthernet2/3
> l2protocol-tunnel cdp
> l2protocol-tunnel stp
> l2protocol-tunnel vtp
> no cdp enable
> spanning-tree bpdufilter enable
> end
>
> Switch(config-if)#no l2protocol-tunnel
> Switch(config-if)#do sh run in g2/3
> Building configuration...
>
> Current configuration : 36 bytes
> !
> interface GigabitEthernet2/3
> end
>
> Switch(config-if)#
> Switch(config-if)#
> Switch(config-if)#sw
> Switch(config-if)#l2
> Switch(config-if)#l2protocol-tunnel
> Switch(config-if)#do sh run in g2/3
> Building configuration...
>
> Current configuration : 153 bytes
> !
> interface GigabitEthernet2/3
> l2protocol-tunnel cdp
> l2protocol-tunnel stp
> l2protocol-tunnel vtp
> no cdp enable
> spanning-tree bpdufilter enable
> end
>
> Switch(config-if)#swi
> Switch(config-if)#switchport mo
> Switch(config-if)#switchport mode ?
> access Set trunking mode to ACCESS unconditionally
> dynamic Set trunking mode to dynamically negotiate access or trunk
> mode
> private-vlan Set the mode to private-vlan host or promiscuous
> trunk Set trunking mode to TRUNK unconditionally
>
> Switch(config-if)#do sh ver | in IOS
> IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version
> 12.2(18)EW, EARLY DEPLOYMENT RELE
> Switch(config-if)#do sh ver | in 450
>
> cisco WS-C4503 (MPC8245) processor (revision 4) with 262144K bytes of
> memory.
> Switch(config-if)#
>
>
> Aaron
>
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Aaron
> Sent: Tuesday, February 21, 2012 4:21 PM
> To: ccielab_at_groupstudy.com
> Subject: l2 tunnel
>
> Is it possible to do layer 2 tunneling of everything, including cdp/stp/vtp
> on a 3750 (and 4500) interface for only a single vlan while also doing
> regular vlan processing of other vlans....on that same interface?
>
>
>
> example, on 3750 port g1/0/8, i currenly have single dot1q tags for vlan
> 242
> and 245, but i would also like to configure vlan 113 for complete tunneling
> of all traffic arriving on g1/0/8 for cdp/stp/vtp and of course regular
> data
> that is tagged with vlan 113.
>
>
>
> Can this be done on the gear mentioned?
>
>
>
> Aaron
>
>
> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue Feb 21 2012 - 16:25:39 ART

This archive was generated by hypermail 2.2.0 : Thu Mar 01 2012 - 11:46:56 ART