ip protocol
ip protocol
To configure the Layer 2 Tunnel Protocol (L2TP) or Universal Tunnel Interface (UTI) as the IP protocol
used for tunneling packets in a Layer 2 PW, use the ip protocol command in the pseudowire-class
configuration mode. To remove the IP protocol configuration, use the no form of this command.
Syntax Description
l2tp
uti
udp
Defaults
The default IP protocol is L2TP.
Command Modes
Pseudowire-class configuration
Command History
Release
12.0(23)S
12.3(2)T
12.4(12)MR2
Usage Guidelines
The ip protocol uti command is not supported on the Cisco 3825 router. You can use the ip protocol
command only if you have already entered the encapsulation l2tpv3 command.
Examples
The following example shows how to configure l2tp as the IP protocol used to tunnel packets in an
L2TPv3 PW created from the pseudowire-class named "l2tp":
Router# config t
Router(config)# pseudowire-class l2tp
Router(config-pw-class)# encapsulation l2tpv3
Router(config-pw-class)# ip protocol l2tp
Router(config-pw-class)# exit
Router(config)# exit
Related Commands
Command
pseudowire-class
Cisco 3825 Mobile Wireless Edge Router Software Configuration Guide
A-40
ip protocol {l2tp | uti | udp}
no ip protocol {l2tp | uti | udp}
(Default) Configures L2TP as the IP protocol used to tunnel packets in a
Layer 2 PW.
Configures UTI as the IP protocol used to tunnel packets in a Layer 2 PW
and allows a router running L2TPv3 to interoperate with a peer running UTI.
Configures UDP as the IP protocol used to tunnel packets in a Layer 2 PW.
Modification
This command was introduced.
This command was integrated into Cisco IOS Release 12.3(2)T.
This command was integrated into Cisco IOS Release 12.4(12)MR2.
Appendix A
Cisco 3825 Mobile Wireless Edge Router RAN-O Command Reference
Description
Specifies the name of an L2TP pseudowire-class and enters
pseudowire-class configuration mode.
OL-15667-03