1186
Citrix ® NetScaler ® 9.3 Citrix NetScaler Command Reference Guide

NS Command Reference Guide 9.3

Embed Size (px)

Citation preview

Citrix NetScaler 9.3 Citrix NetScaler Command Reference Guide

2 | Citrix NetScaler 9.3 | Introduction

NoticeCopyright and Trademark Notice

CITRIX SYSTEMS, INC., 2011. ALL RIGHTS RESERVED. NO PART OF THIS DOCUMENT MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS OR USED TO MAKE DERIVATIVE WORK (SUCH AS TRANSLATION, TRANSFORMATION, OR ADAPTATION) WITHOUT THE EXPRESS WRITTEN PERMISSION OF CITRIX SYSTEMS, INC. ALTHOUGH THE MATERIAL PRESENTED IN THIS DOCUMENT IS BELIEVED TO BE ACCURATE, IT IS PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE ALL RESPONSIBILITY FOR THE USE OR APPLICATION OF THE PRODUCT(S) DESCRIBED IN THIS MANUAL. CITRIX SYSTEMS, INC. OR ITS SUPPLIERS DO NOT ASSUME ANY LIABILITY THAT MAY OCCUR DUE TO THE USE OR APPLICATION OF THE PRODUCT(S) DESCRIBED IN THIS DOCUMENT. INFORMATION IN THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. COMPANIES, NAMES, AND DATA USED IN EXAMPLES ARE FICTITIOUS UNLESS OTHERWISE NOTED. The following information is for FCC compliance of Class A devices: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio-frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case users will be required to correct the interference at their own expense. Modifying the equipment without Citrix' written authorization may result in the equipment no longer complying with FCC requirements for Class A digital devices. In that event, your right to use the equipment may be limited by FCC regulations, and you may be required to correct any interference to radio or television communications at your own expense. You can determine whether your equipment is causing interference by turning it off. If the interference stops, it was probably caused by the NetScaler Request Switch 9000 Series equipment. If the NetScaler equipment causes interference, try to correct the interference by using one or more of the following measures: Move the NetScaler equipment to one side or the other of your equipment. Move the NetScaler equipment farther away from your equipment. Plug the NetScaler equipment into an outlet on a different circuit from your equipment. (Make sure the NetScaler equipment and your equipment are on circuits controlled by different circuit breakers or fuses.) Modifications to this product not authorized by Citrix Systems, Inc., could void the FCC approval and negate your authority to operate the product.

4 | Citrix NetScaler 9.3 | Copyright and Trademark Notice

BroadCom is a registered trademark of BroadCom Corporation. Fast Ramp, NetScaler, and NetScaler Request Switch are trademarks of Citrix Systems, Inc. Linux is a registered trademark of Linus Torvalds. Internet Explorer, Microsoft, PowerPoint, Windows and Windows product names such as Windows NT are trademarks or registered trademarks of the Microsoft Corporation. NetScape is a registered trademark of Netscape Communications Corporation. Red Hat is a trademark of Red Hat, Inc. Sun and Sun Microsystems are registered trademarks of Sun Microsystems, Inc. Other brand and product names may be registered trademarks or trademarks of their respective holders. Software covered by the following third party copyrights may be included with this product and will also be subject to the software license agreement: Copyright 1998 Carnegie Mellon University. All rights reserved. Copyright David L. Mills 1993, 1994. Copyright 1992, 1993, 1994, 1997 Henry Spencer. Copyright Jean-loup Gailly and Mark Adler. Copyright 1999, 2000 by Jef Poskanzer. All rights reserved. Copyright Markus Friedl, Theo de Raadt, Niels Provos, Dug Song, Aaron Campbell, Damien Miller, Kevin Steves. All rights reserved. Copyright 1982, 1985, 1986, 1988-1991, 1993 Regents of the University of California. All rights reserved. Copyright 1995 Tatu Ylonen, Espoo, Finland. All rights reserved. Copyright UNIX System Laboratories, Inc. Copyright 2001 Mark R V Murray. Copyright 1995-1998 Eric Young. Copyright 1995,1996,1997,1998. Lars Fenneberg. Copyright 1992. Livingston Enterprises, Inc. Copyright 1992, 1993, 1994, 1995. The Regents of the University of Michigan and Merit Network, Inc. Copyright 1991-2, RSA Data Security, Inc. Created 1991. Copyright 1998 Juniper Networks, Inc. All rights reserved. Copyright 2001, 2002 Networks Associates Technology, Inc. All rights reserved. Copyright (c) 2002 Networks Associates Technology, Inc. Copyright 1999-2001 The Open LDAP Foundation. All Rights Reserved. Copyright 1999 Andrzej Bialecki. All rights reserved. Copyright 2000 The Apache Software Foundation. All rights reserved. Copyright (C) 2001-2003 Robert A. van Engelen, Genivia inc. All Rights Reserved. Copyright (c) 1997-2004 University of Cambridge. All rights reserved. Copyright (c) 1995. David Greenman. Copyright (c) 2001 Jonathan Lemon. All rights reserved. Copyright (c) 1997, 1998, 1999. Bill Paul. All rights reserved. Copyright (c) 1994-1997 Matt Thomas. All rights reserved. Copyright 2000 Jason L. Wright. Copyright 2000 Theo de Raadt. Copyright 2001 Patrik Lindergren. All rights reserved. Last Updated: March 2010 Document code: March 21 2011 06:30:14

Citrix NetScaler 9.3 | TOC | 5

ContentsPreface................................................................................................................................................................ 31

Chapter 1: Introduction - Classic CLI.........................................................33How to use This Reference.................................................................................................................... 34 Command Conventions.......................................................................................................................... 34 Command Line Overview...................................................................................................................... 35 Basic Command Line Usage...................................................................................................... 35 Advanced Command Line Usage...............................................................................................38

Chapter 2: Introduction - Contextual CLI..................................................43How to use This Reference.................................................................................................................... 44 Command Conventions.......................................................................................................................... 44 Command Line Overview...................................................................................................................... 45 Basic Command Line Usage...................................................................................................... 45 Advanced Command Line Usage...............................................................................................50

Chapter 3: AAA Commands.........................................................................55stat aaa.................................................................................................................................................... 57 show aaa stats......................................................................................................................................... 57 show aaa session.....................................................................................................................................58 kill aaa session........................................................................................................................................59 add aaa user............................................................................................................................................ 59 rm aaa user............................................................................................................................................. 60 set aaa user............................................................................................................................................. 60 bind aaa user...........................................................................................................................................61 unbind aaa user.......................................................................................................................................61 show aaa user......................................................................................................................................... 62 add aaa group......................................................................................................................................... 63 rm aaa group...........................................................................................................................................63 bind aaa group........................................................................................................................................ 64 unbind aaa group.................................................................................................................................... 65 show aaa group.......................................................................................................................................65 set aaa radiusParams...............................................................................................................................66 unset aaa radiusParams...........................................................................................................................68 show aaa radiusParams...........................................................................................................................68 set aaa ldapParams................................................................................................................................. 70 unset aaa ldapParams............................................................................................................................. 71 show aaa ldapParams............................................................................................................................. 71 set aaa tacacsParams...............................................................................................................................73 unset aaa tacacsParams...........................................................................................................................74 show aaa tacacsParams...........................................................................................................................74 set aaa certParams.................................................................................................................................. 75 unset aaa certParams.............................................................................................................................. 75 show aaa certParams.............................................................................................................................. 76 set aaa parameter.................................................................................................................................... 76 unset aaa parameter................................................................................................................................ 77 show aaa parameter................................................................................................................................ 77 add aaa preauthenticationaction............................................................................................................. 78

6 | Citrix NetScaler 9.3 | TOC

rm aaa preauthenticationaction...............................................................................................................78 set aaa preauthenticationaction...............................................................................................................79 unset aaa preauthenticationaction...........................................................................................................79 show aaa preauthenticationaction...........................................................................................................80 add aaa preauthenticationpolicy............................................................................................................. 81 rm aaa preauthenticationpolicy.............................................................................................................. 81 set aaa preauthenticationpolicy.............................................................................................................. 82 show aaa preauthenticationpolicy.......................................................................................................... 82 set aaa preauthenticationparameter........................................................................................................ 83 unset aaa preauthenticationparameter.................................................................................................... 84 show aaa preauthenticationparameter.................................................................................................... 84 bind aaa global....................................................................................................................................... 85 unbind aaa global................................................................................................................................... 85 show aaa global...................................................................................................................................... 85

Chapter 4: Application Firewall Commands.............................................. 87show appfw stats.................................................................................................................................... 89 stat appfw............................................................................................................................................... 89 add appfw fieldType...............................................................................................................................91 rm appfw fieldType................................................................................................................................ 91 set appfw fieldType................................................................................................................................ 92 show appfw fieldType............................................................................................................................ 92 set appfw settings................................................................................................................................... 93 unset appfw settings............................................................................................................................... 94 show appfw settings............................................................................................................................... 94 add appfw profile................................................................................................................................... 95 rm appfw profile...................................................................................................................................100 set appfw profile...................................................................................................................................101 unset appfw profile...............................................................................................................................106 bind appfw profile................................................................................................................................ 106 unbind appfw profile............................................................................................................................ 108 show appfw profile...............................................................................................................................110 stat appfw profile..................................................................................................................................118 add appfw policy.................................................................................................................................. 120 rm appfw policy................................................................................................................................... 121 set appfw policy................................................................................................................................... 121 show appfw policy............................................................................................................................... 121 bind appfw global.................................................................................................................................122 unbind appfw global.............................................................................................................................123 show appfw global............................................................................................................................... 123 set appfw learningsettings.................................................................................................................... 124 unset appfw learningsettings................................................................................................................ 126 show appfw learningsettings................................................................................................................ 126 rm appfw learningdata..........................................................................................................................127 show appfw learningdata......................................................................................................................128 add appfw confidField..........................................................................................................................129 rm appfw confidField........................................................................................................................... 130 set appfw confidField........................................................................................................................... 130 unset appfw confidField....................................................................................................................... 131 show appfw confidField....................................................................................................................... 131 rm appfw wsdl...................................................................................................................................... 132 rm appfw customSettings..................................................................................................................... 132 rm appfw signatures............................................................................................................................. 133 rm appfw xmlschema........................................................................................................................... 133 rm appfw xmlerrorpage........................................................................................................................ 134

Citrix NetScaler 9.3 | TOC | 7

rm appfw htmlerrorpage.......................................................................................................................134 show appfw wsdl.................................................................................................................................. 135 show appfw customSettings................................................................................................................. 135 show appfw signatures......................................................................................................................... 135 show appfw xmlschema....................................................................................................................... 136 show appfw xmlerrorpage.................................................................................................................... 136 show appfw htmlerrorpage...................................................................................................................137 import appfw wsdl................................................................................................................................137 import appfw customSettings...............................................................................................................138 import appfw signatures....................................................................................................................... 138 import appfw xmlschema..................................................................................................................... 139 import appfw xmlerrorpage..................................................................................................................140 import appfw htmlerrorpage.................................................................................................................140 update appfw customSettings...............................................................................................................141 update appfw signatures....................................................................................................................... 142 update appfw xmlerrorpage..................................................................................................................142 update appfw htmlerrorpage.................................................................................................................142

Chapter 5: Auditing Commands................................................................ 145stat audit............................................................................................................................................... 146 show audit stats.................................................................................................................................... 147 show audit messages............................................................................................................................ 147 add audit syslogAction......................................................................................................................... 147 rm audit syslogAction.......................................................................................................................... 148 set audit syslogAction.......................................................................................................................... 149 unset audit syslogAction...................................................................................................................... 150 show audit syslogAction...................................................................................................................... 150 add audit syslogPolicy..........................................................................................................................151 rm audit syslogPolicy........................................................................................................................... 152 set audit syslogPolicy........................................................................................................................... 152 unset audit syslogPolicy....................................................................................................................... 153 show audit syslogPolicy....................................................................................................................... 153 set audit syslogParams......................................................................................................................... 154 unset audit syslogParams..................................................................................................................... 155 show audit syslogParams..................................................................................................................... 156 add audit nslogAction...........................................................................................................................156 rm audit nslogAction............................................................................................................................ 157 set audit nslogAction............................................................................................................................ 158 unset audit nslogAction........................................................................................................................ 159 show audit nslogAction........................................................................................................................ 159 add audit nslogPolicy........................................................................................................................... 160 rm audit nslogPolicy.............................................................................................................................161 set audit nslogPolicy.............................................................................................................................161 unset audit nslogPolicy.........................................................................................................................162 show audit nslogPolicy.........................................................................................................................162 set audit nslogParams........................................................................................................................... 163 unset audit nslogParams....................................................................................................................... 164 show audit nslogParams....................................................................................................................... 165 add audit messageaction.......................................................................................................................165 rm audit messageaction........................................................................................................................ 166 set audit messageaction........................................................................................................................ 167 unset audit messageaction.................................................................................................................... 167 show audit messageaction.................................................................................................................... 168

8 | Citrix NetScaler 9.3 | TOC

Chapter 6: Authentication Commands......................................................171add authentication radiusAction...........................................................................................................173 rm authentication radiusAction............................................................................................................ 174 set authentication radiusAction............................................................................................................ 174 unset authentication radiusAction........................................................................................................ 176 show authentication radiusAction........................................................................................................ 176 add authentication ldapAction..............................................................................................................178 rm authentication ldapAction............................................................................................................... 179 set authentication ldapAction............................................................................................................... 180 unset authentication ldapAction........................................................................................................... 181 show authentication ldapAction........................................................................................................... 182 add authentication tacacsAction...........................................................................................................183 rm authentication tacacsAction............................................................................................................ 184 set authentication tacacsAction............................................................................................................ 184 unset authentication tacacsAction........................................................................................................ 185 show authentication tacacsAction........................................................................................................ 186 add authentication negotiateAction...................................................................................................... 187 rm authentication negotiateAction....................................................................................................... 187 set authentication negotiateAction....................................................................................................... 188 unset authentication negotiateAction................................................................................................... 188 show authentication negotiateAction................................................................................................... 189 add authentication certAction...............................................................................................................189 rm authentication certAction................................................................................................................ 190 set authentication certAction................................................................................................................ 191 unset authentication certAction............................................................................................................ 191 show authentication certAction............................................................................................................ 192 add authentication localPolicy............................................................................................................. 192 rm authentication localPolicy...............................................................................................................193 set authentication localPolicy...............................................................................................................193 unset authentication localPolicy...........................................................................................................194 show authentication localPolicy...........................................................................................................194 add authentication radiusPolicy........................................................................................................... 195 rm authentication radiusPolicy.............................................................................................................196 set authentication radiusPolicy.............................................................................................................196 unset authentication radiusPolicy.........................................................................................................197 show authentication radiusPolicy.........................................................................................................197 add authentication certPolicy............................................................................................................... 198 rm authentication certPolicy.................................................................................................................199 set authentication certPolicy.................................................................................................................199 unset authentication certPolicy.............................................................................................................200 show authentication certPolicy.............................................................................................................200 add authentication ldapPolicy.............................................................................................................. 201 rm authentication ldapPolicy................................................................................................................201 set authentication ldapPolicy................................................................................................................202 unset authentication ldapPolicy............................................................................................................202 show authentication ldapPolicy............................................................................................................203 add authentication tacacsPolicy........................................................................................................... 204 rm authentication tacacsPolicy.............................................................................................................204 set authentication tacacsPolicy.............................................................................................................205 unset authentication tacacsPolicy.........................................................................................................205 show authentication tacacsPolicy.........................................................................................................206 add authentication negotiatePolicy.......................................................................................................206 rm authentication negotiatePolicy........................................................................................................ 207 set authentication negotiatePolicy........................................................................................................ 207

Citrix NetScaler 9.3 | TOC | 9

unset authentication negotiatePolicy.................................................................................................... 208 show authentication negotiatePolicy.................................................................................................... 208 add authentication vserver....................................................................................................................209 rm authentication vserver..................................................................................................................... 210 set authentication vserver..................................................................................................................... 211 unset authentication vserver................................................................................................................. 212 bind authentication vserver.................................................................................................................. 212 unbind authentication vserver.............................................................................................................. 213 enable authentication vserver............................................................................................................... 213 disable authentication vserver.............................................................................................................. 214 show authentication vserver................................................................................................................. 214 stat authentication vserver.................................................................................................................... 218 rename authentication vserver..............................................................................................................219

Chapter 7: Authorization Commands....................................................... 221add authorization policy....................................................................................................................... 222 rm authorization policy........................................................................................................................ 222 set authorization policy........................................................................................................................ 223 unset authorization policy.................................................................................................................... 223 show authorization policy.................................................................................................................... 224 add authorization policylabel............................................................................................................... 225 rm authorization policylabel.................................................................................................................225 bind authorization policylabel.............................................................................................................. 226 unbind authorization policylabel.......................................................................................................... 226 show authorization policylabel.............................................................................................................227 stat authorization policylabel............................................................................................................... 228

Chapter 8: Base Commands....................................................................... 231restart dbsMonitors...............................................................................................................................233 clear locationData.................................................................................................................................233 show servicegroupbindings.................................................................................................................. 233 stat serviceGroupMember.................................................................................................................... 234 show configstatus................................................................................................................................. 235 add location.......................................................................................................................................... 236 rm location............................................................................................................................................236 show location........................................................................................................................................237 set locationParameter........................................................................................................................... 238 unset locationParameter....................................................................................................................... 239 show locationParameter....................................................................................................................... 239 add locationFile.................................................................................................................................... 240 rm locationFile..................................................................................................................................... 241 show locationFile................................................................................................................................. 241 add server............................................................................................................................................. 242 rm server...............................................................................................................................................243 set server...............................................................................................................................................243 unset server...........................................................................................................................................244 enable server.........................................................................................................................................245 disable server........................................................................................................................................245 show server...........................................................................................................................................246 rename server....................................................................................................................................... 248 add service............................................................................................................................................248 rm service............................................................................................................................................. 251 set service............................................................................................................................................. 252 unset service......................................................................................................................................... 254

10 | Citrix NetScaler 9.3 | TOC

bind service.......................................................................................................................................... 255 unbind service...................................................................................................................................... 255 enable service....................................................................................................................................... 256 disable service...................................................................................................................................... 257 show service......................................................................................................................................... 258 rename service......................................................................................................................................262 stat service............................................................................................................................................ 262 add serviceGroup..................................................................................................................................264 rm serviceGroup................................................................................................................................... 267 set serviceGroup................................................................................................................................... 267 unset serviceGroup............................................................................................................................... 269 bind serviceGroup................................................................................................................................ 270 unbind serviceGroup............................................................................................................................ 271 enable serviceGroup............................................................................................................................. 271 disable serviceGroup............................................................................................................................ 272 show serviceGroup............................................................................................................................... 273 stat serviceGroup..................................................................................................................................276 rename serviceGroup............................................................................................................................277 rm vserver.............................................................................................................................................277 set vserver.............................................................................................................................................278 unset vserver.........................................................................................................................................279 enable vserver.......................................................................................................................................279 disable vserver......................................................................................................................................280 show vserver.........................................................................................................................................280 set uiinternal......................................................................................................................................... 284 unset uiinternal..................................................................................................................................... 284 show uiinternal..................................................................................................................................... 285 enable reporting....................................................................................................................................286 disable reporting................................................................................................................................... 286 show reporting......................................................................................................................................286

Chapter 9: Integrated Caching Commands.............................................. 289show cache object.................................................................................................................................291 expire cache object............................................................................................................................... 294 flush cache object................................................................................................................................. 295 show cache stats................................................................................................................................... 295 stat cache.............................................................................................................................................. 296 add cache policy................................................................................................................................... 299 rm cache policy.................................................................................................................................... 300 set cache policy.................................................................................................................................... 301 unset cache policy................................................................................................................................ 302 show cache policy................................................................................................................................ 302 stat cache policy................................................................................................................................... 304 rename cache policy............................................................................................................................. 305 add cache policylabel........................................................................................................................... 305 rm cache policylabel.............................................................................................................................306 bind cache policylabel.......................................................................................................................... 306 unbind cache policylabel...................................................................................................................... 307 show cache policylabel.........................................................................................................................308 stat cache policylabel........................................................................................................................... 309 rename cache policylabel..................................................................................................................... 309 bind cache global..................................................................................................................................310 unbind cache global..............................................................................................................................310 show cache global................................................................................................................................ 311 add cache contentGroup....................................................................................................................... 312

Citrix NetScaler 9.3 | TOC | 11

rm cache contentGroup........................................................................................................................ 315 set cache contentGroup........................................................................................................................ 316 unset cache contentGroup.................................................................................................................... 318 show cache contentGroup.................................................................................................................... 319 expire cache contentGroup...................................................................................................................321 flush cache contentGroup.....................................................................................................................322 add cache forwardProxy.......................................................................................................................322 rm cache forwardProxy........................................................................................................................ 323 show cache forwardProxy.................................................................................................................... 323 add cache selector.................................................................................................................................324 rm cache selector.................................................................................................................................. 324 set cache selector.................................................................................................................................. 325 show cache selector.............................................................................................................................. 325 set cache parameter.............................................................................................................................. 326 unset cache parameter.......................................................................................................................... 327 show cache parameter.......................................................................................................................... 328

Chapter 10: CLI Commands...................................................................... 331show cli attribute.................................................................................................................................. 332 clear cli prompt.....................................................................................................................................332 cls......................................................................................................................................................... 332 alias.......................................................................................................................................................333 unalias...................................................................................................................................................333 batch..................................................................................................................................................... 333 source................................................................................................................................................... 334 help....................................................................................................................................................... 334 history...................................................................................................................................................335 man....................................................................................................................................................... 336 quit........................................................................................................................................................336 exit........................................................................................................................................................ 336 whoami................................................................................................................................................. 337 config....................................................................................................................................................337 set cli mode...........................................................................................................................................337 unset cli mode.......................................................................................................................................338 show cli mode.......................................................................................................................................338 set cli prompt........................................................................................................................................ 339 show cli prompt.................................................................................................................................... 340

Chapter 11: Compression Commands....................................................... 341stat cmp................................................................................................................................................ 342 show cmp stats..................................................................................................................................... 344 add cmp action..................................................................................................................................... 345 rm cmp action.......................................................................................................................................345 show cmp action...................................................................................................................................346 add cmp policy..................................................................................................................................... 346 rm cmp policy.......................................................................................................................................347 set cmp policy.......................................................................................................................................348 unset cmp policy...................................................................................................................................348 show cmp policy...................................................................................................................................349 bind cmp global.................................................................................................................................... 351 unbind cmp global................................................................................................................................ 351 show cmp global...................................................................................................................................352 add cmp policylabel............................................................................................................................. 353 rm cmp policylabel...............................................................................................................................353

12 | Citrix NetScaler 9.3 | TOC

bind cmp policylabel............................................................................................................................ 354 unbind cmp policylabel........................................................................................................................ 354 show cmp policylabel...........................................................................................................................355 set cmp parameter.................................................................................................................................356 unset cmp parameter.............................................................................................................................357 show cmp parameter.............................................................................................................................358

Chapter 12: Cache Redirection Commands..............................................361add cr policy......................................................................................................................................... 362 rm cr policy.......................................................................................................................................... 362 set cr policy.......................................................................................................................................... 363 show cr policy...................................................................................................................................... 364 add cr vserver....................................................................................................................................... 365 rm cr vserver.........................................................................................................................................368 set cr vserver.........................................................................................................................................369 unset cr vserver.....................................................................................................................................371 bind cr vserver...................................................................................................................................... 371 unbind cr vserver.................................................................................................................................. 372 enable cr vserver...................................................................................................................................372 disable cr vserver..................................................................................................................................373 show cr vserver.....................................................................................................................................374 stat cr vserver....................................................................................................................................... 376 rename cr vserver................................................................................................................................. 377

Chapter 13: Content Switching Commands..............................................379add cs policy.........................................................................................................................................380 rm cs policy.......................................................................................................................................... 381 set cs policy.......................................................................................................................................... 381 unset cs policy...................................................................................................................................... 382 show cs policy...................................................................................................................................... 382 add cs policylabel................................................................................................................................. 383 rm cs policylabel.................................................................................................................................. 384 bind cs policylabel................................................................................................................................384 unbind cs policylabel............................................................................................................................385 show cs policylabel.............................................................................................................................. 385 add cs vserver....................................................................................................................................... 386 rm cs vserver........................................................................................................................................ 390 set cs vserver........................................................................................................................................ 391 unset cs vserver.................................................................................................................................... 394 bind cs vserver......................................................................................................................................395 unbind cs vserver..................................................................................................................................395 enable cs vserver.................................................................................................................................. 396 disable cs vserver................................................................................................................................. 396 show cs vserver.................................................................................................................................... 397 stat cs vserver....................................................................................................................................... 401 rename cs vserver................................................................................................................................. 402

Chapter 14: DB Commands........................................................................405add db user........................................................................................................................................... 406 rm db user.............................................................................................................................................406 set db user.............................................................................................................................................407 show db user.........................................................................................................................................407

Citrix NetScaler 9.3 | TOC | 13

Chapter 15: DNS Commands..................................................................... 409flush dns proxyRecords........................................................................................................................ 411 stat dns..................................................................................................................................................411 stat dns records..................................................................................................................................... 414 show dns stats.......................................................................................................................................415 create dns key....................................................................................................................................... 415 add dns aaaaRec................................................................................................................................... 416 rm dns aaaaRec.....................................................................................................................................417 show dns aaaaRec.................................................................................................................................417 add dns addRec.....................................................................................................................................418 rm dns addRec...................................................................................................................................... 419 show dns addRec.................................................................................................................................. 419 add dns cnameRec................................................................................................................................ 420 rm dns cnameRec................................................................................................................................. 421 show dns cnameRec............................................................................................................................. 421 add dns mxRec..................................................................................................................................... 422 rm dns mxRec.......................................................................................................................................422 set dns mxRec.......................................................................................................................................423 unset dns mxRec...................................................................................................................................424 show dns mxRec...................................................................................................................................424 add dns nsRec.......................................................................................................................................425 rm dns nsRec........................................................................................................................................ 425 show dns nsRec.................................................................................................................................... 426 add dns ptrRec...................................................................................................................................... 427 rm dns ptrRec....................................................................................................................................... 427 show dns ptrRec................................................................................................................................... 428 add dns srvRec..................................................................................................................................... 429 rm dns srvRec.......................................................................................................................................429 set dns srvRec.......................................................................................................................................430 unset dns srvRec...................................................................................................................................431 show dns srvRec...................................................................................................................................431 set dns parameter.................................................................................................................................. 432 unset dns parameter.............................................................................................................................. 433 show dns parameter.............................................................................................................................. 433 add dns soaRec..................................................................................................................................... 434 rm dns soaRec...................................................................................................................................... 435 set dns soaRec...................................................................................................................................... 436 unset dns soaRec.................................................................................................................................. 437 show dns soaRec.................................................................................................................................. 437 add dns suffix....................................................................................................................................... 438 rm dns suffix.........................................................................................................................................439 show dns suffix.....................................................................................................................................439 add dns nameServer............................................................................................................................. 440 rm dns nameServer...............................................................................................................................440 enable dns nameServer.........................................................................................................................441 disable dns nameServer........................................................................................................................ 442 show dns nameServer...........................................................................................................................442 add dns view.........................................................................................................................................443 rm dns view.......................................................................................................................................... 443 show dns view...................................................................................................................................... 444 add dns policy.......................................................................................................................................445 rm dns policy........................................................................................................................................ 445 set dns policy........................................................................................................................................ 446 show dns policy.................................................................................................................................... 447

14 | Citrix NetScaler 9.3 | TOC

bind dns global..................................................................................................................................... 448 unbind dns global................................................................................................................................. 448 show dns global.................................................................................................................................... 448 add dns zone......................................................................................................................................... 449 set dns zone.......................................................................................................................................... 450 unset dns zone...................................................................................................................................... 450 rm dns zone.......................................................................................................................................... 451 sign dns zone........................................................................................................................................ 451 unsign dns zone.................................................................................................................................... 452 show dns zone...................................................................................................................................... 452 add dns key...........................................................................................................................................453 set dns key............................................................................................................................................ 454 unset dns key........................................................................................................................................ 455 rm dns key............................................................................................................................................ 455 show dns key........................................................................................................................................ 456 show dns nsecRec.................................................................................................................................457

Chapter 16: DoS Commands...................................................................... 459stat dos..................................................................................................................................................460 show dos stats.......................................................................................................................................460 add dos policy.......................................................................................................................................460 rm dos policy........................................................................................................................................ 461 set dos policy........................................................................................................................................ 461 unset dos policy.................................................................................................................................... 462 show dos policy.................................................................................................................................... 463 stat dos policy.......................................................................................................................................463

Chapter 17: Filter Commands....................................................................465set filter prebodyInjection.................................................................................................................... 466 unset filter prebodyInjection................................................................................................................ 466 show filter prebodyInjection................................................................................................................ 466 set filter postbodyInjection...................................................................................................................467 unset filter postbodyInjection...............................................................................................................467 show filter postbodyInjection...............................................................................................................468 add filter action.....................................................................................................................................468 rm filter action...................................................................................................................................... 469 set filter action...................................................................................................................................... 469 unset filter action.................................................................................................................................. 470 show filter action.................................................................................................................................. 471 add filter htmlinjectionvariable............................................................................................................ 472 rm filter htmlinjectionvariable............................................................................................................. 472 set filter htmlinjectionvariable............................................................................................................. 473 unset filter htmlinjectionvariable......................................................................................................... 473 show filter htmlinjectionvariable......................................................................................................... 474 set filter htmlinjectionparameter.......................................................................................................... 474 unset filter htmlinjectionparameter...................................................................................................... 475 show filter htmlinjectionparameter...................................................................................................... 475 add filter policy.................................................................................................................................... 476 rm filter policy......................................................................................................................................477 set filter policy......................................................................................................................................477 unset filter policy..................................................................................................................................478 show filter policy..................................................................................................................................479 bind filter global................................................................................................................................... 480 unbind filter global............................................................................................................................... 480

Citrix NetScaler 9.3 | TOC | 15

show filter global..................................................................................................................................481

Chapter 18: GSLB Commands...................................................................483show gslb runningConfig..................................................................................................................... 485 stat gslb domain....................................................................................................................................485 clear gslb ldnsentries............................................................................................................................ 485 add gslb site.......................................................................................................................................... 486 rm gslb site........................................................................................................................................... 487 set gslb site........................................................................................................................................... 487 unset gslb site....................................................................................................................................... 488 show gslb site....................................................................................................................................... 488 stat gslb site.......................................................................................................................................... 490 add gslb service.................................................................................................................................... 491 rm gslb service..................................................................................................................................... 494 set gslb service..................................................................................................................................... 494 unset gslb service................................................................................................................................. 496 bind gslb service...................................................................................................................................496 unbind gslb service...............................................................................................................................497 show gslb service................................................................................................................................. 497 stat gslb service.................................................................................................................................... 500 rename gslb service.............................................................................................................................. 502 add gslb vserver....................................................................................................................................502 rm gslb vserver..................................................................................................................................... 505 set gslb vserver..................................................................................................................................... 506 unset gslb vserver................................................................................................................................. 508 bind gslb vserver.................................................................................................................................. 509 unbind gslb vserver.............................................................................................................................. 509 enable gslb vserver............................................................................................................................... 510 disable gslb vserver.............................................................................................................................. 511 show gslb vserver................................................................................................................................. 511 stat gslb vserver.................................................................................................................................... 515 rename gslb vserver..............................................................................................................................517 set gslb parameter.................................................................................................................................517 unset gslb parameter.............................................................................................................................518 show gslb parameter.............................................................................................................................518 add gslb policy..................................................................................................................................... 519 rm gslb policy.......................................................................................................................................520 set gslb policy.......................................................................................................................................520 show gslb policy...................................................................................................................................521 add gslb action......................................................................................................................................521 rm gslb action....................................................................................................................................... 522 set gslb action....................................................................................................................................... 522 show gslb action................................................................................................................................... 523 show gslb ldnsentries........................................................................................................................... 523 rm gslb ldnsentry.................................................................................................................................. 524 sync gslb config....................................................................................................................................524 show gslb syncStatus............................................................................................................................525

Chapter 19: High Availability Commands................................................ 527force HA sync.......................................................................................................................................528 sync HA files........................................................................................................................................ 528