The "ip nbar protocol-discovery" command is applied on an interface to discover transitting traffic for all protocols known to NBAR. To display the gathered statistics, use the "show ip nbar protocol-discovery" command.
To enable NBAR do the following:
enable CEF, create a class-map to classify the protocol or application, create a policy-map for the class and attach the policy to an interface (service-policy command).
I have configured NBAR several times and never had to type it on the interface. I only typed the service policy command on the interface. I only used the protocol-discovery command later to view and verify the traffic pattern (with the show command).
It doesn't hurt typing in the command anyway, at least to give an indication of the traffic pattern (if you have no other way of doing that) before applying NBAR.
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.