ip address
Function
The ip address command specifies the IP address of an allowed peer for IKE negotiation.
The undo ip address command deletes the IP address of an allowed peer.
By default, no IP address of allowed peer for IKE negotiation is configured.
Format
ip address ip-address { mask | mask-length }
undo ip address ip-address { mask | mask-length }
Parameters
Parameter |
Description |
Value |
---|---|---|
ip-address { mask | mask-length } | Specifies the IP address of an allowed peer.
|
|
Usage Guidelines
Usage Scenario
You can run this command to specify an allowed peer based on the IP address (configured on a remote device for establishing an IPSec tunnel) in the identity filter set for IKE negotiation.
Precautions
An IPSec tunnel can be established only when the remote end matches one or more parameters in the identity filter set and the IPSec negotiation parameters at both ends are consistent.
If you run this command in the same view multiple times, the latest configuration does not override earlier ones.