Chapter 8: Using the Command Line Interface436Entering Diagnostic ModeDiagnostic commands function in the diagnostic mode only.To enter the diagnostic mode:1. Enter either of the following modes: Administrator mode: The # prompt is displayed. User mode: The > prompt is displayed.2. Type diag and press Enter. The diag# or diag> prompt appears,indicating that you have entered the diagnostic mode.3. Now you can type any diagnostic commands for troubleshooting.Quitting Diagnostic ModeTo quit the diagnostic mode, use this command:diag> exitThe # or > prompt appears after pressing Enter, indicating that you haveentered the administrator or user mode. See Different CLI Modes andPrompts (on page 313).Diagnostic CommandsThe diagnostic command syntax varies from command to command.Querying DNS ServersThis command syntax queries Internet domain name server (DNS)information of a network host.diag> nslookup Variables: is the name or IP address of the host whose DNS informationyou want to query.