Configuring Ports for Virtual Wire Mode

By default, all 10Gb switch ports are configured for 10Gb Ethernet speed.

In 10Gb Ethernet mode, SFP+ or QSFP+ transceivers are required to connect to hosts or other switches. If you change the port speed to 1 Gigabit Ethernet, you need SFP transceivers to plug into the ports. You must also enable jumbo frames for the port.

To modify the ports to 1Gb speed and enable auto-negotiation, use the following syntax:

port-config-modify port 1-8 speed 1g autoneg jumbo


 

Informational Note:  Jumbo frames are disabled by default, but Virtual Wire links support any frame size.

port/port-configs/1-8/

{

 "speed": "1g",

 "autoneg": "autoneg",

}

 

To display port configuration information, use the port-config-show command. To see all output, add the parameters format all layout vertical. Using the vertical layout displays the information in a more readable format:

CLI network-admin@Leaf1 > port-config-show port 1 format all layout vertical

switch:                vw-switch01

intf:                  1

port:                  1

speed:                 1g

egress-rate-limit:     unlimited

autoneg:               on

jumbo:                 on

enable:                on

lacp-priority:         32768

lacp-individual:       none

stp-port-cost:         2000

stp-port-priority:     128

reflect:               off

edge-switch:           no

pause:                 no

description:           

loopback:              default

mirror-only:           off

lport:                 1

rem-rswitch-port-mac:  00:00:00:00:00:00

rswitch-default-vlan:  0

port-mac-address:      06:a0:00:02:40:1e

send-port:             0

routing:               yes

host-enable:           yes

/port-configs/1

To display the port status, use the port-show command. Your output looks similar to the following:

CLI network-admin@Leaf1 > port-show format all layout vertical

switch:           pubdev02

port:             47

ip:               192.168.42.30

mac:              64:0e:94:28:03:56

hostname:         pubdev03

status:           up,PN-fabric,LLDP

lport:            47

rport:            47

config:           fd,10g

trunk:            trunk2

switch:           pubdev02

port:             48

ip:               192.168.42.30

mac:              64:0e:94:28:03:56

hostname:         pubdev03

status:           up,PN-fabric,LLDP

lport:            48

rport:            48

config:           fd,10g

trunk:            trunk2

/ports

To display all details about ports, use the port-phy-show command:

CLI network-admin@Leaf1 > port-phy-show format all layout vertical

switch:       pubdev02

port:         25

state:        up

autoneg:      none

speed:        10000

eth-mode:     10Gbase-cr

max-frame:    1540

link-quality: great (59/41)

learning:     off

def-vlan:     1

dfe-mode:     continuous

dfe-coarse:   complete

dfe-fine:     complete

switch:       pubdev02

port:         26

state:        up

autoneg:      none

speed:        10000

eth-mode:     10Gbase-cr

max-frame:    1540

link-quality: good (57/38)

learning:     off

def-vlan:     1

dfe-mode:     continuous

dfe-coarse:   complete

dfe-fine:     complete

/port-phys


 

Informational Note:  The columns def-vlan, max-frame, and learning display default fixed values because regular switching is disabled on the ports.


 

Informational Note:  Link-quality information is only available when a 10Gbps transceiver is installed in a port.

To display the transceivers connected to the ports, use the port-xcvr-show command:

CLI network-admin@Leaf1 > port-xcvr-show port 1-4

switch   port vendor-name      part-number  serial-number supported

-------- ---- ---------------- ------------ ------------- ---------

pubdev02 1    PluribusNetworks SFP10-CU0P5M Y05B200393    Yes

pubdev02 2    PluribusNetworks SFP10-CU0P5M Y05B200747    Yes

pubdev02 3    PluribusNetworks SFP10-CU0P5M Y05B200413    Yes

pubdev02 4    PluribusNetworks SFP10-CU0P5M Y05B200804    Yes

 

/port-xcvrs


 

Informational Note:  Each port has a LED indicator light that displays status information about the port. If the LED is solid green, the port is enabled. If the LED is green and blinking rapidly then the port is at 80% of the throughput capacity.