Implementing and Operating Cisco Data Center Core Technologies - Exam 350-601-DCCOR Answer

Test Connectivity from Guest Shell of NX-OS | Cisco Data Center Core Technologies Exam 350-601-DCCOR

Question

An engineer installed a new Nexus switch with the mgm0 interface in vrf management.

Connectivity to the rest of the network needs to be tested from the guest shell of the NX-OS.

Which command tests connectivity from the guest shell of the NX-OS?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-

The correct command to test connectivity from the guest shell of the NX-OS to an IP address in the VRF management is:

A. [guestshell@guestshell ~]$ dohost "ping vrf management 173.37.145.84"

Here is an explanation of the command:

  • [guestshell@guestshell ~]: This is the command prompt of the guest shell.
  • dohost: This command runs a shell command and prints the output.
  • "ping vrf management 173.37.145.84": This is the shell command that pings the IP address 173.37.145.84 in the VRF management.

Option B is incorrect because the chvrf command is used to change the VRF context, not to specify the VRF in a ping command.

Option C is incorrect because the ping command does not have an option to specify the VRF. However, the ping command can be used to test connectivity from the default VRF.

Option D is incorrect because the iping command is not a valid command in the NX-OS.