enable
configure terminal
interface gigabitEthernet 1/0/18
interface gigabitEthernet 1/0/18
switchport access vlan 9
write
or
copy running-config startup-config
enable
configure terminal
interface gigabitEthernet 1/0/18
interface gigabitEthernet 1/0/18
switchport access vlan 9
write
or
copy running-config startup-config