Configure SwitchB for Remote Access

What set of commands is required to configure SwitchB for remote access from the management workstation connected to SwitchA?

Options:
A. SwitchB(config)# interface FastEthernet 0/1
SwitchB(config-if)# ip address
SwitchB(config-if)# no shutdown
B. SwitchB(config)# ip default-gateway
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address
SwitchB(config-if)# no shutdown
C. SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address
SwitchB(config)# ip default-gateway
SwitchB(config-if)# no shutdown
D. SwitchB(config)# ip default-network
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address
SwitchB(config-if)# no shutdown

Answer:

Option C is the correct set of commands for configuring SwitchB for remote management via a workstation connected to SwitchA. The commands create an interface, assign an IP address to it, set the default gateway and then enable it.

To accomplish the task of configuring SwitchB for remote access from the management workstation, you can use the set of commands outlined in option C. In essence, you're creating an interface (with the 'interface vlan 1' command), assigning it an IP address (with the 'ip address' command), and finally setting the IP of the default gateway for outbound communication using the 'ip default-gateway' command. The last 'no shutdown' command brings the interface up.

Remember to save your configurations using the 'copy running-config startup-config' command so that your changes aren't lost when the system reboots.

← The mysterious case of the zodiac killer How to sell your app on appexchange →