You can use the ldm add-vnet and ldm set-vnet commands to set the following data link property values to tune packet throughput performance:
Specifies the CPU packet-processing priority
Specifies the IEEE 802.1p link service class of the link
Specifies packet traffic security type
For information about valid and default property values, see the ldm(1M) man page.
Example 46 Setting and Viewing Data Link Packet PropertiesThe following example shows how to use the ldm set-vnet command to set the priority, protection, and cos property values in a single command. You can also use the ldm add-vnet command to add a new virtual network that uses the specified data link property values.
primary# ldm set-vnet allowed-ips=192.168.100,1,192.168.100.2 \ allowed-dhcpcids=oracle1@system1.company.com, \ 00:14:4f:f9:d3:88,system2,00:14:4f:fb:61:6e cos=7 priority=high \ protection=restricted,mac-nospoof,ip-nospoof,dhcp-nospoof vnet3_ldg3 ldg3
The ldm list -o network command shows the data link property values on the ldg3 domain that you set with the previous ldm set-vnet command. The protection values are mac-nospoof, restricted, ip-nospoof for the 192.168.100,1,192.168.100.2 MAC address, and dhcp-nospoof for system1@company.com,00:14:4f:f9:d3:88,system2,00:14:4f:fb:61:6e. The priority is set to high and the class of service (cos) is set to 7.
primary# ldm list -o network ldg3 NAME ldg3 MAC 00:14:4f:fa:3b:49 VSW NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK ldg3_vsw1 00:14:4f:f9:65:b5 net3 0 switch@0 1 1 1500 on NETWORK NAME SERVICE ID DEVICE MAC MODE PVID VID MTU MAXBW LINKPROP vnet3 primary-vsw0@primary 0 network@0 00:14:4f:fa:47:f4 1 1500 vnet1_ldg3 primary-vsw1@primary 1 network@1 00:14:4f:fb:90:b7 1 1500 vnet2_ldg3 ldg1_vsw1@ldg1 2 network@2 00:14:4f:fb:61:6e 1 1500 vnet3_ldg3 ldg1_vsw1@ldg1 3 network@3 00:14:4f:fb:25:70 1 00:14:4f:f8:7a:8d 00:14:4f:fb:6e:32 00:14:4f:fb:1a:2f 1500 1000 PROTECTION: mac-nospoof restricted ip-nospoof/192.168.100,1,192.168.100.2 dhcp-nospoof/system1@oracle.us.oracle.com, 00:14:4f:f9:d3:88,system2,00:14:4f:fb:61:6e PRIORITY : high COS : 7