Enabling Nat Traversal For The Cpe - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Configuring the maximum number of connection retries
The CPE retries a connection automatically when one of the following events occurs:
The CPE fails to connect to the ACS.
The connection is disconnected before the session on the connection is completed.
The CPE considers a connection attempt as having failed when the close-wait timer expires. This
timer starts when the CPE sends an Inform request. If the CPE fails to receive a response before the
timer expires, the CPE resends the Inform request.
To configure the maximum number of connection retries that the CPE can make:
Step
1.
Enter system view.
2.
Enter CWMP view.
3.
Configure the maximum
number of connection
retries.
Configuring the close-wait timer
The close-wait timer specifies the amount of time the connection to the ACS can be idle before it is
terminated. The CPE terminates the connection to the ACS if no traffic is transmitted before the timer
expires.
The timer also specifies the maximum amount of time the CPE waits for the response to a session
request. The CPE determines that its session attempt has failed when the timer expires.
To configure the close-wait timer for the CPE:
Step
1.
Enter system view.
2.
Enter CWMP view.
3.
Set the close-wait timer.

Enabling NAT traversal for the CPE

For the connection request initiated from the ACS to reach the CPE, you must enable NAT traversal
feature on the CPE when a NAT gateway resides between the CPE and the ACS.
The NAT traversal feature complies with RFC 3489 Simple Traversal of UDP Through NATs (STUN).
The feature enables the CPE to discover the NAT gateway, and obtain an open NAT binding (a public
IP address and port binding) through which the ACS can send unsolicited packets. The CPE sends
the binding to the ACS when it initiates a connection to the ACS. For the connection requests sent by
the ACS at any time to reach the CPE, the CPE maintains the open NAT binding.
To enable NAT traversal on the CPE:
Step
1.
Enter system view.
2.
Enter CWMP view.
3.
Enable NAT traversal.
Command
system-view
cwmp
cwmp cpe connect retry times
Command
system-view
cwmp
cwmp cpe wait timeout seconds
Command
system-view
cwmp
cwmp cpe stun enable
213
Remarks
N/A
N/A
By default, the CPE retries a
failed connection until the
connection is established.
Remarks
N/A
N/A
By default, the close-wait timer is
30 seconds.
Remarks
N/A
N/A
By default, NAT traversal is
disabled on the CPE.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents