port fast This is a topic that many people are looking for. bluevelvetrestaurant.com is a channel providing useful information about learning, life, digital marketing and online courses …. it will help you have an overview and solid multi-faceted knowledge . Today, bluevelvetrestaurant.com would like to introduce to you PortFast + BPDU Guard STP Optional Features. Following along are instructions in the video below:
“What s up guys welcome to surfers in this video. We re going to be be looking at stp optional features portfast and bpdu guard. If you ve watched the on stp. Then you ll know the biggest problem with 802 to 1 d.
Is the conversions. The reason for this is the time it takes to go from a non forwarding state to a forwarding state. So just as a reminder. A port needs to pass through the listening and learning transitional states and stay there for 15 seconds.
By default before it can enter a forwarding states mentioned on the stp video that this doesn t only affect ports connected to switches. If you ve ever plugged a computer into a real sister switch or even used packet tracer. You may have noticed that the port doesn t turn green straightaway. It turns orange and stays there for a bit this is because the port is going through these states first enters.
The listening state for 15 seconds. The learning state for 15 seconds. Then finally it enters a forwarding state. Where traffic can start to pass through the problem of this is most computers these days boot up in less than 30 seconds or you might even plug in a laptop has already switched on then when the internet s not working you might start running ipconfig and trying to troubleshoot.
Why the internet s not working part of this troubleshooting might even be unplugging the cable and then plugging it back in starting. The whole process again this is where portfast comes in port. Fast pretty much. Just says.
Let s get rid of all this and essentially disable as stp or together this lets the port start forwarding as soon as it s plugged in great. But stp wasn t just created for a laugh nope. It was created to stop switching loops so disabling it can be dangerous you must use port fast with caution. What happens if brian from down the hall rocks up with his switch takes an ethernet cable and plugs it in reverse tp disabled.
You run the risk of kratom switching loops and we ve all seen the effect that this has on the network from the stp video. You ll remember that switches will send bpd use to negotiate a route bridge. When brian switch sends a bpdu to our switch with no protection. It will accept it and probably cause loop.
But if the switch has bpdu guard enabled then this protects us from these kind of situations. The switch will see the bpd you realize. It s connected to another switch block the poor and put it into a funny little state called error disabled. I say is a funny little state because it s not always immediately obvious when looking at the interface stages that is in an error disabled state.
You ll see what i mean in a minute. Okay. So let s quickly go over the configuration for fast and bpdu guard can be enabled with only one command each first let s see what happens when we don t use poor fast is our switch if we do a quick show spanning tree command we can see there is no connections at the moment a computer paul comes up and if we run the same command. We can see the interface is in a listening state.
It will stay here for 15 seconds. But i ll speed this up if we run the command again we can see it s in the learning state again it will stay here for 15 seconds. And if we run the command one more time finally it s in a forwarding state. So let s configure portfast on this interface so i ll unplug the computer enter the configuration terminal interface fastethernet 0 1 to enter the interface configuration switch port mode access to make sure this interface is an access port and the command to turn on port fast on this interface is spanning tree portfast when you enter.
This command ciccio gives you a warning message. Which says warning port fire should only be enabled on ports connected to a single host. This is reminding you that port fires can cause potential switching loops. If not used correctly you have been warned so that s portfast enabled for this interface.
But this switch is for mostly access ports. Then we don t want to be doing this on all interfaces. Doing what we can do instead is turn on port faster by default then disable it on any ports. That need to connect the switches.
This makes sense. If you have a switch where only a couple of ports connect to other switches so we ll exit out of this interface command v 1is spanning tree portfast default and again you ll get the same warning quesa let s test it will exit out command shows spanning tree vlan1 and we ll see there s no devices connected plug in the computer. And we ll run the command again as you can see the interface has gone straight to forwarding no faffing around with listening and learning states just straight into forwarding you re going to want to know some show commands for troubleshooting the first one is show spanning tree summary here you can see if portfast default is enabled the next one is show spanning tree interface fastethernet 0 1 portfast this is a very straight to the point command and tells you if port fast is enabled on that interface and of course. We can always check the running config and see the commands we entered you okay so that s poor fast let s clear the screen and look at bpdu guard back to the configuration terminal and again we can turn on bbd you guard on a per interface basis by going into the interface configuration and the command is spanning tree pd you ve got enable or if we want to do it globally we can exit out of here and run the command spanning tree portfast bpdu guard default show commands for bpdu guard are pretty much the same as portfast we have show spanning tree summary which shows if bpt you card is on by default show spanning tree interface fastethernet 0 1 detail this command shows us if portfast and bpdu guard is enabled on the interface show running config to show our commands now i ve been using the pipe command with the b to show everything that begins with the word interface okay so with the configuration done let s see it in action.
I ll unplug the computer from earlier now. I ll plug in a switch to the interface with port past and bpdu guard. Enabled and see what happens the port comes up. And it will take a couple of seconds to receive a bpdu.
There it is the switch received a bpdu and disabled the poor putting it into an error disabled state earlier. I said this date can be a bit of a funny one that s because if i run a show ip interface brief command. And it shows the interfaces down where does it tell you that as an error disabled state. This could be important to remember when troubleshooting probably the best place to check.
If you think an interface could be an error disabled state is to use the command show interfaces status harrod. Say whoa. This will quickly show you the interface. And the reason for being in a narrow disabled state.
There are some other reasons. An interface might go into a narrow disable state. But this time it s because of our bpdu guard violation another place to look out for this is the command show interface fastethernet 0 1 or whatever interface you are using at the top it will show the error disable of state. So to fix this you need to first fix the cause of the problem.
So let s remove the switch. Then we need to go back into our interface configuration and issue this shutdown command then no anchorman this will remove the error disabled state to prove this worked. We will exit here and run the show interface status error disabled command again as we can see no interfaces are showing now we will plug in the computer. Again the show ip interface brief command.
We can see that the interface is no up and it s working again that s it for both fast and bpdu guard pretty straightforward and simple. But it can be a little bit tricky to troubleshoot if you don t know where to look if you like this video let us know by leaving a thumbs up commenting and subscribing. The feedback we get from you guys is what keeps the videos coming. ” .
Thank you for watching all the articles on the topic PortFast + BPDU Guard STP Optional Features. All shares of bluevelvetrestaurant.com are very good. We hope you are satisfied with the article. For any questions, please leave a comment below. Hopefully you guys support our website even more.