tunnel remote
Syntax
tunnel remote ip-address
undo tunnel remote [ ip-address ]
View
IPsec policy view
Default level
2: System level
Parameters
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.
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 commands: ipsec policy (system view).
Examples
# Set the remote address of the IPsec tunnel to 10.1.1.2.
<Sysname> system-view [Sysname] ipsec policy policy1 10 manual [Sysname-ipsec-policy-policy1-10] tunnel remote 10.1.1.2