1-57
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
l2proto-forward
l2proto-forward
To configure the forwarding of tagged Layer 2 Control Packets and dropping of untagged layer 2 control
packets, use the l2proto-forward command in interface configuration mode. To delete this
configuration, use the no form of this command.
l2proto-forward tagged {cdp | dtp | lacp | lldp | stp | udld | vtp}
no l2proto-forward tagged {cdp | dtp | lacp | lldp | stp | udld | vtp}
Syntax Description
Defaults The default behavior is to peer the untagged layer 2 control packets and drop tagged layer 2 control
packets.
Command Modes Interface configuration (config-if)
Command History
Usage Guidelines Use this command to forward tagged and drop untagged layer 2 control protocol packets.
Examples The following example shows how to configure the forwarding of tagged Layer 2 Control Packets and
dropping of untagged layer 2 control packets using the l2proto-forward command.
Router# configure terminal
Router#(config) interface gigabitethernet 0/1
Router(config-if)# l2proto-forward tagged cdp
cdp Enables Cisco Discovery Protocol (CDP) tunneling.
dtp Enables Dynamic Trunking Protocol (DTP) tunneling.
lacp Enables Link Aggregration Control Protocol (LACP) tunneling.
lldp Enables Link Layer Discovery Protocol (LLDP) tunneling.
stp Enables Spanning Tree Protocol tunneling (STP).
udld Enables UniDirectional Link Detection (UDLD) protocol tunneling.
vtp Enables Vlan Trunking Protocol (VTP) tunneling.
Release Modification
15.2(2)SNG This command was introduced.