Chapter 35 Layer 2 Control Protocol Peering, Forwarding, and Tunneling

Configuration Examples

negotiation auto

!

service instance 9 ethernet encapsulation untagged l2protocol forward cdp bridge-domain 9

!

end

The following is a sample configuration of layer 2 protocol forwarding of tagged Bridge Protocol Data Units (BPDUs) at the port-channel interface level.

Current configuration : 270 bytes

!

interface Port-channel1 no negotiation auto l2proto-forward tagged cdp service instance 9 ethernet

encapsulation untagged bridge-domain 9

!

service instance 99 ethernet encapsulation dot1q 99

rewrite ingress tag pop 1 symmetric bridge-domain 99

!

end

Example: Configuring Layer 2 Tunneling

The following is a sample configuration of layer 2 control protocol tunneling for untagged packets.

Building configuration...

Current configuration : 151 bytes

!

interface GigabitEthernet0/1 negotiation auto

service instance 10 ethernet encapsulation untagged l2protocol tunnel cdp bridge-domain 10

!

Service instance 100 ethernet encapsulation dot1q 100 l2protocol tunnel lldp

rewrinte ingress tag pop 1 symmetric bridge-domain 100

!

interface GigabitEthernet0/7 negotiation auto

service instance 20 ethernet encapsulation untagged l2protocol tunnel bridge-domain 20

!

end

The following is a sample configuration of layer 2 control protocol tunneling for tagged packets.

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

35-11

 

 

 

 

 

Page 703
Image 703
Cisco Systems A9014CFD manual Example Configuring Layer 2 Tunneling, 35-11