-
-
Advanced Policy Expressions: Working with Dates, Times, and Numbers
-
Advanced Policy Expressions: Parsing HTTP, TCP, and UDP Data
-
Advanced Policy Expressions: IP and MAC Addresses, Throughput, VLAN IDs
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Preconfiguration check tool
Note:
You can download the NSPEPI and preconfig check tool from public GitHub. For more information, see GitHub NEPEPI page and GitHub preconfig page for detailed instructions to download the tools. We recommend customers to use the tools available in GitHub for the most complete and up-to-date version.
A pre-validation tool is available in the NetScaler 12.1, 13.0 and 13.1 versions to check if any invalid or removed functionality is still used in any feature configuration. The tools validate the nsconfig
file if it contains commands or parameters in a command that has been removed in the NetScaler 13.1 version. If the validation result shows usage of removed or invalid commands, then before upgrading your appliance, you must first modify the configuration to the Citrix recommended alternative.
The tool also validates the usage of Classic policy expressions used in feature configuration that does not support Classic policies. You can modify either manually or use the nspepi
tool.
The tool validates the following usage:
- Classic policy expressions in Content Switching, Cache Redirection, AppFW, SSL, and CMP features.
- Filter feature (also known as Content Filtering) - actions, policies, and binding
- SPDY in HTTP profile, sure connect (SC), priority queuing (PQ), HTTP Denial of Service (DoS), and HTML Injection features.
- Classic expressions in load balancing persistence rules.
- “Pattern” and “bypassSafetyCheck” parameters in Rewrite actions.
- “patclass” configuration entity.
- “HTTP.REQ.BODY” with no argument in Advanced expressions.
- Q and S prefixes in Advanced expressions.
- “PolicyType” parameter for the cmp parameter setting.
Run pre-revalidation tool in UNIX Shell
At the command prompt, type:
check_invalid_config <config_file>
<!--NeedCopy-->
Example:
root@ns# check_invalid_config /nsconfig/ns.conf -buildVersion 13.1
Where, config file is NetScaler configuration file. The file must be from a saved configuration such as ns.conf
.
Sample output with validation errors
Following is a sample output of the configuration file with errors in NetScaler version 13.1:
add cmp policy cmp_pol -rule ns_true -resAction GZIP
add cs policy cs_pol_2 -rule ns_true
add cs policy cs_pol_3 -domain www.abc.com
add cs policy cs_pol_4 -url "/abc"
add rewrite action act_1 replace_all "http.req.body(1000)" http.req.url -pattern abcd
add rewrite action act_123 replace_all http.req.url "\"aaaa\"" -pattern abcd
add responder action ract respondwith "Q.URL + Q.HEADER(\"abcd\")"
add appfw policy aff_pol_1 "http.req.body.length.gt(10)" APPFW_BYPASS
add appfw policy aff_pol ns_true APPFW_BYPASS
<!--NeedCopy-->
Upon getting these errors, you can use the nspepi
upgrade tool to convert your configuration or manually convert your configuration. For more information, see nspepi tool topic.
Note:
You can run the
nspepi
tool only on NetScaler version 12.1, 13.0 and later versions.
Sample output with no validation errors
Following is a sample output of the configuration file with no removed or invalid configuration:
root@ns# check_invalid_config /var/tmp/new_ns.conf
No issue detected with the configuration.
root@ns#
<!--NeedCopy-->
Share
Share
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.