show tcp-forwarding status
Syntax
show tcp-forwarding status listening-port port-number listening-address ipv4-listening-address routing-instance routing-instance-name
Description
Display the status of TCP mapping and the current TCP connections for each mapping. You can limit the display to a specific listening port/listening address combination, per 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.
|
routing-instance routing-instance-name | Name of the routing instance for the TCP mapping. |
Required Privilege Level
view
Output Fields
Table 1 lists
the output fields for the show tcp-forwarding status
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Routing instance, IPv4 address, and port that the BNG is monitoring for connection triggers from external management systems or remote devices, in the following format:
The following status and statistics are displayed for the TCP listening connection:
|
|
Routing instance, IPv4 address, and port number where the BNG is forwarding data on the TCP connection, in the following format:
The following statistics are displayed for the TCP port forwarding connection:
|
|
IPv4 source prefixes from which the BNG can accept connection requests. Request from all other addresses are rejected. A /32 mask indicates a single acceptable address. The allowed values are compared to the source address in the TCP header from the triggering entity. |
|
Status and statistics for the configured TCP connections.
|
Sample Output
show tcp-forwarding status
user@host> show tcp-forwarding status Listening on: [default:]203.0.113.50:8000 Status: listening Total Bytes Rx: 0 Tx: 0 Forwarding to: [default:]192.0.0.2:830 Total Bytes Rx: 0 Tx: 0 Allowed Source Prefixes: 198.51.100.3/32 Connections Max: 1 Active: 1 Source: 198.51.100.3:55000 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Listening on: [default:]203.0.113.50:8001 Status: listening Total Bytes Rx: 0 Tx: 0 Forwarding to: [default:]192.0.0.3:830 Total Bytes Rx: 0 Tx: 0 Allowed Source Prefixes: 198.51.100.3/32 Connections Max: 1 Active: 1 Source: 198.51.100.3:55001 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Listening on: [default:]203.0.113.50:8002 Status: listening Total Bytes Rx: 0 Tx: 0 Forwarding to: [default:]192.0.0.4:830 Total Bytes Rx: 0 Tx: 0 Allowed Source Prefixes: 198.51.100.3/32 Connections Max: 1 Active: 1 Source: 198.51.100.3:55002 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Listening on: [default:]203.0.113.50:8003 Status: listening Total Bytes Rx: 0 Tx: 0 Forwarding to: [default:]192.0.0.5:830 Total Bytes Rx: 0 Tx: 0 Allowed Source Prefixes: 198.51.100.3/32 Connections Max: 1 Active: 1 Source: 198.51.100.3:55003 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Listening on: [default:]203.0.113.50:8020 Status: listening Total Bytes Rx: 0 Tx: 0 Forwarding to: [default:]198.51.100.1:49 Total Bytes Rx: 0 Tx: 0 Allowed Source Prefixes: 192.0.0.1/24 Connections Max: 4 Active: 4 Source: 192.0.0.2:55000 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Source: 192.0.0.3:55000 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Source: 192.0.0.4:56022 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0 Source: 192.0.0.5:55000 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0
show tcp-forwarding status (Listening Port and Address)
user@host> show tcp-forwarding status listening-port 203.0.113.50 listening-address 8002 Listening on: [default:]203.0.113.50:8002 Status: listening Total Bytes Rx: 0 Tx: 0 Forwarding to: [default:]192.0.0.4:830 Total Bytes Rx: 0 Tx: 0 Allowed Source Prefixes: 198.51.100.3/32 Connections Max: 1 Active: 1 Source: 198.51.100.3:55002 Listening: connected Bytes Rx: 0 Tx: 0 Forwarding: connected Bytes Rx: 0 Tx: 0
Release Information
Command introduced in Junos OS Release 18.3R1.