|
| 1 | +#NS13.0 Build 84.11 |
| 2 | +# Last modified Fri Dec 31 12:00:01 2021 |
| 3 | +set system parameter -promptString "%u@%h-%T" -maxClient 40 -doppler DISABLED |
| 4 | +set ns httpProfile nshttp_default_profile -dropInvalReqs ENABLED |
| 5 | +set ns param -timezone "GMT+00:00-UTC" |
| 6 | +set ssl service nshttps-::1l-443 -ssl3 disabled -tls1 disabled |
| 7 | +set ssl service nshttps-127.0.0.1-443 -ssl3 disabled -tls1 disabled |
| 8 | +set ssl parameter -defaultProfile ENABLED |
| 9 | +enable ns feature WL SP LB CS SSL CF REWRITE RESPONDER |
| 10 | +add route 192.168.0.0 255.255.0.0 |
| 11 | +set ns encryptionParams -method AES256 -keyValue abcdef1234 -encrypted -encryptmethod ENCMTHD_3 -kek -suffix some_string |
| 12 | +set system user nsroot abcdef1234 -encrypted -hashmethod SHA512 -externalAuth DISABLED -timeout 900 |
| 13 | +set HA node -failSafe ON |
| 14 | +set ns rpcNode 203.0.113.1 -password abcdef1234 -encrypted -encryptmethod ENCMTHD_3 -kek -suffix some_string -srcIP 203.0.113.1 |
| 15 | +set ns rpcNode 203.0.113.1 -password abcdef1234 -encrypted -encryptmethod ENCMTHD_3 -kek -suffix some_string -srcIP 203.0.113.1 |
| 16 | +add authentication tacacsAction AAA_ACT_TACACS_01 -serverIP 203.0.113.1 -authTimeout 10 -tacacsSecret abcdef1234 -authorization OFF -accounting ON -groupAttrName memberof |
| 17 | +add authentication tacacsAction AAA_ACT_TACACS_02 -serverIP 203.0.113.1 -authTimeout 10 -tacacsSecret abcdef1234 -authorization OFF -accounting ON -groupAttrName memberof |
| 18 | +add authentication Policy AAA_POL_TACACS_01 -rule true -action AAA_ACT_TACACS_01 |
| 19 | +add authentication Policy AAA_POL_TACACS_02 -rule true -action AAA_ACT_TACACS_02 |
| 20 | +bind system global AAA_POL_TACACS_01 -priority 10 -gotoPriorityExpression NEXT |
| 21 | +bind system global AAA_POL_TACACS_02 -priority 20 -gotoPriorityExpression NEXT |
| 22 | +add system group Admin -timeout 900 |
| 23 | +bind system group Admin -policyName superuser 100 |
| 24 | +add system group Support -timeout 900 |
| 25 | +bind system group Support -policyName XX-CMD-read-only 100 |
| 26 | +bind system group Support -policyName XX-CMD-partition-read-only 110 |
| 27 | +add system group Networking -timeout 900 |
| 28 | +bind system group Networking -policyName XX-CMD-operator 100 |
| 29 | +bind system group Networking -policyName XX-CMD-partition-operator 110 |
| 30 | +add system cmdPolicy XX-CMD-read-only ALLOW (^man.*)|(^show\s+(\?!system)(\?!configstatus)(\?!audit messages)(\?!techsupport).*)|(^stat.*) |
| 31 | +add system cmdPolicy XX-CMD-operator ALLOW (^show.*)|(^stat.*)|(^(enable|disable) (server|service).*) |
| 32 | +add system cmdPolicy XX-CMD-partition-read-only ALLOW (^man.*)|(^switch)|(^show\s+(\?!system)(\?!configstatus)(\?!audit messages)(\?!techsupport).*)|(^stat.*) |
| 33 | +add system cmdPolicy XX-CMD-partition-operator ALLOW (^man.*)|(^switch)|(^show\s+(\?!system)(\?!configstatus)(\?!audit messages)(\?!techsupport).*)|(^stat.*)|(^(enable|disable) (server|service).*) |
| 34 | +set audit syslogParams -userDefinedAuditlog YES |
| 35 | +set audit nslogParams -userDefinedAuditlog YES |
| 36 | +add audit syslogAction sys_act_fdi_rsyslog 203.0.113.1 -logLevel EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFORMATIONAL -timeZone LOCAL_TIME -userDefinedAuditlog YES -transport UDP |
| 37 | +add audit syslogPolicy sys_pol_fdi true sys_act_fdi_rsyslog |
| 38 | +bind audit syslogGlobal -policyName sys_pol_fdi -priority 2000000010 |
| 39 | +set snmp alarm CPU-USAGE -thresholdValue 95 -normalValue 35 -severity Informational |
| 40 | +set snmp alarm HA-STATE-CHANGE -severity Informational |
| 41 | +set snmp alarm IP-CONFLICT -severity Warning |
| 42 | +set snmp alarm MEMORY -thresholdValue 95 -normalValue 35 -severity Critical |
| 43 | +set snmp alarm POWER-SUPPLY-FAILURE -severity Minor |
| 44 | +set snmp alarm SSL-CARD-FAILED -severity Minor |
| 45 | +set snmp alarm SSL-CERT-EXPIRY -severity Warning |
| 46 | +add snmp view READ 1 -type included |
| 47 | +add snmp group NETMON-GROUP authpriv -readViewName READ |
| 48 | +add snmp user monitoring -group NETMON-GROUP -authType SHA -authpasswd abcdef1234 -privType AES -privpasswd abcdef1234 |
| 49 | +add ssl cipher XX-CIPHER-GROUP_1.0_v01 |
| 50 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1.2-ECDHE-RSA-AES256-GCM-SHA384 |
| 51 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1.2-ECDHE-RSA-AES128-GCM-SHA256 |
| 52 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1.2-ECDHE-RSA-AES-256-SHA384 |
| 53 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1.2-ECDHE-RSA-AES-128-SHA256 |
| 54 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1-ECDHE-RSA-AES256-SHA |
| 55 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1-ECDHE-RSA-AES128-SHA |
| 56 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1.2-DHE-RSA-AES256-GCM-SHA384 |
| 57 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1.2-DHE-RSA-AES128-GCM-SHA256 |
| 58 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1-DHE-RSA-AES-256-CBC-SHA |
| 59 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1-DHE-RSA-AES-128-CBC-SHA |
| 60 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1-AES-256-CBC-SHA |
| 61 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName TLS1-AES-128-CBC-SHA |
| 62 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v01 -cipherName SSL3-DES-CBC3-SHA |
| 63 | +add ssl cipher XX-CIPHER-GROUP_1.2_v01 |
| 64 | +bind ssl cipher XX-CIPHER-GROUP_1.2_v01 -cipherName TLS1.2-ECDHE-RSA-AES256-GCM-SHA384 |
| 65 | +bind ssl cipher XX-CIPHER-GROUP_1.2_v01 -cipherName TLS1.2-ECDHE-RSA-AES128-GCM-SHA256 |
| 66 | +bind ssl cipher XX-CIPHER-GROUP_1.2_v01 -cipherName TLS1.2-ECDHE-RSA-AES-256-SHA384 |
| 67 | +bind ssl cipher XX-CIPHER-GROUP_1.2_v01 -cipherName TLS1.2-ECDHE-RSA-AES-128-SHA256 |
| 68 | +add ssl cipher XX-CIPHER-GROUP_1.2_v02 |
| 69 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1.2-ECDHE-RSA-CHACHA20-POLY1305 |
| 70 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1.2-ECDHE-RSA-AES256-GCM-SHA384 |
| 71 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1.2-ECDHE-RSA-AES128-GCM-SHA256 |
| 72 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1.2-ECDHE-RSA-AES-256-SHA384 |
| 73 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1.2-ECDHE-RSA-AES-128-SHA256 |
| 74 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1-ECDHE-RSA-AES256-SHA |
| 75 | +bind ssl cipher XX-CIPHER-GROUP_1.0_v03 -cipherName TLS1-ECDHE-RSA-AES128-SHA |
| 76 | +add ssl cipher XX-CIPHER-LIST_256 |
| 77 | +bind ssl cipher XX-CIPHER-LIST_256 -cipherName TLS1.2-ECDHE-RSA-AES256-GCM-SHA384 -cipherPriority 1 |
| 78 | +bind ssl cipher XX-CIPHER-LIST_256 -cipherName TLS1.2-ECDHE-RSA-AES-256-SHA384 -cipherPriority 2 |
| 79 | +bind ssl cipher XX-CIPHER-LIST_256 -cipherName TLS1-ECDHE-RSA-AES256-SHA -cipherPriority 3 |
| 80 | +bind ssl cipher XX-CIPHER-LIST_256 -cipherName TLS1.2-AES256-GCM-SHA384 -cipherPriority 4 |
| 81 | +bind ssl cipher XX-CIPHER-LIST_256 -cipherName TLS1.2-AES-256-SHA256 -cipherPriority 5 |
| 82 | +bind ssl cipher XX-CIPHER-LIST_256 -cipherName TLS1-AES-256-CBC-SHA -cipherPriority 6 |
| 83 | +add ssl profile XX-SSL-Profile_1.0_v01 -eRSA ENABLED -eRSACount 1800 -sessReuse ENABLED -sessTimeout 1800 -ssl3 DISABLED -denySSLReneg ALL |
| 84 | +add ssl profile XX-SSL-Profile_1.2_v01 -eRSA ENABLED -eRSACount 1800 -sessReuse ENABLED -sessTimeout 1800 -ssl3 DISABLED -tls1 DISABLED -tls11 DISABLED -denySSLReneg ALL |
| 85 | +add ssl profile XX-SSL-Profile_1.2_v02 -eRSA ENABLED -eRSACount 1800 -sessReuse ENABLED -sessTimeout 1800 -ssl3 DISABLED -tls1 DISABLED -tls11 DISABLED -denySSLReneg NONSECURE |
0 commit comments