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

Configuration Examples

Associated Interface: GigabitEthernet0/4

Associated EVC:

L2protocol tunnel

CE-Vlans:

Encapsulation: untagged

Interface Dot1q Tunnel Ethertype: 0x8100

State: Up

EFP Statistics:

Pkts In Bytes In Pkts Out Bytes Out 0 0 0 0

EFP Microblocks:

****************

Microblock type: Bridge-domain

Bridge-domain: 9

Configuration Examples

This section provides sample configuration examples for Layer 2 Control Protocol Peering, Forwarding, and Tunneling feature on the Cisco ASR 901 Routers.

Example: Configuring Layer 2 Peering, page 35-10

Example: Configuring Layer 2 Forwarding, page 35-10

Example: Configuring Layer 2 Tunneling, page 35-11

Example: Configuring Layer 2 Peering

The following is a sample configuration of layer 2 peering.

!

interface GigabitEthernet0/0 negotiation auto

l2proto-forward tagged -- forwards all tagged frames, and drops untagged frames cdp enable

service instance 9 ethernet encapsulation dot1q 9

rewrite ingress tag pop 1 symmetric bridge-domain 9

!

service instance 99 ethernet encapsulation untagged

l2protocol peer cdp lldp -- peers lldp and cdp bridge-domain 99

!

!

Example: Configuring Layer 2 Forwarding

The following is a sample configuration of layer 2 protocol forwarding at untagged EFP.

Building configuration...

Current configuration : 267 bytes

!

interface Port-channel1

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

35-10

OL-23826-09

Page 702
Image 702
Cisco Systems A9014CFD manual Example Configuring Layer 2 Peering, Example Configuring Layer 2 Forwarding, 35-10