Enabling VirtualWire Mode on a Switch


To setup a switch in VirtualWire mode, you must install the required license key by using the command:


CLI (network-admin@netvisor) > software-license-install  key key-string


as described in the Adding License Keys to Netvisor ONE section.


The following command instructs the switch to operate in VirtualWire mode and is used to enable global VirtualWire functionality on a switch:


First configure the switch as a virtual-wire bridge by using the switch-mode-modify command. For example, 


CLI(network-admin@netvisor) > switch-mode-modify switch-mode virtual-wire 


switch-mode-modify

Use this command to modify the mode of a server switch.

switch-mode store-and-forward|virtual-wire

Specify the mode of the switch. Specifying the virtual-wire keyword modifies the switch as a VirtualWire switch.


Note:  Enabling VirtualWire mode on a switch disables all the possible error-checks such as Cyclic Redundancy Check (CRC)  and Runts (Runts are very small Ethernet packets, up to 50 bytes and is caused by excessive packet collisions).  This feature also disables STP, LLDP, Layer 2 learning on all switch ports as well as processing and forwarding of BPDUs . 
Also, Jumbo frames are enabled by default on all ports in VirtualWire mode. Additionally, the regular switches function like the VLANs and vRouters are not supported anymore.


Note: When you issue the switch-mode-modify command to change the mode of the switch, expect a delay of up to 5 seconds due to the software restarting. If you are issuing the same command via REST API, you need to account for this extra delay.


To display the switch mode, use the switch-mode-show command:


CLI (network-admin@netvisor) > switch-mode-show


switch:      pn-spine1

switch-mode: virtual-wire


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south