No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Service

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Users Cannot Go Online After DHCP Policy VLAN Is Configured

Users Cannot Go Online After DHCP Policy VLAN Is Configured

Fault Description

Users cannot obtain configuration information such as IP addresses and fail to go online.

Procedure

  1. Run the display current-configuration | include dhcp enable command to check whether DHCP is globally enabled on the device.

    • If no information is displayed, DHCP is disabled. Run the dhcp enable command to enable DHCP.
    • If dhcp enable is displayed, DHCP is enabled. Go to step 2.

  2. Run the display this command in the VLAN where the DHCP server is located to check whether the DHCP policy VLAN function is correctly configured.

    • If the DHCP policy VLAN is based on MAC addresses, check whether the MAC address displayed behind dhcp policy-vlan mac-address belongs to the host who requests an IP address.
      • If not, run the dhcp policy-vlan mac-address command to specify the correct MAC address for the DHCP policy VLAN.
      • If yes, go to step 3.
    • If the DHCP policy VLAN is based on interfaces, check whether the interface displayed behind dhcp policy-vlan port belongs to the host who requests an IP address.
      • If not, run the dhcp policy-vlan port command to specify the correct interface for the DHCP policy VLAN.
      • If yes, go to step 3.
    • If neither MAC address-based nor interface-based DHCP policy VLAN is configured, check whether the ordinary DHCP policy VLAN is configured.
      • If the command output does not contain dhcp policy-vlan generic, run the dhcp policy-vlan generic command to configure the ordinary DHCP policy VLAN.
      • If the command output contains dhcp policy-vlan generic, go to step 3.

  3. Run the display current-configuration interface command on the device to check whether the interface connected to user has been added to the DHCP policy VLAN in untagged mode and the interface type is hybrid.

    Field

    Description

    Action

    port link-type access

    The interface type is access.

    Run the undo port link-type command to set the interface type to hybrid.

    port hybrid untagged vlan vlan-id

    If the value of vlan-id is different from the VLAN ID of the DHCP server, the interface has not been added to the DHCP policy VLAN.

    Run the port hybrid untagged vlan vlan-id command with the vlan-id value being the VLAN ID of the DHCP server.

    If the value of vlan-id is the same as the VLAN ID of the DHCP server, the interface has been added to the DHCP policy VLAN in untagged mode and the interface type is hybrid.

    Go to step 4.

    port hybrid tagged vlan vlan-id

    The interface is added to the VLAN in tagged mode.

    Run the port hybrid untagged vlan vlan-id command to add the interface to the VLAN in untagged mode.

    The preceding information is not displayed.

    The interface is not added to the VLAN configured with DHCP policy VLAN.

  4. Check whether the DHCP server connected to the device is correctly configured and there are IP addresses for allocation.

    If the DHCP server does not function properly, re-configure it according to Configuring a DHCP Server.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 34648

Downloads: 253

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next