Tunnel Remote - HPE FlexNetwork HSR6800 Security Command Reference

Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

The local address, if not configured, will be the address of the interface to which the IPsec policy is
applied.
Examples
# Set the local address of the IPsec tunnel to the address of Loopback 0, 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
Related commands
ipsec policy (system view)

tunnel remote

Use tunnel remote to configure the remote address of an IPsec tunnel.
Use undo tunnel remote to remove the configuration.
Syntax
tunnel remote [ ipv6 ] ip-address
undo tunnel remote [ ip-address ]
Default
No remote address is configured for the IPsec tunnel.
Views
IPsec policy view
Default command level
2: System level
Parameters
ipv6: Specifies an IPv6 address.
ip-address: Specifies the remote address for the IPsec tunnel.
Usage guidelines
This command applies to only manual IPsec policies.
If you execute this command multiple times, the most recent configuration 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.
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
Related commands
ipsec policy (system view)
301

Advertisement

Table of Contents
loading

Table of Contents