The virtual Ethernet switches of a managed system can be displayed using the command “ms lsvswitch” (list virtual switch):
$ ms lsvswitch ms03
NAME VSWITCH SWITCH_MODE VLAN_IDS
ms03 ETHERNET0(Default) VEB 1,100,150,200,250,300,900,950
$
To add another virtual Ethernet switch, the command “ms addvswitch” (add virtual switch) can be used:
$ ms addvswitch ms03 ETHNAS
$
A new virtual Ethernet switch initially has no VLAN IDs assigned:
$ ms lsvswitch ms03
NAME VSWITCH SWITCH_MODE VLAN_IDS
ms03 ETHERNET0(Default) VEB 1,100,150,200,250,300,900,950
ms03 ETHNAS VEB none
$
When creating a virtual Ethernet adapter, the “-s” option can be used to specify the virtual Ethernet switch to which the adapter is to be connected. By default, this is the default switch with the name ETHERNET0.
$ lpar addeth -s ETHNAS aix22 9 700
$
The port VLAN ID specified for the virtual Ethernet adapter is listed among the supported VLAN IDs of the virtual switch ETHNAS:
$ ms lsvswitch ms03
NAME VSWITCH SWITCH_MODE VLAN_IDS
ms03 ETHERNET0(Default) VEB 1,100,150,200,250,300,900,950
ms03 ETHNAS VEB 700
$
You must be logged in to post a comment.