Hi,
While preparing for BCMSN, I practiced using bpdu filter on one of switch's interfaces
R6A2950_0x2(config)#int fas 0/14
R6A2950_0x2(config-if)#spanning-tree bpdufilter enable
after that I connected the port 0/14 to a different switch which was sending BPDUs to test how will the port behave.
00:12:04: %LINK-3-UPDOWN: Interface FastEthernet0/14, changed state to down
R6A2950_0x2(config)#
00:12:07: %LINK-3-UPDOWN: Interface FastEthernet0/14, changed state to up
R6A2950_0x2(config)#
Everything went as described in the book. However, I noticed a strange thing (at least for me:). Although the port was previously hardcoded with switchport access vlan 30 (see running-config below)
R6A2950_0x2#show running-config
Building configuration...
Current configuration : 2819 bytes
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
interface FastEthernet0/14
description Dell
switchport access vlan 30
spanning-tree portfast
spanning-tree bpdufilter enable
when you check it with show int fas 0/14 switchport command the administrative mode shows as Administrative Mode: dynamic desirable
R6A2950_0x2#show int fas 0/14 switchport
Name: Fa0/14
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 30 (VLAN0030)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
My question is why do administrative mode in show int fas 0/14 switchport shows Administrative Mode:dynamic desirable while the show running config shows switchport access vlan 30 (I configured this port earlier using switchport access vlan 30)?
What am I missing

?