can a layer 3 switch replace a router