Configuring Port Attributes
To display port numbering on white box Netvisor OS platforms, use the bezel-portmap-show command:
CLI network-admin@Leaf1 > bezel-portmap-show
switch port bezel-intf
-------------- ---- ----------
Leaf1 1 1
Leaf1 2 2
Leaf1 3 3
Leaf1 4 4
Leaf1 5 5
Leaf1 49 49
Leaf1 50 49.2
Leaf1 51 49.3
Leaf1 52 49.4
Leaf1 53 50
Leaf1 54 50.2
Leaf1 55 50.3
Leaf1 56 50.4
By default, ports on the switches are configured as 40GbE ports. You can also use them as 4 x 10GbE with the right transceiver. To refer to the 40Gb port, use the last port number of the port group. For example, the first 40Gb port, in the example above, is referred to as port 49 for 40GbE use and as ports 49, 50, 51, and 52 for 4/10Gb use.
If you want to change the 40Gb port to 4x10Gb functionality, use the following command sequence:
CLI network-admin@Leaf1 > port-config-modify port 49-52 speed 10g
To change the port back to 40Gb operation, use the following command sequence:
CLI network-admin@Leaf1 > port-config-modify port 49 speed 40g
The default port speed is 10G and you can modify the parameters of a port:
Speed - you can disable the port or set the speed to 10m, 100m, 1g, 2.5g, 10g, or 40g
Egress rate — limit the egress rate or set to unlimited.
Ethernet mode type — set the mode type to 1000base-x, sgmii, autonegotiate
Enable or disable a port
LACP priority — between 1 and 65535
Reflect — received frames are reflected for loopback testing.
Edge-switch — Specify if the port connects to another Netvisor OS device or is an uplink to a third-party switch or host.
Pause — pause traffic on the port.
Description — description of the port
Loopback — specify loopback
Mirror-receive — receive mirrored traffic only.
MAC address — specify a MAC address for the port.
VLAG failover — specify if the port is used in VLAG failover.
Sending port number — specify if the port number is sending traffic.