TMS zl Management and Configuration Guide ST.1.2.100916

A-169
Command-Line Reference
L2TP User Context
hostswitch(tms-module-<slot ID>:config)# user group
l2tpusers
hostswitch(tms-module-<slot ID>:config)# ipsec ikev1
L2tpIke
hostswitch(tms-module-<slot ID>:ikev1)# type client-to-
site local-gateway vlan 20
hostswitch(tms-module-<slot ID>:ikev1)# identities local
type ip-addr 172.16.20.103 remote type ip-addr 0.0.0.0
hostswitch(tms-module-<slot ID>:ikev1)# authentication
exchange-mode main method preshared-key
Preshared Key: passwordtestvpn
Confirm Preshared Key: passwordtestvpn
hostswitch(tms-module-<slot ID>:ikev1)# security-
proposal dh-group group2-1024 encryption 3des auth md5
sa-lifetime 28800
hostswitch(tms-module-<slot ID>:ikev1)# preview
Preview IKEv1 policy
---------------------------------------------
*Policy Name: L2tpIke
*Policy Type: Client-to-Site
*Local Gateway: VLAN 20 (VLAN20)
L2TP User—l2tpuser
Tunnel server IP address 10.100.1.1/24
Tunnel user IP address 10.100.1.80
Tunnel authentication No Authentication
Policy group name L2tpUsers
Authentication Protocol Any
User userx
Password password
Default gateway 10.100.1.1
Primary DNS server 10.1.2.100
Secondary DNS server 10.1.2.80
*Default setting that does not require configuration
Parameter TMS zl Module Setting