To run commands using the Cisco Nexus on-box Python CLI and receive raw (non-JSON) output, you must use the cli() function. The cli() method returns plain CLI output, while clid() returns structured JSON. Thus: * cli("...") is used for raw CLI output. * Chaining commands in one string (like in options A and B) is not recommended and may fail depending on syntax and prompt state.