An enterprise desktop administrator reports that newly provisioned Linux endpoints attached to switch port GigabitEthernet0/1 consistently fail to receive an IPv4 address via DHCP during system startup. However, if the DHCP client service is manually restarted 40 seconds after the operating system boots, an address is acquired successfully. The switch port is configured as a standard 802.1D access port. Which interface configuration command combination immediately resolves the boot-time DHCP timeout while ensuring the switch port is protected against unauthorized switches creating Layer 2 loops?
- Configure 'spanning-tree portfast' together with 'spanning-tree bpduguard enable' on GigabitEthernet0/1.Cevap
- BConfigure 'switchport mode trunk' and 'spanning-tree portfast trunk' on GigabitEthernet0/1 to suppress outgoing BPDUs.
- CConfigure 'spanning-tree vlan 1 priority 4000' globally to reduce convergence timers on access interfaces.
- DConfigure 'ip helper-address' on interface GigabitEthernet0/1 to bypass Spanning Tree Protocol port state transitions.
Cevap
The correct option specifies configuring 'spanning-tree portfast' along with 'spanning-tree bpduguard enable' directly on the edge access interface.
Enabling PortFast on access port GigabitEthernet0/1 causes the switch port to immediately transition from the Disabled/Blocking state directly into the Forwarding state when the physical link comes UP. This eliminates the 30-second 802.1D delay (15s Listening + 15s Learning), allowing the host's initial boot-time DHCP Discover request to pass through successfully. Furthermore, enabling BPDU Guard on the interface adds loop prevention: if a user plugs an unauthorized switch into GigabitEthernet0/1, the port receives BPDUs and is automatically placed into an err-disabled state.
Adım Adım Çözüm
Anahtar Kavram
STP PortFast Immediate Forwarding and BPDU Guard Security Mechanics