While you were troubleshooting a connection issue, a ping from one VLAN to another VLAN on the same switch failed. Which command verifies that IP routing is enabled on interfaces and the local VLANs are up?
Click on the arrows to vote for the correct answer
A. B. C. D.A
Initiate a ping from an end device in one VLAN to the interface VLAN on another VLAN in order to verify that the switch routes between VLANs. In this example, ping from VLAN 2 (10.1.2.1) to Interface VLAN 3 (10.1.3.1) or Interface VLAN 10 (10.1.10.1). If the ping fails, verify that IP routing is enabled and that the VLAN interfaces status is up with the show ip interface brief command.
The correct answer is A. show ip interface brief
.
Explanation: When troubleshooting a connection issue between two VLANs on the same switch, it's essential to verify that IP routing is enabled on the interfaces and that the local VLANs are up.
The show ip interface brief
command is used to display a summary of the status of all IP interfaces configured on the device. This command displays the IP address, interface status, protocol status, and other relevant information for each interface.
If IP routing is enabled on the interfaces and the local VLANs are up, the show ip interface brief
command will display the interfaces and their corresponding IP addresses. If any interface or VLAN is down, it will be listed as such in the output.
On the other hand, the show ip nat statistics
command is used to display NAT-related statistics, and the show ip statistics
command is used to display various IP-related statistics such as packets forwarded, dropped, or received. These commands are not relevant to verifying IP routing and VLAN status.
Finally, the show ip route
command is used to display the routing table on the device. It is not relevant to verifying IP routing and VLAN status on interfaces.
Therefore, the correct answer is A. show ip interface brief
.