Which of the following command will set the default gateway to 192.168.12.1 on a Cisco switch?
A. P4S-SW(config)# ip route-default 192.168.12.1
B. P4S-SW(config)# ip route 192.168.12.1 0.0.0.0
C. P4S-SW(config)# ip default-gateway 192.168.12.1
D. P4S-SW(config)# ip default-network 192.168.12.1
Answer:C
Which of the following command will set the default gateway to 192.168.12.1 on a Cisco switch?
A. P4S-SW(config)# ip route-default 192.168.12.1 B. P4S-SW(config)# ip route 192.168.12.1 0.0.0.0 C. P4S-SW(config)# ip default-gateway 192.168.12.1 D. P4S-SW(config)# ip default-network 192.168.12.1