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

How to Configure Layer 2 Control Protocol Peering, Forwarding, and Tunneling

4.service instance id ethernet

5.encapsulation encapsulation-type

6.l2protocol tunnel [protocol]

7.bridge-domain bridge-id

DETAILED STEPS

 

Command

Purpose

 

 

 

Step 1

enable

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

Router> enable

 

 

 

 

Step 2

configure terminal

Enters global configuration mode.

 

Example:

 

 

Router# configure terminal

 

 

 

 

Step 3

interface type number

Specifies an interface type and number and enters interface

 

 

configuration mode.

 

Example:

 

 

Router(config)# interface gigabitethernet

 

 

0/4

 

 

 

 

Step 4

service instance id ethernet

Configure an Ethernet service instance on an interface.

 

 

id—Integer that uniquely identifies a service instance on an

 

Example:

interface.

 

Router(config-if)# service instance 9

 

 

ethernet

 

 

 

 

Step 5

encapsulation encapsulation-type

Sets the encapsulation method used by the interface.

 

 

encapsulation type—Type of encapsulation to be used.

 

Example:

 

 

Router(config-if-srv)# encapsulation

 

 

untagged

 

 

 

 

Step 6

l2protocol tunnel [protocol]

Configures transparent Layer 2 protocol tunneling on the interface

 

 

for the specified Layer 2 protocol.

 

Example:

protocol—(Optional) The protocol to be used. The options are:

 

Router(config-if-srv)# l2protocol tunnel cdp

cdp, dtp, lacp, lldp, stp,and vtp.

 

 

 

Step 7

bridge-domain bridge-id

Binds a service instance to a bridge domain instance.

 

 

bridge-id—Identifier for the bridge domain instance.

 

Example:

 

 

Router(config-if-srv)# bridge-domain 9

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

35-8

OL-23826-09

Page 700
Image 700
Cisco Systems A9014CFD manual L2protocol tunnel protocol Bridge-domain bridge-id, 35-8