Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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>)

    Release Information

    Command introduced in Junos OS Release 10.2.

    Description

    Display statistics information about the 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

    List of 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

    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.

    Table 1: show services softwire flows Output Fields

    Field Name

    Field Description

    Interface

    Name of the interface.

    Service set

    Name of the service set.

    Flow

    Description of flow, including protocol input and output interface addresses.

    State

    Flow state. Value is:

    • Forward

    Dir

    Flow direction. Values are:

    • I—inbound
    • O—outbound

    Frm count

    Number of frames transferred.

    NAT dest

    NAT translation of the decapsulated address.

    Softwire

    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

    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
    

    Published: 2013-03-14