- Create the authentication profile and set the required parameters.
For example, to create a profile with an authentication virtual server named "authVS".
ns-cli-prompt> add authentication authnProfile authProfile1 -authnVsName authVS -authenticationHost authnVS.example.com -authenticationDomain example.com -authenticationLevel
Note: The authentication weight or level will depend on the virtual server to which the traffic will bound. A session that is created by authenticating against traffic management virtual server at given level cannot be used to access traffic management virtual server at a higher level.
2. Bind the authentication profile to the relevant traffic management virtual servers.
For example, to bind authProfile1 to a load balancing virtual server named "vserver1".
ns-cli-prompt> set lb vserver vserver1 -authnProfile authProfile1