HP UX IPQos Software manual Example 1 Premium Services Class Web Server

Page 119

HP-UX IPQoS Configuration File Examples

Example 1: Premium Services Class Web Server

Example 1: Premium Services Class Web Server

This example shows a configuration file that provides differentiated service for three traffic classes:

http (port 80)

videosrv (assumes this exists in /etc/services on the local host)

all (other) IPv4 traffic

####

#Sample file of a three-policy HP-UX IPQoS configuration.

#One policy is for HTTP (port 80) traffic. It is assured 45% of bandwidth, and

#is allowed to send up to 100% of bandwidth.

#Another policy is for video traffic; it is also assured 45% of bandwidth and

#is allowed to send up to 100% of bandwidth.

#The third policy is for all other IPv4 traffic. It is assured only

#a small amount of bandwidth (50Kpbs) but is allowed to send up to 100Kbps.

#Note that the policy specified for all other IPv4 traffic provides more

#reserve bandwidth (50Kbps) than would have been provided by the implicit default

#policy (5Kbps), had it not been defined.

#

#The DSCP settings are arbitrary and are only shown to illustrate syntax.

filter webselect { srcport http/tcp priority 1

}

filter videoselect {

 

srcport videosrv/udp

# assumes /etc/services has “videosrv/udp”)

priority 2

 

}

 

filter other_v4 {

 

netproto 0x800

# selects all IPv4 traffic

priority 99999

#low priority, because only for “other” IPv4 traffic

 

#if matches either of other filters, want the

 

#policy those are attached to, to be selected

}

 

policy premwebservice_p1 { uses webselect

res 45% max 100% dscp 46

}

Appendix B

119

Image 119
Contents Manufacturing Part Number October HP-UX IPQoS A.01.00 Administrator’s GuideTrademark Notices WarrantyGovernment License Copyright NoticeContents HP-UX IPQoS Configuration Files HP-UX IPQoS Configuration File Attributes Quick Reference Ipqosadmin Quick Reference Tables Tables Figures Figures New and Changed Documentation in This Edition Intended AudiencePublishing History What Is in This DocumentUserInput Typographic ConventionsManpages Related DocumentsHP-UX Release Name and Release Identifier HP Product DocumentationDescription Related RFCsHP-UX IPQoS Relevant RFCs HP Welcomes Your Comments Introduction Introduction Benefits of HP-UX IPQoS OverviewDiffServ Mechanisms Traffic Conditioning Traffic ClassificationTraffic Classification and Conditioning Flow in HP-UX IPQoS Dscp Marking Summary Provides provisioned QoS management HP-UX IPQoS FeaturesConforms to the Ietf DiffServ model Compatible with HP-UX IPSec Provides a simple configuration file formatSupports both IPv4 and IPv6 No changes to existing applications are requiredArchitectural Overview HP-UX IPQoS ArchitectureHP-UX 11i v2 HP-UX IPQoS uses the Interfacemodules list General Planning Considerations Planning for HP-UX IPQoS DeploymentOverview HP-UX Host Specific Planning Considerations Planning for HP-UX IPQoS Deployment Planning for HP-UX IPQoS Deployment Chapter Installing HP-UX IPQoS Installing HP-UX IPQoS Disk Space Requirements System RequirementsSupported Hardware Supported Operating SystemsHP-UX 11i v2 Patch Requirements HP-UX 11i v1 Patch RequirementsStep Acquiring HP-UX IPQoS#swinstall -s /tmp/IPQoS.depot Hpuxipqos Installing HP-UX IPQoSInitial Installation Update InstallationOpt/ipqos/db/ipqosdb.db the active configuration database Verifying the HP-UX IPQoS Installation #swlist -l product Hpuxipqos Removing HP-UX IPQoS#swremove Hpuxipqos Removing HP-UX IPQoS Chapter Getting Started with HP-UX IPQoS Getting Started with HP-UX IPQoS HP-UX IPQoS Deployment Overview Role of Filters HP-UX IPQoS Configuration FilesHP-UX IPQoS Deployment Components General Pseudo-Syntax Example Role of PoliciesSimple Configuration File Example Ipqosadmin Administration Utility HP-UX IPQoS Operating States System OperationStart and Stop Scripts Starting HP-UX IPQoS Without a RebootState After Reboot #/sbin/init.d/net-ipv6 start #ipqosadmin -state#/sbin/init.d/ipqosdne start #/sbin/init.d/net start#/sbin/init.d/ipqos stop Stopping HP-UX IPQoS Without a Reboot#/sbin/init.d/ipqosdne stop HP-UX IPQoS Configuration Files HP-UX IPQoS Configuration Files Introduction Configuration File Syntax Syntax Rules Configuration File Syntax #vi ftpmgmt.qosconf Creating an HP-UX IPQoS Configuration FileCreating an HP-UX IPQoS Configuration File #ipqosadmin -verify -f ftpmgmt.qosconf -verbose Filter Attributes Filter BlocksAddress and Port Attributes Low end of the source port number range Syntax Rules Transport Protocol Numbers Additional AttributesSupported Transport Protocol Numbers Priority Attribute Supported Network Protocol NumbersPriority p Policy Attributes Policy BlocksReservation b1suffix Maximum b2suffix Vpr priority For more information on HP-UX Vlan usage, refer to Using Adapter Attribute Adapter BlocksUses policy3, policy4, policy5 uses policy6, policy7 Adapter Blocks Chapter Administering HP-UX IPQoS Administering HP-UX IPQoS Ipqosadmin Usage Rules Ipqosadmin OverviewIpqosadmin Options and Administrative Actions Ipqosadmin Overview #ipqosadmin -load -f filename -verbose Administering HP-UX IPQoS Operating StatesUsing ipqosadmin to Change States #ipqosadmin -unloadDisabling/Re-Enabling HP-UX IPQoS Administering HP-UX IPQoS Operating States Example Displaying State InformationSyntax OptionOptions Verifying a Configuration File#cat file1 file2 ipqosadmin -verify -f Example #cat file1 file2 ipqosadmin -load -f Loading a Configuration FileDefault -abort Unloading a Configuration Showing Configuration Information Output is always current Showing Statistics Packets Bytes Setting and Showing Log Level Setting and Showing Log Level Setting and Showing Log Level Chapter Troubleshooting HP-UX IPQoS 100 Chapter 101 HP-UX IPQoS ipqosadmin Utility Troubleshooting ToolsHP-UX System and Networking Utilities #ipqosadmin -verify-load -f filename -verbose#ipqosadmin -showconfig #ipqosadmin -showstatsHP-UX IPQoS Configuration File Verification Fails Troubleshooting ScenariosInstallation Scenario HP-UX IPQoS Installation Fails State Is Not As Expected Active Configuration Is Not As Expected#ipqosadmin -verify -f file -verbose #ipqosadmin -load -f fixedfilename -verbose#ipqosadmin -load -f filename Traffic Management Problems#ipqosadmin -load -f reinstate.cfg -verbose Corrupt or Missing HP-UX IPQoS Configuration File#ipqosadmin -load -f simplefile -verbose #ipqosadmin -showconfig -conf reinstate.cfg#cp /opt/ipqos/db/template.db /opt/ipqos/db/ipqosdb.db #cp /opt/ipqos/db/ipqosdb.db /tmp/problemipqosdb.db#ll /opt/ipqos/db/ipqosdb.db Sample Error Messages Resolution Sample Error and Warning MessagesSample Warning and Informational Messages Message ResolutionReporting Problems to HP 112 HP-UX IPQoS Configuration File Attributes Quick Reference Table A-1 Filter Attributes Definition Summary of Configuration File AttributesAppendix a 115 Adapter per adapter block Table A-2 Policy Attributes DefinitionTable A-3 Adapter Attributes Definition Adapter this block applies to. Specify only oneHP-UX IPQoS Configuration File Examples Appendix B Example 1 Premium Services Class Web Server 120 Example 2 Trusted Applications and Dscp Example 3 Packets Can Match Multiple Filters Example 4 Limit ftp Bandwidth 124 Ipqosadmin Quick Reference Summary of the ipqosadmin usage syntax is as follows Ipqosadmin Usage Syntax SummaryUnload an HP-UX IPQoS Configuration File Ipqosadmin Syntax Quick ReferenceLoad an HP-UX IPQoS Configuration File Show Configuration Information Get Help Set/Show Log Level for HP-UX IPQoS Messages130 See Dscp GlossaryTraffic shaper See shaper MeterDscp Index134 135
Related manuals
Manual 7 pages 919 b Manual 59 pages 51.6 Kb

UX IPQos Software specifications

HP-UX IPQoS is a sophisticated software solution designed to enhance the network performance of HP's Unix-based operating system, HP-UX. This software focuses on Quality of Service (QoS) mechanisms that ensure efficient bandwidth utilization and prioritize network traffic to meet the demands of various applications.

One of the main features of HP-UX IPQoS is its ability to define traffic priorities. Administrators can classify traffic into different priority levels, allowing critical applications to receive the bandwidth they need while less important traffic can be deprioritized. This feature is essential in environments where bandwidth is a limited resource, ensuring that business-critical processes maintain their performance even during peak usage times.

The software employs advanced traffic shaping techniques that allow the management of data flow in the network. By controlling the rate of traffic and smoothing out bursts, IPQoS helps prevent network congestion, leading to a consistently reliable user experience. In addition, it can manage both inbound and outbound traffic, ensuring optimal performance in various network scenarios.

Another significant characteristic of HP-UX IPQoS is its integration with other network management tools. It operates seamlessly with HP’s Network Management Suite, providing a holistic view of network performance. This integration facilitates easier troubleshooting and monitoring, as administrators can correlate data from different sources for comprehensive insights.

Moreover, HP-UX IPQoS supports various protocols, including DiffServ and MPLS. By adhering to these standards, it positions itself as a versatile tool that can operate in diverse network environments, providing flexibility and ease of deployment. Additionally, the software supports policy-based management, enabling organizations to implement specific rules tailored to their network requirements.

Security is also a critical focus of HP-UX IPQoS. The software provides mechanisms to enforce traffic policies while safeguarding against potential threats. By ensuring that only authorized traffic flows through the network, it minimizes the risk of attacks and data breaches, contributing to a more secure IT environment.

The user interface of HP-UX IPQoS is designed for ease of use, allowing network administrators to configure settings, monitor performance, and generate reports without extensive training. This user-friendliness accelerates the deployment process and enhances the overall management of network resources.

In summary, HP-UX IPQoS is a robust and versatile network management solution that brings substantial benefits to organizations looking to optimize their network performance. With its traffic prioritization features, integration capabilities, support for industry standards, and focus on security, it stands out as an essential tool for maintaining effective and secure network operations in a dynamically changing IT landscape.