To undo a command, precede the exact same command (use keyboard buffer) with “no”
In the case of a VLAN this will place the physical interface back in VLAN 1
Pegasus(config)# interface fa0/18
Pegasus(config-if)# no switchport access vlan 20
What Does Pegasus mean?
You are now ready to enter the correct configuration