Configuring Video Optimization over UDP
To optimize QUIC ABR video traffic over UDP, begin by enabling the video optimization feature. After you complete the configuration, the appliance detects QUIC based ABR video traffic and applies the optimization bit rate that is configured on the appliance.
Configuring video optimization for QUIC by using the CLI
To configure video optimization for QUIC video traffic over UDP, you must perform the following tasks:
- Enable Video Optimization.
- Create a QUIC service.
- Create a QUIC load balancing virtual server.
- Bind QUIC web service to the loading balancing virtual server.
- Create video optimization policy for pacing QUIC based UDP traffic.
- Bind optimization policy to a QUIC based load balancing virtual server.
Enabling video optimization for QUIC traffic
If you want the Citrix ADC appliance to detect, optimize, and report video traffic, you must enable the Video Optimization feature and set optimization ON.
Note
如果你想用视频优化QUIC交易ffic, you must enable the load balancing and AppFlow features.
To enable the video optimization
At the command prompt, type the following command:
enable ns feature VideoOptimization
Creating a service for QUIC traffic
A Citrix ADC appliance uses a QUIC service for the load balancing virtual server to connect to the egress router in the static routing mode.
Note
Currently, dynamic routing is not supported.
To create a load balancing web service for QUIC video traffic
At the command prompt, type:
add service -usip yes -useproxyport [yes | no]
Example:
add service svc-quic 10.102.29.200 QUIC 443 –usip yes –useproxyport no where IP address is the internet router address.
Creating a load balancing virtual server for QUIC traffic
A Citrix ADC appliance uses a load balancing virtual server for detecting and optimizing QUIC video traffic over UDP.
To create a load balancing virtual server for QUIC video traffic
At the command prompt, type:
add lb vserver -m MAC
Example:
加磅vserver vs-quic QUIC * 443 -persistenceTypeNONE -m MAC -cltTimeout 120
Binding a QUIC web service to the load balancing virtual server
After you have created the web services and load balancing virtual server for QUIC traffic, you must bind the services to the virtual server.
To bind a web service to load balancing virtual server for QUIC video traffic
At the command prompt, type:
bind lb vserver
Example:
bind lb vserver vs-quic svc-quic
Creating Video Optimization Policy for QUIC based UDP traffic
To optimize QUIC based UDP traffic, you have to configure optimization pacing policies and its actions. You must then, bind the policies to QUIC based load balancing virtual servers. For each policy, create an action first so that you can associate it to the policy.
To add an optimization action
At the command prompt, type:
add videooptimization pacingaction -rate [-comment ]
Where, therateparameter specifies the rate in Kbps at which to send the traffic (the pacing rate).
Example:
set videooptimization parameter -QUICPacingRate 1000
where 1000 represents the desired pacing rate in Kbits/sec.
To add an optimization policy
At the command prompt, type:
add videooptimization pacingpolicy -rule -action
Example:
add videooptimization pacingpolicy myOptPolicy2000 -rule TRUE -action MyOptAct2000
Binding Optimization Policies to a QUIC Load Balancing Virtual Server
To optimize QUIC video traffic over a UDP connection, you must bind the optimization policies to a QUIC load balancing virtual server.
To bind an optimization policy to a QUIC Load Balancing virtual server
At the command prompt, type the following command:
bind lb vserver -policyName -priority -type (REQUEST)
Note
The pacing policies must be bound to a QUIC load balancing virtual server only at request time.
Example:
bind lb vserver vs-quic -policyName myOptPolicy2000 -priority 3400 -type REQUEST
Configuring video optimization for QUIC by using the GUI
To configure the feature on the appliance through the GUI, you must perform the following tasks:
- Enable video optimization
- Configure a QUIC servers
- Configure QUIC service
- Configure a QUIC load balancing virtual server
- Bind the QUIC web service to the load balancing virtual server
- Create optimization policy.
- Create optimization action.
- Configuring optimization pacing parameter.
- Bind optimization policy to load balancing virtual server for QUIC traffic.
To enable video optimization
- Log on to the Citrix ADC appliance and navigate toSystem>Settings.
- On the details page, selectConfigure Advanced Featureslink.
- On theConfigure Advanced Featurespage, select theVideo Optimizationcheck box.
To create a QUIC servers
- Log on to the Citrix ADC appliance and navigate to theTraffic Management>Load Balancing>Serversscreen.
- In the details pane, clickAdd.
- On theCreate Serverpage, set the following parameters:
- Name. Name of the QUIC server.
- IP address. IP address of the QUIC server
- Traffic Domain. Domain name of the server.
- Enabling after creating. Initial state of the server.
- Comments. Brief information about the server.
- ClickCreate.
To create a QUIC service
- Log on to the Citrix ADC appliance and navigate to theTraffic Management>Load Balancing>Services screen.
- In the details pane, clickAdd.
- On theLoad Balancing Servicepage, set the following parameters:
- Service Name. Name of the QUIC service.
- IP address. IP address assigned to the QUIC service.
- Protocol. Select protocol as QUIC.
- Port. Port number of the web service.
- ClickOKto continue. You can then configure other, optional, parameters. For more, seeConfiguring Services.
- Once you configure the optional parameters, clickOKandClose.
To create a load balancing virtual server
- Log on to the Citrix ADC appliance and navigate to theTraffic Management>Load Balancing>Virtual Serversscreen.
- In the details pane, clickAdd.
- On theLoad Balancing Virtual Serverpage, set the following parameters:
- Name. Name of the load balancing virtual server.
- Protocol. The protocol used by the service to send QUIC requests.
- IP Address Type. IP address type: IPv4 or IPv6.
- IP Address. IP 4 or IP6 IP address assigned to the virtual server.
- Port. Port number of the virtual server.
- Click OK to continue with the configuration of other, optional, parameters. For more information, seeCreating a Virtual Server.
To bind a load balancing virtual server to a QUIC service
- Navigate toTraffic Management>Load Balancing>Virtual Servers, and select a virtual server.
- ClickServices and Service Groupsto access theLoad Balancing Virtual Server Service Bindingscreen.
- Select a QUIC based web service and clickBind.
- ClickDone.
To bind a load balancing virtual server to a QUIC service
- Navigate toTraffic Management>Load Balancing>Virtual Servers, and select a virtual server.
- ClickServices and Service Groupsto access theLoad Balancing Virtual Server Service Bindingscreen.
- Select a QUIC based web service and clickBind.
- ClickDone.
To create a video optimization action for QUIC traffic
- Log on to the Citrix ADC appliance and navigate toConfiguration>Optimization>VideoOptimization>Pacing>Actions.
- In the details pane, clickAdd.
- On theCreate Video Optimization Pacing Actionpage, set the following parameters.
- Name. Name of the optimization action.
- ABR Optimization Rate (Kbps).Pacing rate at which to send the ABR video traffic. The default rate for ABR optimization is 1000 Kbps. The minimum value is 1, and the maximum value is 2147483647.
- Comment. A short description of the action.
- ClickCreateandClose.
To create a video optimization policy for QUIC traffic
- Log on to the Citrix ADC appliance and navigate toConfiguration>Optimization>VideoOptimization>Pacing>Policies.
- In the details pane, clickAdd.
- On theCreate Video Optimization Pacing Policypage, set the following parameters.
- Name. Name of the optimization policy
- Expression. Custom regrex expressions that implement the policy.
- Action. Optimization action associated with the policy to handle the incoming video traffic.
- UNDEF Action. Undefined event if the incoming request does not match the optimization policy.
- Comment. A short description of the policy.
- Log Action. Select the audit log action that creates the desired log messages.
- ClickCreate, and then clickClose.
To bind a video optimization policy to an QUIC load balancing virtual server
- Log on to the Citrix ADC appliance and navigate toConfiguration>Optimization>VideoOptimization.
- On theVideo Optimizationpage, click theVideo Optimization Pacing Policy Managerlink.
- On theVideo Optimization Policy Managerpage, set the following parameters.
- Bind Point. The point at which to apply the optimization policy during request processing.Note: The pacing policies must be bound to a QUIC load balancing virtual server only at request time.
- Connection Type. Connection type as Request or Response.
- Virtual Server. The load balancing virtual server to which to bind the policy.
- ClickContinue.
- In theBind Pointsection, do one of the following:
- Select a policy from the list.
- ClickAdd Bindingto access thePolicies Bindingslider.
- Select an existing policy or add a new policy.
- Enter binding details and clickBind.
- ClickClose.