HP UX IPQos Software manual Syntax Rules

Page 59

HP-UX IPQoS Configuration Files

Configuration File Syntax

Policy blocks define how traffic classes will be handled (metered, marked or both). Keywords identify specific attributes of a policy, including which filters are being used by a policy.

Adapter blocks assign policies to specific configured adapters (NICs) on the system. Adapter names must correspond to PPA names that can be listed by the lanscan command at the time HP-UX IPQoS is started.

In the syntax of the configuration file, the case-sensitive block keywords filter, policy, and adapter identify the block type being defined. The string immediately following the block keyword is the name of the block.

You can define as many of each block type as you need.

You can visually separate blocks using curly brackets or indentation.

Syntax Rules

The following general syntax rules apply to HP-UX IPQoS configuration files:

Name Fields: Names can contain only letters, digits or underscores (_) and must begin with a letter. Letters are case sensitive.

Numeric Fields: Numeric attributes are treated as decimal unless preceded by “0x” or “0X”, in which case they are treated as hexadecimal. If a numeric attribute has leading 0 (zero) and only uses digits between 0-7, it is treated as octal.

Comments: A configuration file can contain comments anywhere in the file. All text following the pound sign (#) is considered a comment and is ignored through the end of that line. Empty lines and comment-only lines are ignored.

Line Continuations: Line continuations are not allowed in a configuration file. Each statement must be complete on a single line. The line length limit is 256 characters.

Visual Organization: You can use curly brackets ({}) in configuration files to help organize information visually. Indentation and spacing can also be used to organize information visually. Although text editors such as vi have support for indentation and ensuring curly-brackets match, the indentation and curly brackets are ignored and bracket level matching is not enforced.

Error and Consistency Checking: Error checking is enforced on a configuration file whenever it is being verified or loaded (which includes a verification step). Configuration error checking detects some, but not all, possible cases of improper configuration attributes. Any errors found cause an abort and leave the kernel unchanged. HP-UX IPQoS sends error messages to stderr.

Some common checks include:

Chapter 4

59

Image 59
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.