TechKnowSurge
CompTIA Network+ 2.2 Cisco CCNA 1.13 Cisco CCST Networking 4.5 Cisco CCNA 2.1 Cisco CCNA 2.5
VideoNetworkFree

Advanced Switching Concepts

Advanced switching features including Power over Ethernet, VLANs, port mirroring, port security, Spanning Tree Protocol, and jumbo frames give network administrators precise control over power delivery, traffic segmentation, monitoring, and performance. These capabilities form the foundation of modern enterprise network design.

Complete this video to capture a CTF flag worth 1 point.

About this video

Managed switches support a set of advanced features that give network engineers granular control over how power, traffic, and connectivity are handled across an infrastructure. Power over Ethernet consolidates data and electrical power onto a single Ethernet cable, allowing the switch itself to supply power directly to connected devices. This is particularly valuable for wireless access points, VoIP phones, and building systems installed in locations where running a separate power line would be costly or logistically difficult. A discovery process between the switch and the end device ensures power is delivered safely and only to compatible hardware. Virtual LANs provide logical network segmentation on a single physical switch, allowing administrators to isolate groups of ports into separate broadcast domains without purchasing additional hardware. Common use cases include separating departments such as HR and sales for security reasons, placing management traffic on a dedicated segment, and isolating VoIP devices to support quality-of-service policies. Port mirroring complements this by copying all traffic passing through a designated switch port to a secondary port where an analysis server can inspect it, a technique widely used for content filtering, intrusion detection, and compliance monitoring. Port security adds another layer of control by restricting access at the port level, whether by limiting the number of connected devices, allowing only specific MAC addresses, or requiring per-port authentication, which helps prevent unauthorized devices from being plugged into the network. In redundant network topologies, Layer 2 switching introduces the risk of broadcast storms caused by traffic loops. Spanning Tree Protocol addresses this by having switches elect a root bridge and establish a loop-free hierarchy, then blocking redundant links during normal operation while keeping them available for automatic failover if an active path fails. This protection applies not only to large tiered enterprise networks but also to smaller environments where accidental double-patching can disrupt an entire site. Finally, jumbo frames extend the standard Ethernet maximum transmission unit from 1,500 bytes to 9,000 bytes, reducing fragmentation overhead in environments where large data transfers are common. Data centers connecting servers to network-attached or storage-area-network storage are a typical deployment scenario, as the larger frame size reduces the number of frames required to move the same volume of data, improving throughput and efficiency across the local network.

What you'll learn

What's covered

Advanced Switching Features

Aligned to

CompTIA Network+
2.2 Given a scenario, configure switching technologies and features.
Cisco CCNA
1.13 Describe switching concepts
2.1 Configure and verify VLANs (normal range) spanning multiple switches
2.5 Interpret basic operations of Rapid PVST+ Spanning Tree Protocol
Cisco CCST Networking
4.5 Explain basic switching concepts

Key terms

Power over Ethernet
PoE
IEEE 802.3af/at/bt technology that delivers DC electrical power to network devices such as IP phones, wireless access points, and cameras over standard Ethernet cabling, eliminating the need for separate power supplies. PoE standards range from 15.4 W per port (802.3af) up to 90 W per port (802.3bt).
Virtual LAN
VLAN
A logical grouping of network devices that behave as if they are on the same network regardless of physical location.
Network Segmentation
The practice of dividing a network into smaller segments to improve performance and limit the spread of security threats.
Spanning Tree Protocol
STP
A network protocol that prevents loops in Ethernet networks by creating a loop-free logical topology.
Port Mirroring
A switch feature that copies all traffic from one port to another port so that a monitoring device can analyze network traffic without disrupting normal operations.
Port Security
A Cisco switch feature that restricts which devices can connect to a port by limiting the number of allowed MAC addresses or requiring specific MAC addresses to be present. When a violation occurs, the port can be configured to shut down, restrict traffic, or send an alert.
Jumbo Frames
Ethernet frames with a maximum transmission unit larger than the standard 1,500 bytes, typically up to 9,000 bytes, used to improve efficiency when transferring large amounts of data such as in storage environments.
Media Access Control
MAC
A sublayer of the Data Link layer that controls how devices on a network gain access to a medium and transmit data.
Redundancy
The duplication of critical components or systems to increase reliability and availability.

Transcript

Power over Ethernet

PoE, or Power over Ethernet, allows us to deliver power over the same cable that we deliver data over, and it can actually be delivered straight from the switch. We typically see small devices that may need a data connection into them and may also need power. We may have to plug the device into the wall to give it power, and now we have two cables running to that device, which can be cumbersome to deal with. But it also could be very tricky. For instance, some access points, and maybe some sort of IP b building IP system, are in a difficult to reach place. To get data there might be somewhat expensive, but to get power there could be quite a bit more. Dealing with high voltage lines to get power to a location can get very expensive. So what we can do is deliver power over our Ethernet cables, doing away with the need for a separate power line.

We typically see this with our smaller devices, such as wireless access points that can be in difficult to reach places, but it also could be your desk phone if it's a VoIP phone. You plug the cable into it, there is a discovery that happens between these two devices, and then the switch will deliver power to that device, so that device does not need to be plugged in. That's Power over Ethernet.

Segmentation and VLANs

There are times when you want to group up certain groups of people, or certain workstations, or certain objects within your network into separate networks, which is what's called segmentation. You want to move apart different areas of your network, maybe for some sort of security reason or for management of those services.

An example of this: maybe we have a couple of machines here at your company and they belong to the HR group, and you want your HR group to remain separate from some sales machines over here. Those are two different areas. What you may have to do is get two different switches to manage those two different networks, or we can implement something like VLANs. Another example is you might have devices out there like access points that you want part of a management VLAN that's not part of your regular VLANs. And then you also have a phone out here. We know that phone needs some sort of quality of service involved, so we may want to dump that onto a separate segment that's all by itself, that's not within the other networks, and that allows us to control that data separately. Once again, we could do that with separate switches, which could get very costly, or we can do it through the use of VLANs.

There's a lot to VLANs, and the idea here is just to have an upper level view of what VLANs might look like. Here we have a physical switch right here, and what I can do is say that even though it's one physical switch, I actually want to segment it, or break it into smaller components. So this right here could be a VLAN, or it could act as a separate switch. These four ports and maybe these four ports are separate. Perhaps I have a port right here that I want to be a part of the same VLAN as this port right here. So we can break it up differently, and we can assign these different ports to be part of different VLANs.

In my example, these are the HR ports and are going to connect to HR, versus these right here are the sales ports and are going to connect to sales. This could be an uplink port that connects to other equipment, and this could be what connects to our access point, and perhaps these are not assigned yet. So we have different ports that are assigned to segment that traffic and keep it separated. That's the idea of virtual LANs, or VLANs.

Port mirroring

One thing we may want to do on our networks is monitor the traffic that's going across it. Port mirroring is how to monitor traffic from another port. We've got a router that's connected here, and all devices have to go out that router to get out to the internet. Perhaps we want to monitor that traffic and make sure that there's nothing nefarious either going out or coming into our network. What we can do, if this is on let's say port 8 here, is set up a server on port 7 that mirrors all the traffic that's going out port 8. All of the traffic that's going out port 8 will also be sent to port 7. Then this server right here might have special software that takes that traffic, analyzes it, and starts looking for any kind of behavior that wouldn't be acceptable on the network.

One example of this: I used to work in schools, and any of the traffic that was going out to the internet would also be sent to a server that would take a look at what sites the students were going to. If they found that there was some sort of site that the student was going to that they weren't supposed to be going to, this server then would reply back to that client, that user, and say you're not supposed to be going to that site, that site is blocked. That's an example of port mirroring, where the traffic going out port 8 was also going out port 7 so that a server could monitor that traffic.

Port security

Another thing that can happen on your networks is somebody can take a device into your network, plug it into your switch, and start sniffing out your network, start discovering. In fact, I've actually had security companies that I've worked with give you a little device, and then you'll go and plug that device into your network and it will start scouring your network and looking for holes within your network. So there are devices out there that you don't want plugged into your network, and somehow you want to stop people from plugging those types of things into your network.

That's where port security comes in. For every port on my device, I can lock that port down to only allow a certain number of devices on there, or only allow certain devices that have certain MAC addresses on there, or some sort of authentication that happens per that port. So there are different ways to lock down that port, so that we limit the type of traffic or the type of clients that are going on there. We can somehow limit the traffic that's going to be coming into that port. That's port security. There are a lot of different ways that we can implement port security onto that switch, but somehow we are limiting who can actually connect into those devices and communicate across that switch.

Spanning tree protocol

As our networks grow, so does how complicated our networks can be. Here we have the three-tier core, distribution and access layers, and we have a lot of redundancy within our connections. The problem is that layer 2 doesn't like redundancy, not from an Ethernet standpoint at least. What can happen is you can get loops. As broadcasts happen, a broadcast could go out, could hit a switch, it gets broadcasted in all other directions, and from there you could get what's called a broadcast storm, where these broadcasts just start going in loops and start hitting your whole network. That can actually crumble your network. It could bring it down to its knees. So what you have to do is implement something like spanning tree protocol if you're going to have redundancy in your network.

What spanning tree protocol does is allow these different switches to communicate and find the fastest route to where it needs to go. There will be a lot of communication and it will elect something called a root bridge, and we'll go into all of that as we get further along. But the spanning tree protocol will allow a hierarchy to be established within your network, and then it will actually shut off some of these redundancy lines. However, if something gets severed and communication stops happening, then it will bring up those redundant lines. So it will stop these loops from happening but still allow you to have redundancy within your network.

One other example of STP, even in smaller networks, even when you're not in these big redundant networks: I've had access switches where at the end of the school year at a school, the generators will unplug all the equipment, and then when they go to plug all the equipment back in, a switch will get double plugged into each other, and these devices then will once again create this loop where it creates a broadcast storm and it will the whole network. Even though it's only isolated to a small section of the network, it will the whole network. What spanning tree protocol will do, once again, is recognize when something is plugged into itself and then go through the process of taking one of those lines down, so that you don't have this loop and have your network prone to these broadcast storms.

Maximum transmission unit and jumbo frames

Ethernet has a maximum transmission unit size. Equipment needs to know how big frames are going to come through it, and by default the payload of a frame can only be 1,500 bytes. So we've got a maximum size for that, so the equipment knows how to handle the data that's coming through it.

There are some cases where this is not necessarily the ideal, where we have some fragmentation going on, or we have some really large bytes of data going on. In my example here, I've got a data center that's plugged with top-of-the-rack switching. We've got our servers and we've got the storage. When things are connected into storage, it ends up being larger bytes of data that needs to be sent to these storage units. Because of that, it could be inefficient to have a maximum transmission unit of 1500.

So what we can do is go to those devices, to that network addressable storage, to those servers, to those switches, to all the devices within this local area network, and specify that we want to use jumbo frames. Jumbo frames brings that maximum transmission unit of 1,500 up to 9,000. What that will do is save you some traffic, some overhead, by allowing a much larger maximum transmission unit. So now as these servers are communicating with this storage, it can send much larger bytes.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →