enable
configure terminal
interface <name>
switchport mode access
switchport access vlan <id>
enable
configure terminal
interface <name>
switchport mode trunk
switchport trunk allowed vlan <id>,<id>
enable
configure terminal
interface <name>
no switchport
enable
configure terminal
interface <name>
switchport
enable
configure terminal
interface <name>
duplex full
enable
configure terminal
interface <name>
switchport port-security mac-address sticky