2V0-41-24 practice question 19 of 25

Which CLI command shows syslog on NSX Manager?

Full set: 114 questions
Answer options
A: (show log manager follow
B: gee log-file syslog Correct answer
C: [get log-file auch.log
D: /var/log/syslog/syslog.log
Correct Answer:
B. gee log-file syslog
Explanation

The NSX Manager appliance command-line interface (CLI) provides specific commands for administration and troubleshooting. To view the contents of log files, the get log-file command is used. The question specifically asks for the command to show the syslog. The correct syntax is get log-file , where is the name of the desired log. Therefore, get log-file syslog is the precise command to display the system log file on an NSX Manager node.

Why Incorrect

A. get log manager follow This command is syntactically incorrect. The proper command is get log-file, not get log. Additionally, it targets the manager log, not the syslog as requested by the question.
C. get log-file auth.log While the syntax is correct, this command retrieves the authentication log (auth.log), which contains user login and authentication events, not the general system log (syslog).
D. /var/log/syslog/syslog.log This is a file system path, not an executable CLI command. While it might represent the location of the log file, it cannot be executed directly at the NSX CLI prompt to display the log's contents.

References

1. VMware NSX-T Data Center Command-Line Interface Reference:

Document: NSX-T Data Center Command-Line Interface Reference

available via the official VMware documentation portal for NSX-T versions 3.x and NSX 4.x.

Section: "NSX Manager and NSX Edge Commands" -> "Log File Commands".

Content: This section details the get log-file [ follow | reverse ] command. It explicitly lists syslog as one of the valid options for displaying system event logs on NSX Manager. This directly supports option B as the correct command.

2. VMware NSX Documentation (Troubleshooting):

Document: NSX Troubleshooting Guide.

Section: "NSX Manager Troubleshooting" -> "Collecting and Viewing Logs".

Content: The guide instructs administrators to use the get log-file command from the CLI to view various logs for troubleshooting. It provides examples such as get log-file syslog to check system-level messages

confirming this is the standard

documented procedure.

Scroll to Top