Cisco assign vlan to port

如何在Cisco switch上將vlan指定給介面

新增vlan 10

# en
# config t
# vlan 10
# exit

將47和48 port 指定給vlan 10

# config t 
# int ra Gi1/0/47-48 
# switchport access vlan10 
# exit
# show vlan
# write