flow-table-show

This command is used to display information about traffic flows on the switch.

Syntax   flow-table-show [name name-string] [id id-number] [hw-id hw-id-number] [flow-name flow-name-string] [flow-tbl-id] [flow-hw-id flow-hw-id-number]

name name-string

Specifies the name of the traffic flow

id id-number

Specifies the identifier of the traffic flow

hw-id hw-id-number

Specifies the identifier of the hardware source

flow-name flow-name-string

Specifies the name of the traffic flow type

flow-tbl-id

Specifies the identifier for the traffic flow table

flow-hw-id flow-hw-id-number

Specifies the identifier of the hardware flow source

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

History   Command introduced in nvOS Version 1.2.1.

Version 1.2

Command introduced.

Version 2.3.2

The parameter, flow-id flow-id, deprecated.

Usage   Each switch is built with a datapath ASIC inside and contains a set of hardware flow tables for traffic forwarding. Use this command to display flows as they are currently programmed in each of the hardware flow tables.

Examples  To display the flows, use the following command:

CLI (network-admin@pleiades25) > flow-table-show layout vertical

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  Martian-L2-Check

flow-id:    2

flow-hw-id: 1048578

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  Martian-IP4-L3-Check

flow-id:    3

flow-hw-id: 1048579

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  Martian-IP6-L3-Check

flow-id:    4

flow-hw-id: 1048580

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  STP-FLOW

flow-id:    5

flow-hw-id: 3145733

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  PVST-FLOW

flow-id:    6

flow-hw-id: 1048582

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  LLDP-NB-Flow

flow-id:    7

flow-hw-id: 1048583

switch:     pleaides24

name:       Switch System Table - L2 to L4

id:         2

hw-id:      33

flow-name:  LLDP-NONTPMR-Flow

flow-id:    8

flow-hw-id: 1048584

flow-hw-id: 1048585