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?
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:
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.