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

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

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/6

 

 

 

 

 

 

 

 

 

 

Step 4

service instance id ethernet

Configures an Ethernet service instance on an interface.

 

 

 

 

id—Integer that uniquely identifies a service instance on an

 

 

Example:

 

 

 

interface.

 

 

Router(config-if)# service instance 20

 

 

 

 

 

 

 

ethernet

 

 

 

 

 

 

 

 

 

 

Step 5

encapsulation encapsulation-type

Defines the matching criteria to map untagged ingress Ethernet

 

 

 

frames on an interface to the appropriate service instance.

 

 

Example:

 

 

 

 

 

 

 

Router(config-if-srv)# encapsulation

 

 

 

 

 

 

 

untagged

 

 

 

 

 

 

 

 

 

 

Step 6

l2protocol peer [protocol]

Configures transparent Layer 2 protocol peering on the interface for

 

 

 

a specified layer 2 protocol.

 

 

Example:

 

protocol—The protocol to be used. The options are: cdp, dtp,

 

 

Router(config-if-srv)# l2protocol peer lacp

 

 

 

lacp, lldp, stp,and vtp.

 

 

 

 

 

 

 

 

 

 

 

Note

 

The peer option is not supported for DTP protocol.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configuring Layer 2 Forwarding

Complete the following steps to configure layer 2 forwarding:

Restrictions

The layer 2 forwarding functionality is supported only on an untagged EFP (Only one untagged EFP exists per interface).

Forwarding functionality is not supported with dot1q VLAN range encapsulation.

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

35-5

 

 

 

 

 

Page 697
Image 697
Cisco Systems A9014CFD manual Configuring Layer 2 Forwarding, 35-5