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
peer
Syntax
peer { multi-subnet | single-subnet }
undo peer
View
IKE peer view
Default level
2: System level
Parameters
multi-subnet: Sets the subnet type to multiple.
single-subnet: Sets the subnet type to single.
Description
Use the peer command to set the subnet type of the peer security gateway for IKE negotiation.
Use the undo peer command to restore the default.
By default, the subnet is a single one.
Use this command to enable interoperability with a NetScreen device.
369