The local-address command assigns an IP address to the local end negotiating with the peer end in the IPSec policy template view.
The undo local-address command restores the default setting.
By default, the local IP address is not set.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
localaddr |
Specifies the IP address of the local peer. To reduce IP address consumption, IPsec supports the IP address unnumbered function. This address can be the same as the IP address of an Ethernet main interface or sub-interface, Eth-Trunk interface or sub-interface, VLANIF interface, tunnel interface, or loopback interface on the device. |
The value is in dotted decimal notation. |
interface |
Specifies the type and number of the interface. Ethernet, Eth-Trunk, and GE interfaces are supported. |
- |
start-vlan-id1 |
Specifies the VLAN id range. |
The value is an integer ranging from 1 to 4094. |
end-vlan-id1 |
Specifies the VLAN id range. |
The value is an integer ranging from 1 to 4094. |
start-vlan-id2 |
Specifies the VLAN id range. |
The value is an integer ranging from 1 to 4094. |
end-vlan-id2 |
Specifies the VLAN id range. |
The value is an integer ranging from 1 to 4094. |
start-vlan-id3 |
Specifies the VLAN id range. |
The value is an integer ranging from 1 to 4094. |
end-vlan-id3 |
Specifies the VLAN id range. |
The value is an integer ranging from 1 to 4094. |
The local IP address must be configured when the interface of the IPSec tunnel initiating end is configured with multiple IP addresses or the IPSec application is applied to the dual-system hot backup environment.
If the IP address of the local peer is the same as that of another interface on the device and the IPSec policy is configured on a tunnel interface, the device automatically generates the binding tunnel ipsec command configuration on the interface. This indicates that the interface has the IPSec policy bound, and therefore cannot be used for other services. After an IPSec policy is applied to an interface, you cannot run the local-address command to modify the local IP address of the IPSec policy. When different Tunnel interfaces send negotiation packets with the same IP address, the inbound interface will be used to identify the peer addressed.