HP UX IPQos Software manual Syntax Rules

Page 67

HP-UX IPQoS Configuration Files

Filter Blocks

Syntax Rules

The following rules apply to address and port attributes:

Specify addresses and ports as singles or ranges.

Specify IP addresses using the dot-notation for IPv4 and colon-notation for IPv6.

The address family of the first specified IP address determines the address family recognized by the filter. If you specify an IPv4 address the filter matches IPv4 packets. The same applies for IPv6. You cannot specify both IPv4 and IPv6 addresses in one filter. If you want to match an address or range regardless of IP format, duplicate the filter and specify the required address once in IPv4 for one filter and in IPv6 for the other filter. Attach both filters to the same policy.

NOTE

To filter IPv6 traffic, the system must be IPv6-enabled.

If you specify an address but not a network protocol, then the format of the address is used to set the network protocol.

You can specify addresses numerically or by host name. Host names are converted using the standard name-to-address lookup functions, and are resolved when the configuration is loaded.

You can specify ports numerically or by the service name. The service name is converted to a number using /etc/services. The range for valid port numbers is 0-255 inclusive.

If a host name or service name resolves to more than one address or port, the filter is automatically duplicated for each address or port. This is referred to as expansion.

If the original filter name is filterX, the set of expanded filters is named filterX_1, filterX_2 and so on. If filter filterx_1 is also expanded, the set of expanded filters is named filterX_1_1 and filterX_1_2.

For example, if filterX uses both host names and service names, then filterX is expanded once to resolve host names to addresses. All resultant filters are expanded again to resolve service names to port numbers.

When a port is specified by a service name rather than a number, you can specify the associated transport protocol on the same line. The shortcut syntax is as follows:

port_service_name/transport_protocol_name

For example: dstport http/tcp

Use this shortcut to avoid expanded filters that would otherwise be created. For example, specifying dstport http creates dstport http/udp and dstport http/tcp.

Chapter 4

67

Image 67
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 DocumentationHP-UX IPQoS Relevant RFCs Related RFCsDescription 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 Conforms to the Ietf DiffServ model HP-UX IPQoS FeaturesProvides provisioned QoS management 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 Overview Planning for HP-UX IPQoS DeploymentGeneral Planning Considerations 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 #swremove Hpuxipqos Removing HP-UX IPQoS#swlist -l product Hpuxipqos Removing HP-UX IPQoS Chapter Getting Started with HP-UX IPQoS Getting Started with HP-UX IPQoS HP-UX IPQoS Deployment Overview HP-UX IPQoS Deployment Components HP-UX IPQoS Configuration FilesRole of Filters General Pseudo-Syntax Example Role of PoliciesSimple Configuration File Example Ipqosadmin Administration Utility HP-UX IPQoS Operating States System OperationState After Reboot Starting HP-UX IPQoS Without a RebootStart and Stop Scripts #/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 Supported Transport Protocol Numbers Additional AttributesTransport 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 Options and Administrative Actions Ipqosadmin OverviewIpqosadmin Usage Rules 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 Option#cat file1 file2 ipqosadmin -verify -f Verifying a Configuration FileOptions 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 -showstatsInstallation Scenario HP-UX IPQoS Installation Fails Troubleshooting ScenariosHP-UX IPQoS Configuration File Verification 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#ll /opt/ipqos/db/ipqosdb.db #cp /opt/ipqos/db/ipqosdb.db /tmp/problemipqosdb.db#cp /opt/ipqos/db/template.db /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 SummaryLoad an HP-UX IPQoS Configuration File Ipqosadmin Syntax Quick ReferenceUnload 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.