Which command should you use to configure a Cisco Nexus switch port for Layer 2 operation?
A.
nexus(config-if)#switchport
B.
nexus(config-if)#layer-2
C.
nexus(config-if)#routed
D.
nexus(config)#interface vlan 10
nexus(config-if)#switchport
Explanation:
“If you want to configure a Layer 3 interface for Layer 2, enter the switchport command. Then, if
youchange a Layer 2 interface to a routed interface, enter the no switchport command.”
http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/command/reference/layer2/
n5kl2_cmds_n.pdf