show services softwire flows
Syntax
show services softwire flows (<interface interface-name> <service-set service-set-name>| count <interface interface-name> <service-set service-set-name>| ds-lite <B4 b4-address> <AFTR aftr-address>| v6rd <initiator initiator-ip-address><concentrator concentrator-ip-address>)
Description
Display statistics information about the softwire flows.
Starting with Junos OS Release 14.1R4, the IPv6 prefix
length associated with a subscriber’s basic broadband bridging
device that is subject to a limited number of sessions (dslite-ipv6-prefix-length
attribute) is taken into account while the session count is calculated
and displayed in the output of the show services softwire flows command.
Until Junos OS Release 14.1R3, only IPv4 flows were counted and IPv6
flows were not considered for the statistics about softwire flows
Options
interface interface-name | (Optional) Display statistics information about the specified interface only. |
service-set service-set-name | (Optional) Display statistics information about the specified service set only. |
count <interface interface-name> <service-set service-set-name>| | (Optional) Display flow count information only, with optional filtering by interface and service set. |
ds-lite <B4 b4-address> <AFTR aftr-address>| | (Optional) Display DS-Lite flow information, with optional filtering by B4 (softwire initiator) and AFTR (softwire concentrator). |
v6rd <initiator initiator-ip-address><concentrator concentrator-ip-address>) | (Optional) Display v6rd flow information, with optional filtering by the softwire initiator and softwire concentrator. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show services softwire
flows
command. Output fields are listed in the approximate order
in which they appear.
Field Name |
Field Description |
---|---|
|
Name of the interface. |
|
Name of the service set. |
|
Description of flow, including protocol input and output interface addresses. |
|
Flow state. Value is:
|
|
Flow direction. Values are:
|
|
Number of frames transferred. |
|
NAT translation of the decapsulated address. |
|
For outbound flows, the address of the local softwire initiator (B4 for DS-Lite) is shown first, followed by the address of the softwire concentrator (AFTR for DS-Lite). For inbound flows, the address of the software concentrator is shown first, followed by the address of the softwire initiator. |
Sample Output
- show services softwire flows
- show services softwire flows count
- show services softwire flows ds-lite B4
- show services softwire flows ds-lite AFTR
- services softwire flows ds-lite AFTR and B4
- show services softwires softwire-types map-e
show services softwire flows
user@host> show services softwire flows Interface: sp-0/0/0, Service set: dslite-svc-set1 Flow State Dir Frm count TCP 200.200.200.2:80 -> 33.33.33.1:1066 Forward O 2005418 NAT dest 33.33.33.1:1066 -> 20.20.1.2:1025 Softwire 1001::1 -> 2001::2 TCP 20.20.1.2:1025 -> 200.200.200.2:80 Forward I 2007168 NAT source 20.20.1.2:1025 -> 33.33.33.1:1066 Softwire 2001::2 -> 1001::1 TCP 20.20.1.2:1025 -> 200.200.200.2:80 Forward I 2635998 NAT source 20.20.1.2:1025 -> 33.33.33.1:1065 Softwire 2001::3 -> 1001::1 DS-LITE 2001::2 -> 1001::1 Forward I 2008157 TCP 200.200.200.2:80 -> 33.33.33.1:1065 Forward O 2637909 NAT dest 33.33.33.1:1065 -> 20.20.1.2:1025 Softwire 1001::1 -> 2001::3 DS-LITE 2001::3 -> 1001::1 Forward I 2640499
show services softwire flows count
user@host> show services softwire flows count Interface Service set Flow count sp-0/0/0 dslite-svc-set1 6
show services softwire flows ds-lite B4
user@host> show services softwire flows ds-lite B4 2001::2 Interface: sp-0/0/0, Service set: dslite-svc-set1 Flow State Dir Frm count TCP 200.200.200.2:80 -> 33.33.33.1:1066 Forward O 2884037 NAT dest 33.33.33.1:1066 -> 20.20.1.2:1025 Softwire 1001::1 -> 2001::2 TCP 20.20.1.2:1025 -> 200.200.200.2:80 Forward I 2885884 NAT source 20.20.1.2:1025 -> 33.33.33.1:1066 Softwire 2001::2 -> 1001::1 DS-LITE 2001::2 -> 1001::1 Forward I 2886821
show services softwire flows ds-lite AFTR
user@host> show services softwire flows ds-lite AFTR 1001::1 Interface: sp-0/0/0, Service set: dslite-svc-set1 Flow State Dir Frm count TCP 200.200.200.2:80 -> 33.33.33.1:1066 Forward O 3359356 NAT dest 33.33.33.1:1066 -> 20.20.1.2:1025 Softwire 1001::1 -> 2001::2 TCP 20.20.1.2:1025 -> 200.200.200.2:80 Forward I 3361235 NAT source 20.20.1.2:1025 -> 33.33.33.1:1066 Softwire 2001::2 -> 1001::1 TCP 20.20.1.2:1025 -> 200.200.200.2:80 Forward I 4479810 NAT source 20.20.1.2:1025 -> 33.33.33.1:1065 Softwire 2001::3 -> 1001::1 DS-LITE 2001::2 -> 1001::1 Forward I 3362168 TCP 200.200.200.2:80 -> 33.33.33.1:1065 Forward O 4481520 NAT dest 33.33.33.1:1065 -> 20.20.1.2:1025 Softwire 1001::1 -> 2001::3 DS-LITE 2001::3 -> 1001::1 Forward I 4484094
services softwire flows ds-lite AFTR and B4
user@host> show services softwire flows ds-lite AFTR 1001::1 B4 2001::2 Interface: sp-0/0/0, Service set: dslite-svc-set1 Flow State Dir Frm count TCP 200.200.200.2:80 -> 33.33.33.1:1066 Forward O 3931026 NAT dest 33.33.33.1:1066 -> 20.20.1.2:1025 Softwire 1001::1 -> 2001::2 TCP 20.20.1.2:1025 -> 200.200.200.2:80 Forward I 3932792 NAT source 20.20.1.2:1025 -> 33.33.33.1:1066 Softwire 2001::2 -> 1001::1 DS-LITE 2001::2 -> 1001::1 Forward I 3933782
show services softwires softwire-types map-e
user@host> show services softwires softwire-types map-e mape-tun1 br-address 2001:db8:ffff::1/128; //Mandatory rule r1 { ipv4-prefix 192.0.2.0/24; //Mandatory ipv6-prefix 2001:db8:0000::/40; //Mandatory ea-bits-length 16; //Mandatory psid-offset 4; //Mandatory psid-len 8; } version 3;
Release Information
Command introduced in Junos OS Release 10.2.
Support added for Next Gen Services in Junos OS Release 20.2