R3303-HP HSR6800 Routers Security Command Reference

316
Default
No local address is configured for an IPsec tunnel.
Views
IPsec policy view
Default command level
2: System level
Parameters
ipv6: Specifies an IPv6 address.
ip-address: Specifies the local address for the IPsec tunnel.
Usage guidelines
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.
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.