Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    show services flows (Aggregated Multiservices)

    Syntax

    show services flows <brief | extensive | terse><application-protocol protocol><count> <destination-port destination-port><destination-prefix destination-prefix><interface interface-name><limit number><protocol protocol><service-set service-set><source-port source-port><source-prefix source-prefix>

    Release Information

    Command introduced in Junos OS Release 9.5.

    Support for aggregated multiservices (AMS) introduced in Junos OS Mobility Release 11.2W.

    Description

    Display the flow session table entries for the active members of the AMS interface for services applications.

    Options

    none

    Display standard information about all flows.

    brief | extensive | terse

    (Optional) Display the specified level of output.

    application-protocol

    (Optional) Display information about one of the following application protocols:

    • ftp—File Transfer Protocol
    • icmp—Internet Control Message Protocol
    • pptp—Point-to-Point Tunneling Protocol
    • rtsp—Real-Time Streaming Protocol
    • sqlnet—SQL *Net
    • tcp—Transmission Control Protocol
    • traceroute—Traceroute
    • tftp—Trivial File Transfer Protocol
    • udp—User Datagram Protocol
    count

    (Optional) Display a count of the total number of flows of the service sets in each member interface of the AMS.

    destination-port destination-port

    (Optional) Display information for the specified destination port. The range is from 0 through 65,535.

    destination-prefix destination-prefix

    (Optional) Display information for the specified destination prefix.

    interface interface-name

    (Optional) Display information about the specified interface. The interface-name is in the format ms-fpc/pic/port.

    limit number

    (Optional) Restrict the maximum number of entries displayed to the specified limit.

    protocol protocol

    (Optional) Display information about one of the following IP types:

    • number—Numeric protocol value from 0 through 255
    • ah—IPsec Authentication Header protocol
    • egp—Exterior gateway protocol
    • esp—IPsec Encapsulating Security Payload protocol
    • gre—Generic routing encapsulation protocol
    • icmp—Internet Control Message Protocol
    • icmp6—Internet Control Message Protocol version 6
    • igmp—Internet Group Management Protocol
    • ipip—IP-over-IP encapsulation protocol
    • ospf—Open Shortest Path First protocol
    • pim—Protocol Independent Multicast protocol
    • rsvp—Resource Reservation Protocol
    • sctp—Stream Control Transmission protocol
    • tcp—Transmission Control Protocol
    • udp—User Datagram Protocol
    service-set service-set

    (Optional) Display information for the specified service set.

    source-port source-port

    (Optional) Display information for the specified source port. The range is from 0 through 65,535.

    source-prefix source-prefix

    (Optional) Display information for the specified source prefix.

    Required Privilege Level

    view

    List of Sample Output

    show services flows interface ams0
    show services flows count interface ams0

    Output Fields

    Table 1 lists the output fields for the show services flows (aggregated multiservices) command. Output fields are listed in the approximate order in which they appear.

    Table 1: show services flows Output Fields

    Field Name

    Field Description

    Level of Output

    Interface

    Name of the interface.

    All levels

    Service set

    Name of a service set. Individual empty service sets are not displayed. If no service set has any flows, a flow table header is displayed for each service set.

    All levels

    Flow Count

    Number of flows in a session.

    count only

    Flow or Flow Prot

    Protocol used for this flow.

    All levels

    Source

    Source prefix of the flow in the format source-prefix:port. For ICMP flows, port information is not displayed.

    All levels

    Dest

    Destination prefix of the flow. For ICMP flows, port information is not displayed.

    All levels

    State

    Status of the flow:

    • Drop—Drop all packets in the flow without response.
    • Forward—Forward the packet in the flow without looking at it.
    • Reject—Drop all packets in the flow with response.
    • Watch—Inspect packets in the flow.

    All levels

    Dir

    Direction of the flow: input (I) or output (O).

    All levels

    Frm count

    Number of frames in the flow.

    All levels

    Byte count

    Number of bytes in the flow.

    extensive

    Flow role

    Flow role.

    extensive

    Timeout

    Timeout value.

    extensive

    Flow path

    Flow path: symmetric or asymmetric.

    extensive

    Sample Output

    show services flows interface ams0

    user@host> show services flows interface ams0
    Interface: mams-4/0/0, Service set: Src_static
    Flow                                                State    Dir       Frm count
    TCP      150.10.10.129:39249 ->    160.10.10.2:21    Forward  I              11
    TCP        160.10.10.2:21    ->      50.1.8.11:1092  Forward  O              10
    TCP      150.10.10.213:38676 ->   160.10.10.23:21    Forward  I              11
    TCP       160.10.10.23:21    ->     50.1.7.111:1089  Forward  O              10
    TCP       150.10.10.63:38570 ->    160.10.10.6:21    Forward  I              11
    TCP        160.10.10.6:21    ->      50.1.7.80:1087  Forward  O              10
    TCP      150.10.10.146:38040 ->    160.10.10.7:21    Forward  I              11
    TCP        160.10.10.7:21    ->     50.1.6.177:1088  Forward  O              10
    TCP      150.10.10.195:37791 ->   160.10.10.10:21    Forward  I              11
    TCP       160.10.10.10:21    ->      50.1.6.92:1091  Forward  O              10
    TCP       150.10.10.98:37771 ->    160.10.10.3:21    Forward  I              11
    TCP        160.10.10.3:21    ->      50.1.6.83:1090  Forward  O              10
    TCP      150.10.10.193:37717 ->    160.10.10.5:21    Forward  I              11
    TCP        160.10.10.5:21    ->      50.1.6.65:1089  Forward  O              10
    TCP       150.10.10.10:37711 ->   160.10.10.20:554   Forward  I               9
    [...output truncated...]
    
    Interface: mams-5/0/0, Service set: Src_static
    Flow                                                State    Dir       Frm count
    TCP       150.10.10.64:12996 ->   160.10.10.97:21    Forward  I              11
    TCP       160.10.10.97:21    ->    50.1.99.124:1091  Forward  O              10
    TCP       150.10.10.86:12701 ->   160.10.10.29:21    Forward  I              11
    TCP       160.10.10.29:21    ->     50.1.99.36:1091  Forward  O              10
    TCP       150.10.10.22:12040 ->   160.10.10.28:21    Forward  I              11
    TCP       160.10.10.28:21    ->     50.1.98.76:1092  Forward  O              10
    TCP      150.10.10.149:11628 ->   160.10.10.34:21    Forward  I              11
    TCP       160.10.10.34:21    ->    50.1.97.194:1094  Forward  O              10
    TCP      150.10.10.104:11436 ->   160.10.10.24:21    Forward  I              11
    TCP       160.10.10.24:21    ->    50.1.97.124:1092  Forward  O              10
    TCP       150.10.10.50:11397 ->   160.10.10.11:21    Forward  I              11
    TCP       160.10.10.11:21    ->    50.1.97.111:1093  Forward  O              10
    TCP       150.10.10.81:11076 ->    160.10.10.4:21    Forward  I              11
    TCP        160.10.10.4:21    ->    50.1.96.246:1095  Forward  O              10
    
    [...output truncated...]
    

    show services flows count interface ams0

    user@host> show services flows count interface ams0
    Interface   Service set                                              Flow count
    mams-4/0/0  Src_static                                                     2158
    mams-4/1/0  Src_static                                                        0
    mams-5/0/0  Src_static                                                     1630
    
    

    Published: 2011-11-22