How to enable spanning-tree portfast
Spanning-tree portfast in interface level
In the interface level we use " spanning-tree portfast" command to enable it. This is for an access port only. If you want to enable portfast for trunk port "spanning-tree portfast trunk" is required.
Spanning-tree portfast option in the global configuration
In the global configuration, we can enable the portfast for all of the access ports on the switch by using "spanning-tree portfast default " command. However, this command will not affect the trunk port on the switch
Option for spanning-tree portfast
- spanning-tree portfast bpduguard default
- spanning-tree portfast bpdufilter default
-spanning-tree portfast bpduguard default : it will enable the bgpuguard on the all of the portfast interfaces on the switch. This is only valid for access port.
- spanning-tree portfast bpdufilter default : it will enable the bgpufilter on the all of the portfast interfaces on the switch. This is only valid for access port.
No comments:
Post a Comment