show tcp-forwarding status
Syntax
Release Information
Command introduced in Junos OS Release 18.3R1 on MX Series routers.
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
Range: 8000 through 8031
Required Privilege Level
view
Related Documentation
List of Sample Output
show tcp-forwarding statusshow tcp-forwarding status (Listening Port and Address)
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.
Table 1: show tcp-forwarding status Output Fields
Field Name | Field Description |
---|---|
Listening on | 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: [routing-instance-name]:ip-address:port-number The following status and statistics are displayed for the TCP listening connection:
|
Forwarding to | Routing instance, IPv4 address, and port number where the BNG is forwarding data on the TCP connection, in the following format: [routing-instance-name]:ip-address:port-number The following statistics are displayed for the TCP port forwarding connection:
|
Allowed Source Prefixes | 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. |
Connections | 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