SIMULATION Task 16 You are working to automate your NSX-T deployment and an automation engineer would like to retrieve your BOP routing information from the API. You need to: * Run the GET call in the API using Postman * Save output to the desktop to a text file called API.txt Complete the requested task. Notes: Passwords are contained in the user _ readme.txt. This task is not dependent on another. This task should take approximately 5 minutes to complete.
Correct Answer:
See the Explanation part of the Complete Solution and step by step instructions Explanation: To run the GET call in the API using Postman and save the output to the desktop to a text file called API.txt, you need to follow these steps: Open Postman and create a new request tab. Select GET as the method from the drop-down menu. Enter the URL of the NSX-T Policy API endpoint for retrieving the BGP routing table, such as https://<nsx-manager-ip-address>/policy/api/v1/infra/tier-0s/vmc/routing-table?enforcement_point_path=/infra/sites/default/enforcement-points/vmc-enforcementpoint Click the Authorization tab and select Basic Auth as the type from the drop-down menu. Enter your NSX-T username and password in the Username and Password fields, such as admin and VMware1!. Click Send to execute the request and view the response in the Body tab. You should see a JSON object with the BGP routing table information, such as routes, next hops, prefixes, etc. Click Save Response and select Save to a file from the drop-down menu. Enter API.txt as the file name and choose Desktop as the location. Click Save to save the output to your desktop. You have successfully run the GET call in the API using Postman and saved the output to your desktop to a text file called API.txt.
Question 2
SIMULATION Task 15 You have been asked to enable logging so that the global operations team can view inv Realize Log Insight that their Service Level Agreements are being met for all network traffic that is going in and out of the NSX environment. This NSX environment is an Active / Active two Data Center design utilizing N-VDS with BCP. You need to ensure successful logging for the production NSX-T environment. You need to: Verify via putty with SSH that the administrator can connect to all NSX-Transport Nodes. You will use the credentials identified in Putty (admin). Verify that there is no current active logging enabled by reviewing that directory is empty -/var/log/syslog- Enable NSX Manager Cluster logging Select multiple configuration choices that could be appropriate success criteria Enable NSX Edge Node logging Validate logs are generated on each selected appliance by reviewing the "/var/log/syslog" Complete the requested task. Notes: Passwords are contained in the user _ readme.txt. complete. These task steps are dependent on one another. This task should take approximately 10 minutes to complete.
Correct Answer:
See the Explanation part of the Complete Solution and step by step instructions Explanation: To enable logging for the production NSX-T environment, you need to follow these steps: Verify via putty with SSH that the administrator can connect to all NSX-Transport Nodes. You can use the credentials identified in Putty (admin) to log in to each transport node. For example, you can use the following command to connect to the sfo01w01en01 edge transport node: ssh admin@sfo01w01en01. You should see a welcome message and a prompt to enter commands. Verify that there is no current active logging enabled by reviewing that directory is empty -/var/log/syslog-. You can use the ls command to list the files in the /var/log/syslog directory. For example, you can use the following command to check the sfo01w01en01 edge transport node: ls /var/log/syslog. You should see an empty output if there is no active logging enabled. Enable NSX Manager Cluster logging. You can use the search_web("NSX Manager Cluster logging configuration") tool to find some information on how to configure remote logging for NSX Manager Cluster. One of the results is NSX-T Syslog Configuration Revisited - vDives, which provides the following steps: Navigate to System > Fabric > Profiles > Node Profiles then select All NSX Nodes then under Syslog Servers click +ADD Enter the IP or FQDN of the syslog server, the Port and Protocol and the desired Log Level then click ADD Select multiple configuration choices that could be appropriate success criteri a. You can use the search_web("NSX-T logging success criteria") tool to find some information on how to verify and troubleshoot logging for NSX-T. Some of the possible success criteria are: The syslog server receives log messages from all NSX nodes The log messages contain relevant information such as timestamp, hostname, facility, severity, message ID, and message content The log messages are formatted and filtered according to the configured settings The log messages are encrypted and authenticated if using secure protocols such as TLS or LI-TLS Enable NSX Edge Node logging. You can use the search_web("NSX Edge Node logging configuration") tool to find some information on how to configure remote logging for NSX Edge Node. One of the results is Configure Remote Logging - VMware Docs, which provides the following steps: Run the following command to configure a log server and the types of messages to send to the log server. Multiple facilities or message IDs can be specified as a comma delimited list, without spaces. set logging-server <hostname-or-ip-address [:port]> proto <proto> level <level> [facility <facility>] [messageid <messageid>] [serverca <filename>] [clientca <filename>] [certificate <filename>] [key <filename>] [structured-data <structured-data>] Validate logs are generated on each selected appliance by reviewing the "/var/log/syslog". You can use the cat or tail commands to view the contents of the /var/log/syslog file on each appliance. For example, you can use the following command to view the last 10 lines of the sfo01w01en01 edge transport node: tail -n 10 /var/log/syslog. You should see log messages similar to this: 2023-04-06T12:34:56+00:00 sfo01w01en01 user.info nsx-edge[1234]: 2023-04-06T12:34:56Z nsx-edge[1234]: INFO: [nsx@6876 comp="nsx-edge" subcomp="nsx-edge" level="INFO" security="False"] Message from nsx-edge You have successfully enabled logging for the production NSX-T environment.