
Chapter 4
Configuration via the Command Line Interface
4.7.4 Set or Modify the Connection Parameters
modify command The ipsec connection modify command sets or modifies the Connection parameters.
Example In this example, the parameters of the previously defined Connection, named connect1, are set:
[ipsec connection]=>modify |
| |
name = connect1 |
|
|
[peer] = peer1 |
|
|
[localnetwork] = | black_ip | net1 |
retrieve_from_server | ||
[localnetwork] = net1 |
|
|
[remotenetwork] = net2 |
|
|
[alwayson] = disabled |
|
|
[descr] = | ||
|
| |
cnctdes1 |
|
|
[descr] = cnctdes1 |
|
|
[options] = [state] = enabled
:IPSec connection modify name=connect1 peer=peer1 localnetwork=net1 rem otenetwork=net2
descr= cnctdes1 [ipsec connection]=>
Use the list command to verify the results of the operation:
[ipsec connection]=>list [connect1]
Peer | : peer1 |
Local network | : net1 |
Remote network : net2 | |
Always on | : disabled |
Descriptors | : cnctdes1 |
Options | : <unset> |
State | : enabled |
[ipsec connection]=>
147 | |
|