2151

Description Use the tunnel local command to configure the local address of an IPSec tunnel.

Use the undo tunnel local command to remove the configuration.

By default, no local address is configured for an IPSec tunnel.

Note that:

This command applies to only manual IPSec policies.

The local address, if not configured, will be the address of the interface to which the IPSec policy is applied.

Related command: ipsec policy (system view).

Example # Set the local address of the IPSec tunnel to the address of Loopback0, namely 10.0.0.1.

<Sysname> system-view [Sysname] interface loopback 0

[Sysname-LoopBack0] ip address 10.0.0.1 32

[Sysname-LoopBack0] quit

[Sysname] ipsec policy policy1 100 manual [Sysname-ipsec-policy-manual-policy1-100] tunnel local 10.0.0.1

tunnel remote

Syntax tunnel remote ip-address

undo tunnel remote [ ip-address]

View IPSec policy view

Parameter ip-address: Remote address for the IPSec tunnel.

Description Use the tunnel remote command to configure the remote address of an IPSec tunnel.

Use the undo tunnel remote command to remove the configuration.

By default, no remote address is configured for the IPSec tunnel.

Note that:

This command applies to only manual IPSec policies.

If you configure the remote address repeatedly, the last one takes effect.

An IPSec tunnel is established between the local and remote ends. The remote IP address of the local end must be the same as that of the local IP address of the remote end.

Related command: ipsec policy (system view).

Page 2151
Image 2151
3Com MSR 50, MSR 30 manual Tunnel remote, 2151