Configuring an Access port on a Cisco switch

Access ports in switches are normally used to connect end devices like workstations and printers. Access ports belong to only a single VLAN and do not provide any identifying marks on the Ethernet frames. When configuring an access port, you also want to define which VLAN the port belongs to.




SW01>enable
SW01#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
SW01(config)#interface fa0/1
SW01(config-if)#switchport mode access
SW01(config-if)#switchport access vlan 10
SW01(config-if)#exit
SW01(config)#interface fa0/10
SW01(config-if)#switchport mode access
SW01(config-if)#switchport access vlan 20
SW01(config-if)#exit
SW01(config)#exit

SW01#

No comments:

Post a Comment