How to prevent terminals' failures to ping the gateway or low speed in obtaining IP addresses when they connect to an STP network

2

Terminal devices such as servers or network management workstations do not support STP. However, STP is enabled on switch interfaces by default. An STP interface enters the Forwarding state 30 seconds after it changes to the Up state. If an interface alternates between Up and Down states, the terminal connected to the interface will fail to communicate with the gateway or spends a long time to obtain an IP address.

To solve this problem, configure interfaces connected to terminals as edge ports or disable STP on the interfaces.

Other related questions:
How to prevent slow convergence on STP edge ports connected to terminals
Edge devices cannot participate in the STP calculation or respond to STP packets, causing slow convergence. You can use either of the following methods to prevent slow convergence on edge ports connected to user terminals or servers: 1. Run the stp disable command on the ports so that the ports always remain in the Forwarding state. 2. Run the stp edge-port enable command on the ports to configure them as edge ports, and then run the stp bpdu-protection command on the ports to enable BPDU protection. An edge port is in Forwarding state by default. The BPDU protection function shuts down an edge port after the port receives a BPDU. The edge ports that are shut down must be manually restored.

When the wireless terminal pings the gateway, packet loss occurs
You can run the dtim-interval 1 and beacon-interval 100 commands in the specified radio profile to configure the DTIM interval and Beacon interval.

Can a downstream terminal connected to an AR obtain an IP address through DHCP
A downstream terminal connected to the AR obtain an IP address through DHCP in either of the following situations: - The AR is configured with the DHCP server function. By default, an AR is not configured with the DHCP server function. - Another DHCP server exists on the network and there is a reachable route from the terminal to the DHCP server. Otherwise, the downstream terminal connected to the AR cannot obtain an IP address through DHCP.

Can terminals connected to S series switches obtain IP addresses through DHCP
For S series switches excluding the S1700, terminals connected to switches (enabled to obtain IP addresses through DHCP) can obtain IP addresses through DHCP when either of the following conditions is met: - The switch is configured with the DHCP server function. (By default, a switch is not configured with the DHCP server function.) - Another DHCP server is deployed on the network and there is a reachable route from the terminal to the DHCP server.

Reasons why the PC that has obtained an IP address from the DHCP server cannot access the Internet on S series switch
For S series switches (exclude S1700 switches), in normal situations, a PC can access the Internet after obtaining an IP address through DHCP. However, if the IP address is assigned by a bogus DHCP server, the PC cannot access the Internet with the incorrect IP address. If this problem occurs, you are advised to configure DHCP snooping on the Layer 2 access device or first DHCP relay agent from the device, to ensure that PCs can obtain correct IP addresses. - When you configure DHCP snooping on a Layer 2 access device, steps 1, 2, and 3 are mandatory and must be performed in sequence. - When you configure DHCP snooping on a DHCP relay agent, only steps 1 and 2 are required. 1. Enable DHCP snooping globally. [HUAWEI] dhcp enable [HUAWEI] dhcp snooping enable 2. Configure the interfaces connected to DHCP clients. Perform the configuration on all interfaces connected to DHCP clients. GE0/0/1 is used as an example. [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] dhcp snooping enable [HUAWEI-GigabitEthernet0/0/1] quit 3. Perform the configuration on interfaces connected to the DHCP server. GE0/0/2 is used as an example. [HUAWEI] interface gigabitethernet 0/0/2 [HUAWEI-GigabitEthernet0/0/2] dhcp snooping trusted [HUAWEI-GigabitEthernet0/0/2] quit

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top