![](/images/new-backgrounds/1149436/149436363x1.webp)
Chapter 6
Advanced Features
6.4.3 Set or modify the vpnclient parameters
modify command The ipsec peer vpnclient modify command sets or modifies the vpnclient entity parameters.
Example In this example, the parameters of the previously defined vpnclient entity , named client1, are set:
[ipsec peer vpnclient]=>modify | |
name = client1 | user1 |
[xauthuser] = | |
[xauthpass] = | ***** |
Please retype | xauthpass for verification. |
[xauthpass] = | ***** |
[clienttype] = | cisco | nortel |
generic | ||
[clienttype] = generic |
|
|
[virtualip_maptype] = | nat | dhcp |
none |
[virtualip_maptype] = none [lan_range] = 10.60.11.0/24
:ipsec peer vpnclient modify name=client1 xauthuser=user1 xauthpass=_DE V_4FDCAAB92D454D3A clienttype=generic virtualip_maptype=none lan_range= 10.60.11.0/24
[ipsec peer vpnclient]=>
Use the list command to verify the results of the operation:
[ipsec peer vpnclient]=>list |
|
[client1] | : user1 : ******** |
Xauth | |
Client Type | : generic |
Virtual IP Map Mode : none | |
Local LAN IP Range | : 10.60.11.0/24 |
[ipsec peer vpnclient]=>
180 | |
|