Cisco Systems A9014CFD Router User Manual


 
35-5
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 35 Layer 2 Control Protocol Peering, Forwarding, and Tunneling
How to Configure Layer 2 Control Protocol Peering, Forwarding, and Tunneling
DETAILED STEPS
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.
Command Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface
type number
Example:
Router(config)# interface gigabitethernet
0/6
Specifies an interface type and number and enters interface
configuration mode.
Step 4
service instance
id
ethernet
Example:
Router(config-if)# service instance 20
ethernet
Configures an Ethernet service instance on an interface.
id—Integer that uniquely identifies a service instance on an
interface.
Step 5
encapsulation
encapsulation-type
Example:
Router(config-if-srv)# encapsulation
untagged
Defines the matching criteria to map untagged ingress Ethernet
frames on an interface to the appropriate service instance.
Step 6
l2protocol peer [
protocol
]
Example:
Router(config-if-srv)# l2protocol peer lacp
Configures transparent Layer 2 protocol peering on the interface for
a specified layer 2 protocol.
protocol—The protocol to be used. The options are: cdp, dtp,
lacp, lldp, stp,and vtp.
Note The peer option is not supported for DTP protocol.