问题详情

As a Ezonexam trainee you are required to set the default gateway on a Cisco switch to the IP address of 192.168.1.115. Which IOS command should you use?


A、TestKSwitch(config)# ip route-default 192.168.1.115

B、TestKSwitch(config)# ip default-gateway 192.168.1.115

C、TestKSwitch(config)# ip route 192.168.1.115 0.0.0.0

D、TestKSwitch(config)# ip default-network 192.168.1.115

E、None of the above

时间:2022-01-09 16:26 关键词:

答案解析

B
解析:Explanation:Use the "ip default-gateway" command to enter the IP address of the next-hop router interface that is directly connected to the switch where a default gateway is being configured. The default gateway receives IP packets with unresolved destination IP addresses from the switch. Once the default gateway is configured, the switch has connectivity to the remote networks with which a host needs to communicate.