have effect when the interface is in a non-trunking mode. SW-1(config-if)#switchport mode accessSW-1(config-if)#switchport access vlan 3SW-1(config-if)#interface gigabitethernet 0/1SW-1(config-if)#switchport mode trunkSW-1(config-if)#^ZSW-1#wrBuilding configuration... [OK] ...