This command is used to display port associations.

Syntax   port-association-show name name-string master-ports port-list slave-ports port-list [virtual-wire|no-virtual-wire] [bidir|no-bidir] [policy all-masters|any-master] [monitor-ports port-list]

name name-string

Specify a name for the port association.

master-ports port-list

Specify a list of ports to act as master ports.

slave-ports port-list

Specify a list of ports to act as slave ports.

policy all-masters|any-master

Specify a policy for the port association.


Specify if you want the associated ports to form a “virtual wire”. Once you put the switch into virtual wire mode, you disable all other features on the switch.


Specify if you want the port state tracking to be bi-directional or not.

monitor-ports port-list

Specify a list of ports not used by port association to monitor.


Specify if you want to enable port association in hardware.

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.


Display output in ascending order.


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.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


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


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


Display integer values instead of mapped values


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

Access   CLI

History   C

Version 2.2.6

Command introduced.

Version 2.4

The parameter, virtual-wire, and bidir added.

Version 2.5.2

The parameter, monitor-ports port-list, added.

Version 3.0.0

The parameter, enable, added.

Usage   Use this command to display port associations.

Examples  To display a port association, ports-assoc, with a master port list of ports 11-12, and slave port list of 45-46, use the following command:

CLI network-admin@switch > port-association-show name ports-assoc

See Also