This is a draft cheat sheet. It is a work in progress and is not finished yet.
Initial Commands
colored CLI |
set cli mode -color ON |
User / Host / Time |
set cli prompt %u@%h-%T |
Show Basic Settings
Firmware Version |
show version |
Hostname |
show hostname |
Hardware Details |
show hardware |
Interfaces |
show interface -summary |
SSL Summary |
stat ssl |
HA node configuration |
show node |
NetScaler Configuration Info
Show IPs |
show ip |
Features |
show feature |
HA Modes |
show ns mode |
All Infos |
show info |
License Information |
show license |
Running Configuration |
show run | more |
Show Load Balancing
Show VServer |
show lb vserver <name> |
Show All VServers |
show lb vserver | more |
Show Service |
show service <srv> |
Show Service Group |
show servicegroup <srvgrp> |
Show Monitor |
show monitor <mon> |
Show Presistent Sessions |
show persistentsessions |
Troubleshoot AAA Problems
to monitor all authentication process:
shell
cat /tmp/aaa.debug |
|
|
Create LoadBalancing StoreFront
StoreFront Monitor
add lb monitor <StoreFront> STOREFRONT -scriptName nssf.pl -dispatcherIP 127.0.0.1 -dispatcherPort 3013 -secure YES -storename <Store>
Add StoreFront Server
add server <SF01> <IP1>
add server <SF02> <IP2>
Create Service Group
add serviceGroup svcgrp-StoreFront-SSL SSL -maxClient 0 -maxReq 0 -cip ENABLED X-Forwarded-For
bind serviceGroup svcgrp-StoreFront-SSL <SF01> 443
bind serviceGroup svcgrp-StoreFront-SSL <SF02> 443
bind serviceGroup svcgrp-StoreFront-SSL -monitorName <StoreFront>
Create VServer
add lb vserver <lbvip-StoreFront-SSL> SSL 10.2.2.221 443 -persistenceType SOURCEIP -timeout 60
bind lb vserver lbvip-StoreFront-SSL <svcgrp-StoreFront-SSL>
bind ssl vserver <lbvip-StoreFront-SSL> -certkeyName <WildCorpCom>
set ssl vserver <lbvip-StoreFront-SSL> -sslRedirect ENABLED -ssl3 DISABLED |
|
|
|