# Patent

## Title
User-controlled network configuration for handling multiple classes of service

## Abstract

A process and system for user-controlled configuration of an Internet-protocol (IP) network wherein the user may supply input for generating a network classification profile (NCP), which includes a number of classes of service (COSs) for prioritizing network traffic. Network packets belonging to a COS may be classified according to a packet parameter. The NCP may be used to prioritize packets sent to the network from a network ingress router. A queuing profile for scheduling packets received from the network based on the NCP may also be generated and used by a network egress router. The packet parameter may be based on information in the packet header.

## Background
BACKGROUND
1. Field of the Disclosure
The present disclosure relates to network configuration and, more particularly, to configuring networks for handling multiple classes of service.
2. Description of the Related Art
Configuring packet-switched networks for bandwidth, latency or security is typically desired. Such configuration may be performed by a service provider of the network.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of selected elements of an embodiment of a virtual private network;
FIG. 2 is a block diagram of selected elements of an embodiment of a user-controlled network configuration;
FIG. 3 is a block diagram of selected elements of an embodiment of a network configuration process;
FIG. 4 is a block diagram of selected elements of an embodiment of a network configuration process;
FIG. 5 is a block diagram of selected elements of an embodiment of a network configuration process; and
FIG. 6 is a block diagram of selected elements of an embodiment of a computing device.



DESCRIPTION OF EXEMPLARY EMBODIMENTS
Many entities use some form of wide-area network (WAN) to communicate and exchange data between different locations. For example, a business entity with branch offices in different cities may desire that each location be equipped with internal and external network connectivity, while sharing common functionality and applications. One WAN solution is a virtual private network (VPN), which allows a secured, private WAN to be configured using public backbone infrastructure to access specific locations. In some instances, a public network, such as the Internet, may comprise at least a portion of an Intenet-protocol (IP) network used as a WAN. Each location serviced by a WAN may include a local-area network (LAN), such that the WAN effectively bridges remote LAN or other network segments.
With the advent of IP-networks, IP-based multimedia network services may be combined using the same network infrastructure. For example, IP-networks may be used to transmit video, along with email and telephony services, such as voice-over-IP (VOIP), to serve business needs for modern digital communication on a single network platform. Since IP-networks are ubiquitious, the underlying IP-network infrastructure may operate totally transparent to user-level LANs, providing the appearance of a much larger network system.
With increasing demands on network performance, network configuration and flexibility of use, the immediate and tailored configuration of a network, such as an IP-network, becomes an important feature for an administrator or user of the network. A network service provider offering network services, such as an IP-network, may also provide the capability and resources to reconfigure the network according to the properties desired by their customers. However, as the demand for network configuration services increases, the availability of technical resources, such as network engineers, may remain constrained. The process of obtaining network configuration services may further be cumbersome, time-consuming, and error-prone. In some instances, users may desire to constantly reconfigure their networks for changing performance demands on an as-needed basis.
In one aspect, a disclosed method for configuring an IP network includes generating a network configuration based on a first user input. Generating the network configuration may include building a network classification profile (NCP) for prioritizing network packets sent to the network. The NCP may define a plurality of classes of service (COSs), while at least one of the COSs may be defined according to a packet parameter. Generating the network configuration may further include building a queuing profile for scheduling network packets received from the network based on the NCP, whereby the received network packets may be scheduled according to the NCP, and notifying a network service provider of the network configuration. The method may further include implementing the network configuration on the network, whereby packet prioritization on the network may comply with the NCP. The first user input may be received by a user-operated network configuration system.
In some embodiments, the first user input may be sent to the network service provider for validation, whereby said implementing may be performed in response to the network service provider indicating validation of the first user input. The method may further include transmitting network packets over the network. The packet parameter of transmitted network packets may establish a desired class of service. At least a portion of the transmitted network packets may represent a stream of video data. The network may be an IP-network. In some cases, the first user input may be validated based on at least one of a service contract with the service provider and an analysis for errors in the network configuration.
In some examples, the packet parameter may be at least one of an IP Precedence value, a Differentiated Services Code Point (DSCP) value, a source IP address, and a destination IP address. The transport level protocol may be User Datagram Protocol (UDP) or Transmission Control Protocol (TCP), whereas the packet parameter may be specified for at least one of a source and a destination. The packet parameter may be a combination of at least one IP network address and at least one corresponding port for each IP network address.
In some cases, the method may further include monitoring the network with respect to the NCP, whereby said monitoring includes comparing a measured quality of service (QOS) to a desired COS in the NCP.
In certain embodiments, the method may further include generating a network topology based on the network configuration. Generating the network topology may further include recording an NCP for each of a respective plurality of network ingress links, and recording a queuing profile for each of a respective plurality of network egress links. The network may be an IP-network operated by the network service provider. The ingress and egress links may couple an external network system to the IP-network.
In some embodiments, the method may further include receiving a request for a network report, including receiving second user input specifying at least a portion of the network configuration, generating the network report based on the specified portion of the network configuration, and providing user access to the network report. The network report may include information on at least one of network performance, network QOS, network disruptions, network condition, and network traffic. In some cases, implementing the network configuration may further include dropping packets received at an ingress link of the network that do not conform to the NCP, based on the COS for each received packet.
In another aspect, a disclosed service for user-controlled network configuration of an IP-network, includes enabling a user to provide input for generating a network configuration for the IP-network, notifying a service provider of the IP-network that the user input has been received, and validating the user input based on a service contract with the service provider. Generating the network configuration may include building an NCP for prioritizing IP packets sent to the IP-network, wherein the NCP includes a plurality of COSs, and wherein each COS is respectively classified according to a packet parameter. Generating the network configuration may further include building a queuing profile for scheduling IP packets received from the IP-network based on the NCP, wherein the received IP packets are queued according to the NCP.
The service may further include modifying the service contract based on the user input. The user input may further be validated based on an analysis for errors in the network configuration. When the customer input is validated by the service provider, the service may further include implementing the network configuration on the IP-network. Implementing the network configuration may further include configuring routing devices on the IP-network to respond to the classified packet parameter of each received IP packet to implement the corresponding COS. The IP-network may be a Multi Protocol Label Switching (MPLS) network, while at least some of the routing devices may be Label Edge Routers (LERs).
In a further aspect, a disclosed system for configuring an IP network includes a processor, and memory media accessible to the processor, including processor executable instructions for implementing a user-controlled network configuration system. The instructions may be executable to receive user input for defining an NCP including a plurality of COSs for prioritizing network packets sent to the network, wherein each COS corresponds to a respective packet parameter, and define a queuing profile for scheduling network packets received from the network based on the NCP, wherein the received network packets are scheduled according to the NCP. The instructions may further be executable to generate a network configuration based on the NCP and the queuing profile.
In some embodiments, instructions may still further be executable to notify a network service provider of the network configuration, whereby the user input may be sent to the network service provider for validation. When the customer input is validated by the service provider, the instructions may be executable to implement the network configuration on the network, such that packet routing devices on the network may be configured to prioritize routing of network packets based on the packet parameter of transmitted network packets.
In yet a further aspect, a disclosed computer-readable memory media includes processor executable instructions for configuring a portion of an IP-network based on user-provided input. The instructions included in the memory media may be executable to receive user input for defining an NCP for prioritizing network packets sent to the IP-network, the NCP including a plurality of COSs, and implement an IP-network configuration based on the NCP and the queuing profile. Each COS may correspond to a packet parameter, while said prioritizing may be based on the packet parameter.
In some embodiments, the instructions may be executable to define a queuing profile for scheduling network packets received from the IP-network based on the NCP, such that the received network packets are scheduled according to the NCP. The instructions executable to implement the IP-network configuration may include instructions executable to configure routing devices on the IP-network. The memory media may further comprise instructions executable to configure ingress routing devices on the IP-network to assign a network priority to a received network packet, based on a packet parameter value of the received network packet, and configure egress routing devices on the IP-network to queue the network packet exiting the IP-network for scheduling according to the assigned network priority. The memory media may still further comprise instructions executable to drop a received network packet at an ingress routing device of the IP-network that does not conform to the NCP, based on the COS for the received packet.
In the following description, details are set forth by way of example to facilitate discussion of the disclosed subject matter. It should be apparent to a person of ordinary skill in the field, however, that the disclosed embodiments are exemplary and not exhaustive of all possible embodiments.
An NCP, as used herein, refers to a specification defining different COSs for prioritizing network traffic. Different regimes for the number of levels of COSs may be implemented. One example using six-levels of COS values is as follows:
















COS1
real-time (VOIP);



COS2
mission-critical data (video);



COS3
critical application data (database);



COS4
business data (web traffic);



COS5
standard data (email, ftp); and



COS6
other data.










Each level of COS may be assigned to a specified network performance, or a performance range. In the above example, as the COS value decreases, network priority increases, such that network bandwith increases and latency generally decreases. It is noted that the six-level COS regime shown above is exemplary, and that COS regimes with less or more levels of service may be implemented in other situations.

In one example application, the transmission of video may be viewed as a mission-critical network operation involving a broadcaster sending programming to a receiver at a remote location, such that the latency of arriving video data may be constrained to a limited value. Video transmission over IP-networks may thus involve a lower tolerance to network errors than other kinds of TCP/IP data. Therefore, if the transmission of video data as a smooth, continuous stream is desired, a higher performance class of service may be selected. In some cases, COS1 and COS2 may be the values, which are capable of transmitting video data streams within an acceptable margin of error.
An NCP may be comprised of a weighted mixture of different COSs, depending on particular traffic patterns or business requirements of the user. Following the above example for COSs, an exemplary NCP may be assembled as follows:













5%
COS1;


15%
COS2;


25%
COS3;


20%
COS4;


30%
COS5; and


5%
COS6.









Thus, an NCP represents a desired profile for the prioritization of a total amount, i.e., 100%, of network traffic, for example, transmitted over an IP-network. It is noted that the weighting of different COSs within a profile may vary widely in different instances and usage scenarios. Although in the above example, the amount of traffic is shown as a relative percent of the total traffic, in other cases, the network traffic for each COS in an NCP may also be specified using other values, such as but not limited to, amount of data, rate of data, number of connections, media type, or a combination of values. The network service provider of the IP-network may offer different rates, or prices, for different COSs, such that economic criteria may also affect the selection of a desired NCP, or a particular regime for specifying the NCP.

Once the desired COSs in the NCP have been established, the network infrastructure may be programmed to implement the prioritization scheme set out in the NCP. In the case of an IP-network, prioritization of network traffic may be enforced at the packet level using a packet parameter. A packet parameter in the packet header may be detected by a network routing device and used to enforce the NCP, as will be described in detail below.
Implementing the NCP on the network may include programming ingress routing devices, which receive network traffic, to enforce the COSs defined by the NCP. Incoming packets not conforming to the NCP may be dropped by an ingress routing device. Egress routing devices may be configured according to a queuing profile, which is based on the NCP, for scheduling packets emerging from the network. Thus, even if the network transmits received packets at a higher rate than specified in the NCP, the egress routing device may hold packets to satisfy a COS.
Referring to FIG. 1, a block diagram of selected elements of an embodiment of IP-network 100 is illustrated. IP-network 100 may be configured to link user network segment 112 with user network segment 114. In some embodiments network segments 112 and 114 represent LANs belonging to the same business entity, but at different locations. As shown in FIG. 1, IP-network 100 bridges two user network segments 112 and 114. However in different embodiments, a plurality of user network segments (not shown in FIG. 1) may be interconnected to IP-network 100 using combinations and replication of equipment depicted therein as well as other equipment not depicted.
As referred to herein, a “user” may be an administrator of user network segments 112 and 114, and may be responsible for network configuration. In other instances, “user” may be the user or customer of a network service. In some cases, user network segments 112 and 114 are IP-networks serving a plurality of clients at each location (not shown in FIG. 1). In certain embodiments, user network segments 112 and 114 are further bridged or interconnected with other public or private networks, such as the Internet, wireless networks, telephony networks, etc. (not shown in FIG. 1).
User network segment 112 may be coupled to provider edge router 122 via customer-premises equipment (CPE) 120, which may include an ingress router, an egress router, or a device that provides combined ingress and egress functionality. Similarly, user network segment 114 may be coupled to provider edge router 142 via CPE 125, may include an ingress router, an egress router, or a device that provides combined ingress and egress functionality. CPE 120 and 125 may be responsible for receiving network traffic from user network segments 112 and 114, respectively, and for sending network traffic to user network segments 112 and 114, respectively.
As shown in FIG. 1, user network segment 112 and CPE 120 may represent equipment at a first location, while user network segment 114 and CPE 125 may represent equipment at a second location. CPE 120 and 125 may CPE provided by a service provider of IP-network 100, who may also provide service provider equipment 110. Service provider equipment 110 may include provider edge routers 122 and 142, and packet-switched network 130. In some embodiments of IP-network 100, provider edge routers 122 and 142 may be co-located with CPE, or combined with CPE as a single piece of equipment (not shown in FIG. 1). In some cases, provider edge routers 122 and 142 provide network services for a plurality of IP-networks to different business entities, which may each operate a plurality of network segments at different locations.
In FIG. 1, provider edge routers 122 and 142 include bidirectional routing functionality to and from packet-switched network 130, which may represent the backbone system for IP-network 100. As mentioned above, packet-switched network 130 may itself be any combination of private and public networks, such as the Internet. In one embodiment, packet-switched network 130 may be an MPLS network, while provider edge routers 122 and 142 are LERs for the MPLS, capable of translating between an MPLS protocol and an external protocol. Packet-switched network 130 may further include a plurality of internal routing devices (not shown in FIG. 1). Although packet-switched network 130 is shown included in service provider equipment 110 in FIG. 1, packet-switched network 130 may include third-party equipment or network segments, for example, network routing devices, acquired by the service provider of IP-network 100.
In one embodiment, IP-network 100, as shown in FIG. 1, once configured according to a desired NCP by a user, may transmit packets between user network segments 112 and 114. In one example of transmission of network traffic from user network segment 112 to user network segment 114, network packets may be received at CPE 120 from user network segment 112. CPE 120 may enforce the desired NCP by dropping network packets not conforming to the NCP. The conforming network packets may be routed via provider edge router 122, transmitted by packet-switched network 130 to provider edge router 142, and sent to CPE 125. The network packets may be queued by CPE 125 and scheduled for transmission to user network segment 114 when they comply with the NCP. A similar, complementary arrangement may be used for transmitting network packets in the reverse direction in IP-network 100.
Referring now to FIG. 2, a block diagram of selected elements of an embodiment of a network configuration system 200 is illustrated. Network configuration system 200 may represent a modular architecture, which provides customer-access in real time. For example, a customer may provide user input using network configuration system 200 to create a desired NCP, including high-priority COSs capable of video transmission, to support video services such as video call, personal and business videoconferencing, and video broadcasting. Network configuration system 200 may allow the customer to build COS profiles, manage IP-network topology database 210 for customer-specific ingress and egress links, and monitor network performance, for example, with respect to video transmission, using network monitoring 222.
As shown in FIG. 2, a user-controlled network configuration module 202, referred to herein as “configuration module” 202, is coupled to IP-network 100 (see FIG. 1), and may be used to implement an NCP for IP-network 100. Configuration module 202 may receive input from user 204 for generating and implementing a desired NCP. User 204 may be an administrative user of IP-network 100 who has been provided administrative access to configure and implement desired NCPs on IP-network 100 by accessing configuration module 202. User 204 may thus represent a customer of a business entity providing communication services, including access to IP-network 100 and configuration module 202.
Configuration module 202 may further validate user input for correctness, and/or check a service contract to determine whether the customer will be allowed to implement a desired COS. In some instances, configuration module 202 may notify the user when a contract issue arises to modify or confirm amended contract provisions. Configuration module 202 may then provide user input, such as a desired NCP, to design rules 224 for implementation of the NCP, as will be discussed below.
Configuration module 202, as shown in FIG. 2, may further be coupled to network control 206, which may also directly be contacted by user 204. Network control 206 may represent network control operations, including a support organization, for the service provider of IP-network 100, and may be equipped to implement NCPs on IP-network 100, as well as validate and/or modify user-generated NCPs. Configuration module 202 may further intiate contact to network control 206 for specialized processing of an NCP request, for example, when an automated user-controlled implemenation was not completed.
Implementation of an NCP on a network, such as IP-network 100, may involve provisioning and policing operations performed by network control 206. Provisioning the network may involve programming packet-routing devices on the network, such as routers (see FIG. 1), to forward network traffic according to traffic classification rules, such as defined by an NCP. Policing operations performed by network control 206 may include monitoring traffic for each COS in an NCP, marking non-compliant packets, and dropping packets exceeding individual COS profile. Policing and scheduling operations may be implemented by network control 206 in a CPE router, such as CPE router 120, or in a provider edge (PE) router, such as router 122 (see FIG. 1).
In some embodiments, network control 206 includes a call center staffed by operators and qualified technical experts for providing support to user 204. In some cases, network control 206 represents the service provider of IP-network 100 for business issues, such as billing, terms of service contracts, payment, technical support, equipment supply and installation, etc. In certain embodiments, network control 206 may be operated by a third-party on behalf of the service provider of IP-network 100.
As shown in FIG. 2, configuration module 202 may include design rules 224, which assist in providing options for COSs and NCPs to user 204. Design rules 224 may include implementation rules, such as logic, policies, or expert intelligence, for COS regimes offered by the service provider of IP-network 100, corresponding to the options provided to user 204 for configuring NCPs. In some cases, design rules 224 may be used to determine whether a desired NCP input by user 204 is valid for implementation on IP-network 100. Design rules 224 may include implementation policies for ingress routers configuration (i.e., policing and marking), as well as egress router configuration (i.e., scheduling or queueing). Design rules 224 may accordingly include the specific techniques how an NCP with different COSs is to be implemented on ingress and/or egress routing devices of IP-network 100.
For ingress routing devices, design rules 224 may specify that packets exceeding the allocated bandwith are strictly policed (i.e., traffic above the allocated bandwidth is discarded) for each COS in the implemented NCP. For egress routing devices, design rules 224 may enforce a scheduling (or queuing) profile, which corresponds to the COSs in the NCP. A different queuing profile and egress buffer may be configured for each COS in the NCP. If there is congestion (i.e., buffer overflow) at an egress router for a given COS, non-compliant packets may be discarded. In this manner, upstream applications may be allowed to throttle down their transmission traffic levels, for example, when the TCP is used as a network protocol.
Also shown in FIG. 2 is IP-network topology 210, which may be a data store for configuration information associated with IP-network 100. In some embodiments, IP-network topology 210 stores NCPs for a plurality of network ingress links, and queuing profiles for a plurality of network egress links. IP-network topology 210 may also store additional network connectivity information for network links, such as routing and/or switching devices, for IP-network 100. In some cases, IP-network topology 210 may be used to generate specific configuration information for network equipment in IP-network 100, based on an NCP for a given set of ingress and egress links. Accordingly configuration module 202 may access IP-network topology 210 for obtaining user-specific information used in generating user input options, and for implementing an NCP on IP-network 100 generated using user input.
Still further shown in FIG. 2 is network monitoring 222, which may be coupled to configuration module 202, IP-network topology 210, and IP-network 100. Network monitoring 222 may be configured to test and measure actual network performance, and thus maintain information on the current condition of IP-network 100. Network monitoring 222 may monitor network traffic to determine when and where network disturbances occur. Network monitoring 222 may also perform quality of service (QOS) testing for quantitative and statistical evaluation of the end-to-end performance of IP-network 100.
In FIG. 2, user 204 may access network reporting 214 to generate reports on network performance, network disruptions, network conditions and network traffic. In one embodiment, a user may specify a given COS in a currently implemented NCP, and then obtain a report on QOS for that COS on IP-network 100. In this manner, user 204 is enabled to verify that the NCP generated and implemented using user input is actually performed as expected. Configuration module 202 may provide network reporting 214 with information to generate reports that quantify the deviation in performance between a desired COS and a measured QOS. In one embodiment, configuration module 202 obtains QOS testing results obtained from network monitoring 222 and provides these to network reporting 214.







TABLE 1







Example of QoS Testing Results in a Report













Requested/
Network
Network
Network
Estimated


Criteria
Contract
Section 1
Section 2
Section 3
End to End





Mean Transfer Delay (IPTD)
<100 ms
42.4 ms
20.6 ms
42.4 ms
105.4 ms


99.9%-min Delay Var. (IPDV)
 <50 ms
  25 ms
  2 ms
  25 ms
 47.5 ms


Minimum Transfer Delay
—
  30 ms
  20 ms
  30 ms
—


Variance of Transfer Delay
—
52.4 ms
0.23 ms
55.1 ms
—


Loss (IPLR)
<10−3
10−4
10−4
10−4
3 × 10−4


Errored Packets (IPER)
<10−4
3 × 10−5
3 × 10−5
3 × 10−5
9 × 10−5









In Table 1, above, an example of QoS testing results that may be used in an embodiment of a report on network performance is illustrated. The Criteria in the first column of Table may represent desired transmission properties for a given COS. In the second column, Requested/Contract, the range of acceptable values, in terms of limits or threshold values (such as values specified by a contract for network services), may be presented for the corresponding transmission properties in the first column. It is noted that some transmission properties may not have an entry in the second column. It is also noted that the values in the second column may represent target values within an allowable range of error or a variance. In the third, fourth and fifth columns, actual measured values for three network subsequent sections are presented. In the last column, actual measured values for the end-to-end network, including the three subsequent sections, is presented.
Referring now to FIG. 3, a block diagram of selected elements of an embodiment of a network configuration process 300 is depicted. In one embodiment, configuration module 202 (see FIG. 2) is configured to execute process 300. User 204 may provide input or commands for guiding and facilitating the execution of process 300, based on a service contract with a service provider of IP-network 100.
Accordingly, user input defining a network configuration, including an NCP of multiple COSs along with corresponding packet parameters, is received (operation 302). User 204 may specify different kinds of packet parameters to define COSs in operation 302, as will be discussed in detail below (see FIG. 5). A desired NCP may be specified for IP-network 100 using a user-interface provided to user 204 in operation 302. In addition to the NCP, the network configuration may define access points and locations for connection using IP-network 100. The service provider (for IP-network 100) may be notified of the network configuration, including the desired NCP (operation 304). A decision is made whether or not the network configuration, including the NCP, is validated by the service contract (operation 306). If the result of operation 306 is NO, then a further decision is made whether or not to modify the service contract (operation 308). If the result of operation 308 is NO, then process 300 returns to operation 302. If the result of operation 306 is YES, or the result of operation 308 is YES, then a further decision is made whether or not the network configuration, including the NCP, has been validated for errors (operation 310). If the result of operation 310 is NO, then process 300 returns to operation 302.
If the result of operation 310 is YES, then the network configuration is implemented, and routing devices in IP-network 100 are configured to prioritize network packets according to the NCP (operation 312). In some embodiments, a queuing profile for scheduling packets from IP-network 100 is generated based on the NCP in operation 312. Ingress routing devices may be configured according to the NCP and egress routing devices may be configured according to the queuing profile in operation 312, as will be described in further detail below (see FIG. 4). Packets may be transmitted over the network according to the NCP, such that non-conforming packets are dropped (operation 314). In one embodiment, non-conforming packets are dropped by ingress routing devices to enforce the NCP in operation 314.
Turning now to FIG. 4, a block diagram of selected elements of an embodiment of a network configuration process 400 is illustrated. In some embodiments, process 400 represents operations that are performed during operation 314 in process 300 (see FIG. 3). Configuration module 202 (see FIG. 2) may be configured to execute process 400 using input from user 204.
An NCP, including multiple COSs, for packets received by the network (such as IP-network 100) at ingress routing devices is built (operation 402). Based on the NCP, queuing profiles for packets exiting the network at egress routing devices are built (operation 404). The queuing profiles may define how received packets are held until scheduled for release, such that traffic transmitted by IP-network 100 conforms to the NCP. A network topology may be generated using the NCP and queuing profiles (operation 406). In some cases, the network topology includes NCPs for a plurality of network routing devices. The network configuration and the network topology may be stored (operation 408). The network may be monitored and a measured QOS may be compared with a desired COS in the NCP (operation 410). In some embodiments, the network configuration may be further modified if the resulting network performance is inadequate (not depicted). A report may be generated on network performance and network conditions (operation 412). In some embodiments, the report includes the QOS comparison generated in operation 410.
Referring now to FIG. 5, a block diagram of selected elements of an embodiment of a network configuration process 500 is illustrated. In some embodiments, process 500 represents operations that are performed during operation 404 in process 400 (see FIG. 4). Configuration module 202 (see FIG. 2) may be configured to execute process 500 using input from user 204. Process 500 describes packet parameters that may be used to define a COS in the NCP. It is noted that certain operations illustrated in process 500 may be omitted or selectively combined in different implementations.
A COS may be defined using IP Precedence values (operation 502). IP Precedence is a 3-bit field in an IP packet header that may be used as a packet parameter to identify the COS a packet receives in the network. A COS may be defined using a DSCP (operation 504). A DSCP is a 6-bit field in an IP packet header that may be used as a packet parameter to identify the COS a packet receives in the network. A COS may be defined using a TCP/UDP destination port (operation 506). When using TCP/UDP protocols, the destination port field may serve as a packet parameter as defined in operation 506. A COS may be defined using an IP address for the source and/or destination (operation 508). The IP source or destination address may be used as a packet parameter as specified in operation 508. A COS may be defined using a TCP/UDP port, either with or without an IP address, for the source and/or destination (operation 510). When using TCP/UDP protocols, combinations of IP address and port fields, for sources and/or destinations, may be used as packet parameters in operation 510. A reset mode at network egress may be defined, such that all exiting packets may be reset to a DSCP-0 value, or not (operation 512).
Referring now to FIG. 6, a block diagram illustrating selected elements of an embodiment of a computing device 600 is presented. In the embodiment depicted in FIG. 6, device 600 includes processor 601 coupled via shared bus 602 to storage media collectively identified as storage 610.
Device 600, as depicted in FIG. 6, further includes network adapter 620 that interfaces device 600 to a network (not shown in FIG. 6). In embodiments suitable for user-controlled network configuration, device 600, as depicted in FIG. 6, may include peripheral adapter 606, which provides connectivity for the use of input device 608 and output device 609. Input device 608 may represent a device for user input, such as a keyboard or a mouse, or even a video camera. Output device 609 may represent a device for providing signals or indications to a user, such as loudspeakers for generating audio signals.
Device 600 is shown in FIG. 6 including display adapter 604 and further includes a display device or, more simply, a display 605. Display adapter 604 may interface shared bus 602, or another bus, with an output port for one or more displays, such as display 605. Display 605 may be implemented as a liquid crystal display screen, a computer monitor, a television or the like. Display 605 may comply with a display standard for the corresponding type of display. Standards for computer monitors include analog standards such as video graphics array (VGA), extended graphics array (XGA), etc., or digital standards such as Digital Video Interface (DVI), High-Definition Multimedia Interface (HDMI), among others. A television display may comply with standards such as National Television System Committee (NTSC), Phase Alternating Line (PAL), or another suitable standard. Display 605 may include an output device 609, such as one or more integrated speakers to play audio content, or may include an input device 608, such as a microphone or video camera.
Storage 610 encompasses persistent and volatile media, fixed and removable media, and magnetic and semiconductor media. Storage 610 includes computer-readable memory media operable to store instructions, data, or both. Storage 610 as shown includes sets or sequences of instructions, namely, an operating system 612, and a user-controlled network configuration application 614. Operating system 612 may be a UNIX or UNIX-like operating system, a Windows® family operating system, or another suitable operating system.
In some embodiments, storage 610 is configured to store and provide executable instructions for user-controlled network configuration, as mentioned previously. As shown in FIG. 6, device 600 is configured in some embodiments to execute instructions for user-controlled network configuration using user-controlled network configuration application 614, analogous to process 300 depicted in FIG. 3. In some cases, configuration module 202 in FIG. 2 is embodied by device 600, or by user-controlled network configuration application 614.
To the maximum extent allowed by law, the scope of the present disclosure is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited to the specific embodiments described in the foregoing detailed description.

## Claims

1. A method for configuring an IP network, the method comprising:
receiving first user input, from a customer end user, the first user input indicative of:
a customer-selected packet parameter comprising a particular field of a particular packet header;
a plurality of service classes for network packets sent to the customer end user; and
a weighted mixture desired for the plurality of service classes;

modifying a network configuration to implement the plurality of service classes defined by the first user input, wherein a particular class of service is indicated by a value of the particular field of the particular packet header;
queuing network packets sent to the customer end user based, at least in part, on values of the particular field of the particular packet header;
detecting a difference between a weighted mixture of network packets sent to the customer end user differing from the weighted mixture desired; and
modifying the network configuration in accordance with the difference detected.

2. The method of claim 1, further comprising:
validating the plurality of service classes defined by the first user input against service classes indicated in a service contract.

3. The method of claim 1, wherein modifying the network configuration comprises configuring routing devices on the network to respond to the value of the particular field of the particular packet header.

4. The method of claim 3, wherein configuring the routing devices includes configuring the routing devices to prioritize packets having the value of the particular field of the particular packet header.

5. The method of claim 2, further comprising:
responsive to determining the network configuration was not validated against the service contract, validating the plurality of service classes as being free of network configuration errors.

6. The method of claim 1, wherein the particular packet header comprises an IP packet header and wherein the particular field comprises a field selected from the group of fields consisting of: a precedence field, a differentiated services code point field, a destination address field, and a source address field.

7. The method of claim 6, wherein the customer selected packet parameter is further associated with a further field of a further packet header.

8. The method of claim 7, wherein the further packet headers is selected from the group consisting of a TCP header and a UDP header and further wherein the further field is selected from the group consisting of a source port field and a destination port field.

9. The method of claim 1, further comprising:
measuring a quality of service; and
comparing the quality of service measured to a threshold.

10. The method of claim 1, wherein the particular packet header comprises a multiprotocol label switching header and wherein the particular field comprises a field of the multiprotocol label switching header.

11. The method of claim 1, wherein queuing the network packets includes:
dropping network packets not conforming to the plurality of service classes indicated by the first user input.

12. A network configuration system, comprising:
a processor; and
a non-transitory computer readable medium including processor-executable program instructions that, when executed by the processor, cause the processor to perform operations comprising:
receiving first user input, from a customer end user, the first user input indicative of:
a customer-selected parameter comprising a particular field of a particular packet header; and
a plurality of service classes for network packets sent to the customer end user;

modifying a network configuration to implement the plurality of service classes defined by the first user input, wherein a particular class of service is indicated by a value of the particular field of the particular packet header; and

queuing network packets sent to the customer end user based, at least in part, on values of the particular field of the particular packet header;
wherein the particular packet header comprises a multiprotocol label switching header and wherein the particular field comprises a field of the multiprotocol label switching header; and
wherein the first user input indicates a weighted mixture desired for the plurality of service classes and wherein the operations include:
detecting a difference between a weighted mixture of network packets sent to the customer end user differing from the weighted mixture desired; and
modifying the network configuration in accordance with the difference detected.

13. The system of claim 12, wherein the operations include:
validating the plurality of service classes defined by the first user input against service classes indicated in a service contract.

14. The system of claim 12, wherein modifying the network configuration comprises configuring routing devices on the network to respond to the value of the particular field of the particular packet header.

15. The system of claim 14, wherein configuring the routing devices includes configuring the routing devices to prioritize packets having the value of the particular field of the particular packet header.

16. The system of claim 12, wherein the operations include:
measuring a quality of service; and
comparing the quality of service measured to a threshold.

17. A non-transitory computer readable medium including processor-executable program instructions that, when executed by a processor, cause the processor to perform operations comprising:
receiving first user input, from a customer end user, the first user input indicative of:
a customer-selected parameter associated with a particular field of a particular packet header;
a plurality of service classes for network packets associated with the customer end user; and
a desired weighted mixture of the plurality of service classes;

validating the plurality of service classes defined by the first user input against service classes indicated in a service contract;
modifying a network configuration to implement the plurality of service classes defined by the first user input, wherein a particular class of service is indicated by a value of the particular field of the particular packet header;
queuing network packets associated with the customer end user based, at least in part, on values of the particular field of the particular packet header; and
responsive to obtaining information indicative of a difference between a weighted mixture of network packets sent to the customer end user and the desired weighted mixture, modifying the network configuration in accordance with the difference detected.

18. The computer readable medium of claim 17, wherein the operations include:
monitoring the weighted mixture of service classes for a plurality of network packets associated with the customer end user.

19. The computer readable medium of claim 17, wherein the operations include:
dropping network packets not conforming to the plurality of service classes indicated by the first user input.

20. The computer readable medium of claim 17, wherein the particular packet header comprises a multiprotocol label switching header and wherein the particular field comprises a field of the multiprotocol label switching header.