For multiple interfaces use the interface range command and then just input "switchport host" .
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: