Display IPFIX Flows

About this task

Use the following procedure to display information about IPFIX flows. You can display information for all IPFIX flows, or you can specify a single IPFIX flow and display additional information about that flow.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display information about all IPFIX flows:

    show ip ipfix flows

  3. Display information about an IPFIX flow learned on an ingress port:
    Note

    Note

    This step only applies to VSP 7400 Series.

    show ip ipfix flows source-addr {A.B.C.D} dest-addr {A.B.C.D} source-port <1-65535> dest-port <1-65535> protocol {udp|tcp} in-port <rx-nni | {slot/port[/sub-port]}>

  4. Display information about an IPFIX flow learned on an ingress VRF:
    Note

    Note

    This step only applies to 5520 Series.

    show ip ipfix flows source-addr {A.B.C.D} dest-addr {A.B.C.D} source-port <1-65535> dest-port <1-65535> protocol {udp|tcp} in-vrf <0-511> {in-vlan <1-4095> | untagged} ip-ttl <0-255>

Example

Display all IPFIX flows:

Switch:1>show ip ipfix flows
==========================================================================================
                                  IPFIX Flows
==========================================================================================
Source           Destination      Source   Destination   Protocol   In
IP               IP               Port     Port                     Port
------------------------------------------------------------------------------------------
192.0.2.1        198.51.100.1     63       63            UDP        1/17
203.0.113.2      203.0.113.1      63       63            UDP        RX-NNI

Display information about a specific IPFIX flow:

Switch:1>#show ip ipfix flows source-addr 203.0.113.2 dest-addr 203.0.113.1 s 63 d 63 p udp in-port rx-nni
==========================================================================================
                                  IPFIX Flows
==========================================================================================
Source IP/       Src Port/   Protocol/   Start Time/                       Byte Count/
Destination IP   Dest Port   In Port     Observation Time                  Packet Count
------------------------------------------------------------------------------------------
203.0.113.2      63          UDP         Tue Apr 09 06:48:57 2019 UTC      352376
203.0.113.1      63          RX-NNI      Tue Apr 09 06:49:49 2019 UTC      5182

Variable Definitions

The following table defines parameters for the show ip ipfix flows command.

Variable

Value

dest-addr {A.B.C.D}

Specifies an IP address for the flow destination.

dest-port <1-65535>

Specifies a value for the destination port.

in-port <rx-nni | {slot/port[/sub-port]}>

Note:

Exception: only supported on VSP 7400 Series.

Specifies the port that learns the flow.

in-vlan <1-4095>

Note:

Exception: only supported on 5520 Series.

Specifies an ingress VLAN ID for the flow.

in-vrf <0-511>

Note:

Exception: only supported on 5520 Series.

Specifies an ingress VRF ID for the flow.

ip-ttl <0-255>

Note:

Exception: only supported on 5520 Series.

Specifies the IP time-to-live (TTL) for the flow.

protocol {udp|tcp}

Specifies the transport protocol.

source-addr {A.B.C.D}

Specifies an IP address for the flow source.

source-port <1-65535>

Specifies a value for the source port.

untagged

Note:

Exception: only supported on 5520 Series.

Specifies ingress untagged flows.