496
Examples
# Create an IPsec transform set named
tran1
and enter its view.
<Sysname> system-view
[Sysname] ipsec transform-set tran1
[Sysname-transform-set-tran1]
Related commands
display ipsec transform-set
local-address
Use
local-address
to configure the local IP address for the IPsec tunnel.
Use
undo local-address
to restore the default.
Syntax
local-address
{
ipv4-address
|
ipv6 ipv6-address
}
undo local-address
Default
The primary IPv4 address of the interface to which the IPsec policy is applied is used as the local
IPv4 address. The first IPv6 address of the interface to which the IPsec policy is applied is used as
the local IPv6 address.
Views
IPsec policy view
IPsec policy template view
Predefined user roles
network-admin
Parameters
ipv4-address
: Specifies the local IPv4 address for the IPsec tunnel.
ipv6
ipv6-address
: Specifies the local IPv6 address for the IPsec tunnel.
Usage guidelines
The remote IP address on the IKE negotiation initiator must be the same as the local address on the
IKE negotiation responder.
In a VRRP network, the local IP address must be the virtual IP address of the VRRP group to which
the IPsec-applied interface belongs.
Examples
# Configure the local address 1.1.1.1 for the IPsec tunnel.
<Sysname> system-view
[Sysname] ipsec policy map 1 isakmp
[Sysname-ipsec-policy-isakmp-map-1] local-address 1.1.1.1
Related commands
remote-address
pfs
Use
pfs
to enable the Perfect Forward Secrecy (PFS) feature for an IPsec transform set.
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...