Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear tcp-forwarding statistics

Syntax

Description

Clear the statistics displayed by the show tcp-forwarding status command. You can clear statistic for all TCP mappings, for all connections associated with a specific listening port/listening address combination, or for only a single connection pair represented by a specific source address/source port combination. For either combination, you can optionally specify a routing instance. If you do not specify a routing instance, the default routing instance is assumed.

Options

listening-address ipv4-listening-address

IPv4 address that is part of a listening port/listening address combination. The listening address is one on the BNG that external management systems or remote devices must use when attempting to trigger connections on the listening port. You must also specify a listening port.

listening-port port-number

Port number that is part of a listening port/listening address combination. The listening port is one that the BNG monitors for connections to be triggered by external management systems or remote devices.

  • Range: 8000 through 8031

source-address source-ipv4-address

Source address of the triggering entity—the remote device or external management system—that appear in the TCP header.

source-port source-port-number

Source port of the triggering entity—the remote device or external management system—that appear in the TCP header.

  • Range: 1 through 65,535

routing-instance routing-instance-name

Name of the routing instance for the TCP mapping.

Required Privilege Level

view

Output Fields

When you enter this command, you are not provided feedback on the status of your request.

Sample Output

clear tcp-forwarding statistics (Listening Port and Address)

The following sample output displays the TCP connection status for a specific listening port/address combination before and after the connection is cleared.

clear tcp-forwarding statistics (Source Address and Port)

The following sample output displays the TCP connection status before and after the connection is cleared.

Release Information

Command introduced in Junos OS Release 18.3R1.