You use the ipqosconf command to read the IPQoS configuration file and to configure the IPQoS modules in the UNIX kernel. The next procedure uses as an example the file /var/ipqos/Goldweb.qos, which is created in Creating IPQoS Configuration Files for Web Servers. For detailed information, refer to the ipqosconf(1M) man page.
Assume the Primary Administrator role, or become superuser, on the IPQoS-enabled system.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
# /usr/sbin/ipqosconf -a/var/ipqos/Goldweb.qos
ipqosconf writes the information in the specified IPQoS configuration file into the IPQoS modules in the Oracle Solaris kernel. In this example, the contents of /var/ipqos/Goldweb.qos are applied to the current Oracle Solaris kernel.
When you apply an IPQoS configuration file with the -a option, the actions in the file are active for the current session only.
Test and debug the new IPQoS configuration.
Use UNIX utilities to track IPQoS behavior and to gather statistics on your IPQoS implementation. This information can help you determine if the configuration operates as expected.
To view statistics on how IPQoS modules are working, refer to Gathering Statistical Information.
To log ipqosconf messages, refer to Enabling syslog Logging for IPQoS Messages.
To ensure that the current IPQoS configuration is applied after each boot, refer to How to Ensure That the IPQoS Configuration Is Applied After Each Reboot.