H3C S6550X-HI Series Command Reference Manual page 2317

Table of Contents

Advertisement

Usage guidelines
This command enables the device to output logs for the IKE negotiation process.
Examples
# Enable logging for IKE negotiation.
<Sysname> system-view
[Sysname] ike logging negotiation enable
ike nat-keepalive
Use
ike nat-keepalive
Use
undo ike nat-keepalive
Syntax
ike nat-keepalive seconds
undo ike nat-ke
Default
The NAT keepalive interval is 20 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
: Specifies the NAT keepalive interval in seconds, in the range of 5 to 300.
seconds
Usage guidelines
This command takes effect only for a device that resides in the private network behind a NAT
gateway. The device behind the NAT gateway needs to send NAT keepalives to its peer to keep the
NAT session alive, so that the peer can access the device.
The NAT keepalive interval must be shorter than the NAT session lifetime.
Examples
# Set the NAT keepalive interval to 5 seconds.
<Sysname> system-view
[Sysname] ike nat-keepalive 5
ike profile
Use
ike profile
profile.
Use
undo ike profile
Syntax
ike profile profile-name
undo ike profile profile-name
Default
No IKE profiles exist.
to set the NAT keepalive interval.
to restore the default.
e
palive
to create an IKE profile and enter its view, or enter the view of an existing IKE
to delete an IKE profile.
23

Advertisement

Table of Contents
loading

Table of Contents