Configuring Fabric-wide Port Associations
VirtualWire fabric enables you to automate the path discovery process across multiple VirtualWire switches than having you to manually configure the individual port associations, which is a complex, error-prone and time-consuming process.
To configure an automated end-to-end port association on all the VirtualWire switches in a fabric, you should specify the fabric topology first (see Configuring Topologies and Topology Links section) and then configure the port association path. VirtualWire fabric validates and computes the path configuration thereafter.
You can configure the port associations using the CLI commands and through RESTful API to UNUM.
You can provision automatic path configuration only on a fabric that is configured with local scope. The path computation is done locally on the switch and fabric commands executed and then the hop-by-hop port associations are configured automatically and sent to respective switches.
To create a port association path, use the command:
CLI (network-admin@netvisor) > port-association-path-create
name name-string |
Specify the name of the path |
topology topology name |
Specify the fabric topology name that was created in step 1 |
node1 fabric-node name |
Specify the name for link node 1 |
node1-port node1-port-number |
Specify the port on node 1 |
node2 fabric-node name |
Specify the name for link node 2 |
node2-port node2-port-number |
Specify the port on node 2 |
To delete an existing port association path, use the command:
CLI (network-admin@netvisor) > port-association-path-delete name name-string
To view the port association path, use the command:
CLI (network-admin@netvisor) > port-association-path-show
port-association-path-show |
Displays the port association paths |
name name-string |
Displays the path name |
topology topology name |
Displays the fabric topology name |
node1 fabric-node name |
Displays the name for link node 1 |
node1-port node1-port-number |
Displays the port on node 1 |
node2 fabric-node name |
Displays the name for link node 2 |
node2-port node2-port-number |
Displays the port on node 2 |
in-use yes|no |
Displays whether the topology link is in use or not |
in-path in-path-string |
Displays the topology link used by this path |
status down|up |
Displays the path status |
path path-string |
Displays the path string |
Below is an example of a sample configuration:
Create a network topology, VWtopo and add topology link between node 1: pn-vw-5, port 125 and node2: pn-lab-4, port 49. Also create another link between pn-lab-4, port 5 and pn-colo-1, port 5:
CLI (network-admin@pn-lab-4) > topology-create name VWtopo
CLI (network-admin@pn-lab-4) > topology-link-add name VWtopo node1 pn-vw-5 node1-port 125 node2 pn-lab-4 node2-port 49
CLI (network-admin@pn-lab-4) > topology-link-add name VWtopo node1 pn-lab-4 node1-port 5 node2 pn-colo-1 node2-port 5
To view the details, use the command:
CLI (network-admin@tucana-colo-4) > topology-show name VWtopo
switch name node1 node1-port node2 node2-port in-use in-path enable
--------- ------ ---------- ---------- ------------- ---------- ------ ------- ------
pn-lab-4 VWtopo pn-lab-4 5 pn-colo-1 5 no yes
pn-lab-4 VWtopo pn-vw-5 125 pn-lab-4 49 no yes
pn-vw-5 VWtopo pn-lab-4 5 pn-colo-1 5 no yes
pn-vw-5 VWtopo pn-vw-5 125 pn-lab-4 49 no yes
pn-colo-1 VWtopo pn-lab-4 5 pn-colo-1 5 no yes
pn-colo-1 VWtopo pn-vw-5 125 pn-lab-4 49 no yes
To create a port association path, use the command:
CLI (network-admin@pn-lab-4) > port-association-path-create name new topology VWTOPO node1 pn-vw-5 node1-port 2 node2 pn-colo-1 node2-port 125
Created path: pn-vw-5(2) <-> pn-vw-5(49) <-> pn-lab-4(125) <-> pn-lab-4(5) <-> pn-colo-1(5) <-> pn-colo-1(125)
To view the topology link details, use the command:
CLI (network-admin@pn-vw-5*) > topology-link-show
name node1 node1-port node2 node2-port in-use in-path enable
------ -------- ----------- --------- ---------- ------ ------- ------
VWTOPO pn-vw-5 49 pn-lab-4 125 yes new yes
VWTOPO pn-lab-4 5 pn-colo-1 5 yes new yes
To view the port association details, use the command:
CLI (network-admin@pn-vw-5*) > port-association-path-show
name topology node1 node1-port node2 node2-port status
---- -------- ------- ---------- --------- ---------- ------
new VWTOPO pn-vw-5 2 pn-colo-1 125 up