Usage Scenario
When a user shuts down the STB and then restarts it immediately, the device cannot detect that the user goes offline and retains the user entry. When receiving the DHCPv4 Discover packet that the STB sends after restart, the device logs out the user and waits until the user sends a DHCPv4 Discover packet to obtain the address through DHCPv4. In this scenario, run the dhcp through-packet disable command to disable transparent transmission of DHCPv4 packets.
Some STBs, however, send only one DHCPv4 Discover packet after they restart. In this case, the users cannot go online after shutting down their STBs.
To address this problem, run the
dhcp through-packet command to enable transparent transmission of DHCPv4 packets.
The relationship between transparent transmission of DHCP packets in a domain and that in the system view is as follows:
- Transparent transmission of DHCP packets is enabled in a domain by default. To disable this function in a domain, run the dhcp through-packet disable command in the domain view.
- Transparent transmission of DHCP packets is enabled globally by default. To disable this function globally, run the dhcp through-packet disable command in the system view.
- If transparent transmission of DHCP packets is disabled in a domain, DHCP packets cannot be transparently transmitted in the domain, irrespective of whether this function is enabled globally.
- If transparent transmission of DHCP packets is enabled in a domain and also enabled globally, DHCP packets can be transparently transmitted in the domain. However, if transparent transmission of DHCP packets is enabled in a domain but disabled globally, DHCP packets cannot be transparently transmitted in the domain.
Precautions
In VS mode, this command is supported only by the admin VS.