Displaying Global TSN Information

Displaying Global TSN Information

These commands are used to verify the IE 4000 is communicating with the CNC and to see the scheduled TSN flows on the IE 4000.

Procedure


Step 1

show tsn cnc

Example:

TSN_Switch # show tsn cnc
CNC Connection Status
----------------------------------------------------------------------
Device name:               TSN_Switch
CNC server:                2.1.28.16:4569
Last CNC Connection:       16:40:50  Thu Mar 2 2017
----------------------------------------------------------------------
This command shows the connectivity with the CNC. the CNC to switch connection is a Layer 3 connection and is not guaranteed. if you suspect that the switch and CNC have lost communication use this command to see latest connection status.
Step 2

show tsn schedule

Example:

TSN_Switch # show tsn schedule
Device   ID: TSN_Switch
Schedule ID: 1488646751 - 0x58BAF25F
Status     : TSN schedule has been programmed successfully
Use this command to show the schedule ID in use by the IE 4000. this should match the schedule ID on the CNC. If there's a mismatch, then either the latest CNC schedule has not been distributed, or the connection between the switch and CNC have been interrupted.
Step 3

show tsn flow ?

Example:

TSN_Switch # show tsn flow ?
  details  Provides detailed description of each TSN flow
  egress   TSN flows associated with all Egress Interfaces
  id       description of the flow identified flow id
  ingress  TSN flows associated with all Ingress Interfaces
  summary  Provides brief description of each TSN flow
Use these commands to see the configured flows on the switch.
Step 4

show tsn flow summary

Example:

TSN_Switch # show tsn flow summary
Flow-ID Stream-ID               DMAC           Status Ingress  Egress
------- ----------------------- -------------- ------ -------- --------
1001    flow1                   ABAD.BABE.03E9 down   Gi1/5    Gi1/4
1002    flow2                   ABAD.BABE.03EA down   Gi1/4    Gi1/5
Step 5

show tsn flow details

Example:

TSN_Switch# show tsn flow details
Flow 1001
    Stream ID : flow1
    Stream Address : ABAD.BABE.03E9
    Frame Size : 256B
    Ingress Interface : Rx Schedule
      Gi1/5: 12-26 (us)

    Egress Interface : TX Schedule
     Gi1/4: 203-217 (us)

    Period cycle time : 500 (us)
Flow 1002
    Stream ID : flow2
    Stream Address : ABAD.BABE.03EA
    Frame Size : 64B
    Ingress Interface : Rx Schedule
      Gi1/4: 242-255 (us)

    Egress Interface : TX Schedule
     Gi1/5: 280-293 (us)

    Period cycle time : 500 (us)