beautypg.com

5 understanding layer2 protocol tunneling, 6 layer2 protocol tunneling configuration – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 70

background image

CanogaOS Configuration Guide

10-5

10.5 Understanding layer2 protocol tunneling

Customers at different sites connected across a service-provider network need to run
various Layer 2 protocols to scale their topology to include all remote sites, as well as the
local sites. STP must run properly, and every VLAN should build a proper spanning tree
that includes the local site and all remote sites across the service-provider infrastructure.
When protocol tunneling is enabled, edge switches on the inbound side of the
service-provider infrastructure encapsulate Layer 2 protocol packets with a special MAC
address and send them across the service-provider network. Core switches in the
network do not process these packets but forward them as normal packets. Layer 2
protocol data units (PDUs) for STP cross the service-provider infrastructure and are
delivered to customer switches on the outbound side of the service-provider network.
Layer 2 protocol tunneling can be used independently or can enhance 802.1Q tunneling.
If protocol tunneling is not enabled on 802.1Q tunneling ports, remote switches at the
receiving end of the service-provider network do not receive the PDUs and cannot
properly run STP. When protocol tunneling is enabled, Layer 2 protocols within each
customer’s network are totally separate from those running within the service-provider
network. Customer switches on different sites that send traffic through the
service-provider network with 802.1Q tunneling achieve complete knowledge of the
customer’s VLAN. If 802.1Q tunneling is not used, you can still enable Layer 2 protocol
tunneling by connecting to the customer switch through access ports or trunk ports and
enabling tunneling on the service-provider access or trunk port.

10.6 Layer2 protocol tunneling Configuration

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)# l2protocol-tunnel enable

Enable l2protocol tunnel globally

DUT1(config)# l2protocol-tunnel tunnel-dmac
010F.E200.0003

Configure layer2 protocol tunnel destination mac address. By
default, layer2 protocol tunnel dmac is 0100.0CCD.CDD0.

DUT1(config)#interface eth-0-5

Specify the interface (eth-0-5)to be configured and enter the
Interface mode.

DUT1(config-if)#no shutdown

Enable the interface.

DUT1(config-if)# spanning-tree port disable

Disable spanning tree on this port. Before enable l2protocol
tunneling stp, should disable spanning tree first.

DUT1(config-if)# l2protocol-tunnel stp

Enable l2protocol tunnel on current port.

DUT1(config-if)#end Exit

the

Interface

mode and enter the Configure mode.

DUT1# show interface switchport interface
eth-0-5

Verify the configuration.


You can use show command to display the configuration on the switchport.

DUT1# show l2protocol-tunnel interface eth-0-5
Interface Protocol Operation
=========== =========== ============
eth-0-1 stp Tunnel