BPDU Guard and BPDU Filter is used to prevent switching loops on portfast enabled ports.
BPDU Guard:
--> BPDU Guard can be implemented in two ways
i) Global Configuration Mode
ii) Interface Mode
i) Global Configuration Mode
--> Only works on the ports which are enabled with portfast configuration.
--> If a port receives BPDU on portfast enabled port simply it will place the port in err-disabled state.
Switch (config)# spanning-tree portfast bpduguard default
ii) Interface Mode
--> works on all the ports ( Portfast feature need not to be configured).
--> If a port a receives it simply place the port in err-disabled state.
Switch(config)# interface fastethernet0/0
Switch(config-if)# spanning-tree bpduguard enable
BPDU Filter
--> BPDU Filter can be implemented in two ways
i) Global Configuration Mode
ii) Interface Mode
i) Global Configuration Mode
--> Only works on the ports which are enabled with portfast configuration.
--> If a port receives BPDU on portfast enabled port simply it will remove the portfast status and behaves like a normal port ( STP election will takes place).
Switch(config)# spanning-tree portfast bpdufilter default
ii) Interface Mode
--> works on all the ports ( Portfast feature need not to be configured).
--> If a port a receives BPDU, it simply ignores BPDU.
Switch(config)# interface fastethernet0/0
Switch(config-if)# spanning-tree bpdufilter enable
Note: The main difference between BPDU Guard and BPDU Filter is
--> BPDU Guard places the port in err-disabled state when it receives BPDU
--> BPDU Filter does not places the port in err-disabled state.
--> works on all the ports ( Portfast feature need not to be configured).
--> If a port a receives BPDU, it simply ignores BPDU.
Switch(config)# interface fastethernet0/0
Switch(config-if)# spanning-tree bpdufilter enable
Note: The main difference between BPDU Guard and BPDU Filter is
--> BPDU Guard places the port in err-disabled state when it receives BPDU
--> BPDU Filter does not places the port in err-disabled state.
--> If BPDU Guard and BPDU Filter is configured on interface mode then BPDU Filter simply ignores BPDU and port works properly because it wont goes to BPDU Guard.
--> If BPDU Guard and BPDU Filter is configured on Configuration mode then BPDU Filter Processes BPDU and port goes into shutdown state because it goes to BPDU Guard.
0 comments:
Post a Comment