The configuration of the L2TPv3 control plane is similar to that of L2TPv2. A number of the same commands are used for both, but there are new commands specific to L2TPv3. The L2TPv3-specific commands are located in a separate L2TPv3 context in both the general configuration area as well as within the group configuration context.
L2TPv3 control plane parameters can be configured at the global level within the config>router>l2tp context, which may include some L2TPv3-specific parameters. This should be used for parameters that are the same for the majority of L2TPv3 tunnels. The same parameters can be configured on a per-tunnel group basis. The tunnel group can be configured within either the base router context or a VPRN service context.
The following example displays an L2TPv3 tunnel group configured within the base routing context:
configure
router
l2tp
l2tpv3
cookie-length 8
digest-type sha1
nonce-length 64
transport-type ip
exit
group "base l2tpv3 left" protocol v3draft create
avp-hiding never
eth-tunnel
reconnect-timeout 60
exit
l2tpv3
pw-cap-list ethernet ethernet-vlan
password "AbkdpF.rY1FgcK4qAYmim sykdmwbAucq" hash2
exit
password "rhXAlJTUjuliBn8lVUf KJywztX9cKOEb/rbWUR/e4ow" hash2
tunnel "base l2tpv3 tunnel" create
local-address 172.16.0.100
peer 192.168.0.100
no shutdown
exit
no shutdown
exit