nat traversal

Syntax

nat traversal

undo nat traversal

View

IKE peer view

Default level

2: System level

Parameters

None

Description

Use the nat traversal command to enable the NAT traversal function of IKE/IPsec.

Use the undo nat traversal command to disable the NAT traversal function of IKE/IPsec.

By default, the NAT traversal function is disabled.

Examples

# Enable the NAT traversal function for IKE peer peer1.

<Sysname> system-view
[Sysname] ike peer peer1
[Sysname-ike-peer-peer1] nat traversal