Isolating infected hosts from the network and segmenting affected VLANs to stop an attack from spreading is the purpose…