Tuning Packet Throughput Performance
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:
               
- 
                        priority
- 
                     Specifies the CPU packet-processing priority 
- 
                        cos
- 
                     Specifies the IEEE 802.1p link service class of the link 
- 
                        protection
- 
                     Specifies packet traffic security type 
For information about valid and default property values, see the ldm(8) man page.
               
Example 13-12 Setting and Viewing Data Link Packet Properties
The 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-dhcp-cids=oracle@system1.company.com, \
00:14:4f:fb:22:79,system2,00:14:4f:fb:22:56 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-domain -o network ldg3
NAME
ldg3
MAC
     00:14:4f:f8:5b:12
     NAME         SERVICE                MACADDRESS PVID|PVLAN|VIDs
     ----         -------                ---------- ---------------
     vnet3_ldg3   primary-vsw0@primary   00:14:4f:f8:dd:96 1|--|--
             DEVICE     :network@1       ID   :1
             LINKPROP   :phys-state      MTU  :1500
             MAXBW      :--              MODE :--
             CUSTOM     :disable
             PRIORITY   :high            COS  :7
             PROTECTION :mac-nospoof
                         restricted
                         ip-nospoof
                         [192.168.100.1
                          192.168.100.2]
                         dhcp-nospoof
                         [oracle@system1.company.com
                          00:14:4f:fb:22:79
                          system2
                          00:14:4f:fb:22:56]