Just putting these two here as a reference to myself (no idea why coz I am sure I’ll just Google and find them later when I need to :p)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# setting IP set ns config [-IPAddress <ip_addr> -netmask <netmask>] # view IP show ns config # adding route add route <network> <netmask> <gateway>[-cost <positive_integer>] [-advertise ( DISABLED | ENABLED )] # show route show route [<network> <netmask> [<gateway>]] [<routeType>] [-detail] # remove route rm route <network> <netmask> <gateway> |
As an aside (to this aside):
- The NetScaler config is stored as
ns.conf
at/nsconfig
. - Older versions have a .0, .1, .2, etc suffixed to the filename.
- Backups are stored in
/var/ns_sys_backup
. - More info on backups etc.