Which command will set the default gateway to 192.168.12.1 on a Cisco switch?

Which command will set the default gateway to 192.168.12.1 on a Cisco switch?

Which command will set the default gateway to 192.168.12.1 on a Cisco switch?

A.
Switch(config)# ip route 192.168.12.1 0.0.0.0

B.
Switch(config)# ip default-network 192.168.12.1

C.
Switch(config)# ip route-default 192.168.12.1

D.
Switch(config)# ip default-gateway 192.168.12.1

Explanation:
IP default-gateway address is a global command that sets the default gateway so that the
management interface can be reached from a remote network. This is the correct command used

on Cisco switches.
Reference: Cisco CCNA ICND p.14



Leave a Reply 0

Your email address will not be published. Required fields are marked *