How to configure rapid spanning-tree with portfast using Packet Tracer

How to configure rapid spanning-tree with portfast using Packet Tracer