A network administrator is using the router-on-a-stick method to configure inter-VLAN routing. Switch port Gi1/1 is used to connect to the router. Which command should be entered to prepare this port for the task?
A. Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# spanning-tree vlan 1
B. Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# spanning-tree portfast
C. Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# switchport mode trunk
D. Switch(config)# interface gigabitethernet 1/1
Switch(config-if)# switchport access vlan 1