Cisco Exam Questions

Which set of commands is required to accomplish this task?

Refer to the exhibit.

A technician has installed SwitchB and needs to configure it for remote access from the
management workstation connected to SwitchA. Which set of commands is required to
accomplish this task?

A.
SwitchB(config)# ip default-gateway 192.168.8.254
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address 192.168.8.252 255.255.255.0
SwitchB(config-if)# no shutdown

B.
SwitchB(config)# ip default-network 192.168.8, 254
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address 192.168.8.252 255.255.255.0
SwitchB(config-if)# no shutdown

C.
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address 192.168.8.252 255.255.255.0
SwitchB(config-if )# ip default-gateway 192.168.8.254 255.255.255.0
SwitchB(config-if)# no shutdown

D.
SwitchB(config)# ip router 192.168.8.254 255.255.255.0
SwitchB(config-if)# interface FastEthernet 0/1
SwitchB(config-if )# ip default-gateway 192.168.8.254 255.255.255.0
SwitchB(config-if)# no shutdown

E.
SwitchB(config-if)# interface FastEthernet 0/1
SwitchB(config-if )# ip default-gateway 192.168.8.252 255.255.255.0
SwitchB(config-if)# no shutdown