Cisco CCNP/ BCMSN Assessment Tutorial: Putting up PortFast And BPDU Guard
In your CCNA investigation exploration, you discovered PortFast and the dilemma it can result in if configured on the incorrect port! Acceptable only for change ports joined appropriate to a just one host, PortFast can make it achievable for a port running STP to go straight from blocking to forwarding manner.
A Cisco router will current you a warning when you configure PortFast:
SW1( config) #int quick /five
SW1( config-if) #spanning- tree portfast
% Warning: portfast calls for to only be licensed on ports joined to asingle host. Linking centers, concentrators, switches, bridges, and so on.
% Portfast has been set up on FastEthernet0/5 but will just
have impact when the interface proceeds to be in a non-trunking strategy.
SW1( config-if) #.
Not just will the swap warning you about the ideal use of PortFast, even so you have to have to position the port into entry fashion proper prior to PortFast will acquire end result.
Now, you 'd believe that that would be enough of a warning? There is buy shipping container - just a opportunity - that any unique is heading to manage to relationship a adjust to a port running Portfast. That may possibly consequence in two significant difficulties, the first remaining the enhancement of a switching loop. Recall, the rationale we have listening and finding modes is to assist halt altering loops. The adhering to issues is that there could be a model name-new root bridge decided on - and it could be a change that just isn't actually even in your network!
BPDU Guard safeguards in opposition to this devastating likelihood. If any BPDU can be found in on a port which is jogging BPDU Guard, the port will be shut down and positioned into oversight disabled condition, examined to on the transform as err-disabled. A port location in err-disabled situation desires to be reopened manually.
BPDU Guard is off on all ports by default, and is enabled as disclosed down below:.
SW1( config) #int fast /5.
SW1( config-if) #spanning- tree bpduguard allow.
It genuinely is a clever method to enable BPDU Guard on any port you may be jogging PortFast on. There is absolutely no charge in overhead, and it does keep clear of the chance of a change sending out BPDUs into a port established up with PortFast - not to amount out the threat of a swap not considerably less than your control starting off to be a root transform to your neighborhood!
% Warning: portfast need to just be permitted on ports joined to asingle host. Linking services, concentrators, switches, bridges, and so on. There is a chance - just a danger - that a human being is heading to handle to web site backlink a adjust to a port managing Portfast. If any BPDU comes in on a port that is managing BPDU Guard, the port will be shut down and positioned into error handicapped issue out, demonstrated to on the swap as err-disabled. A port placed in err-disabled condition must be reopened by hand.