This command is used to create port associations, and assign policies to them. Port association groups are used to enable switch failover. It requires a 10G link between two switches.
Caution! Using the virtual-wire parameter places the switch into the Virtual Wire mode, and disables other features on the switch. This parameter requires a license. Please contact your sales person or local partner for more information.
Syntax port-association-create
name name-string |
Specify a name for the port state 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. |
virtual-wire|no-virtual-wire |
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. |
bidir|no-bidir |
Specify if you want the port state tracking to be bi-directional or not. |
policy all-masters|any-master |
Specify a policy for the port association. The default is all-masters. |
monitor-ports port-list |
Specify a list of ports not used by port association to monitor. |
enable|no-enable |
Specify if you want to enable port association in hardware. |
Defaults None
Access CLI
History
Version 2.2.6 |
Command introduced. |
Version 2.4 |
The parameter virtual-wire, and bidir added. |
Version 2.5.2 |
The parameter monitor-ports added. |
Version 3.0.0 |
The parameter enable added. |
Usage Use this command to create port associations.
Examples To create 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-create name ports-assoc master-ports 11-12 slave-ports 45-46