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

Configuration Examples

Note The configuration given below applies to only one router. Similar configuration has to be applied on two Cisco ASR 901 routers.

Building configuration...

Current configuration : 153 bytes

!

interface GigabitEthernet0/11 negotiation auto

service instance 10 ethernet encapsulation dot1q 100 l2protocol tunnel bridge-domain 50

!

!

interface GigabitEthernet0/1 negotiation auto

service instance 10 ethernet encapsulation dot1q 100 bridge-domain 50

!

end

The following is a sample configuration of layer 2 protocol tunneling for receiving untagged LLDP packets from customer nodes and tunneling them tagged over provider network.

Router 1

Building configuration...

Current configuration : 151 bytes

!

interface GigabitEthernet0/1 negotiation auto

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

!

!

interface GigabitEthernet0/7 negotiation auto

service instance 10 ethernet

encapsulation dot1q 100

rewrite ingress tag pop 1 symmetric bridge-domain 20

!

end

Router 2

Current configuration : 170 bytes

!

interface GigabitEthernet0/7

 

 

 

negotiation auto

 

 

 

 

 

service instance

20 ethernet

 

 

 

encapsulation dot1q 100

 

 

 

rewrite ingress

tag pop 1 symmetric

 

 

 

bridge-domain 30

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

35-12

 

 

OL-23826-09

 

 

 

 

 

Page 704
Image 704
Cisco Systems A9014CFD manual Router, 35-12