Question: what is nbar used for?
Answer: Network Based Application Recognition. Network Based Application Recognition (NBAR) is the mechanism used by some Cisco routers and switches to recognize a dataflow by inspecting some packets sent.