CompTIA Network+ Exam Review

Category - Networking

David needs to configure the default gateway of one of his switches. Which of the following commands will set the default gateway to 192.168.6.4 on a Cisco switch?
  1. S (config)# ip default-network 192.168.6.4
  2. S (config)# ip default-gateway 192.168.6.4
  3. S (config)#ip route-default 192.168.6.4
  4. S (config)# ip route 192.168.6.4 0.0.0.0
Explanation
Answer - B - To configure the default gateway as 192.168.6.4 on a Cisco switch, David should use the S(config)# ip default-gateway 192.168.6.4.

Key Takeaway: The set of commands to configure the default gateway on a switch include:
Switch#
Switch#conf t
Switch(config)#ip default-gateway {ip address}.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz