device# configure terminal
device(config)# interface ethernet 0/1
device(conf-if-eth-0/1)# switchport