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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
display dhcp relay user-table

display dhcp relay user-table

Function

The display dhcp relay user-table command displays user entries on a DHCP relay agent.

Format

display dhcp relay user-table { all | ip-address ip-address | mac-address mac-address }

Parameters

Parameter

Description

Value

all

Displays all user entries on the DHCP relay agent.

-

ip-address ip-address

Displays the user entry with a specified IP address on the DHCP relay agent.

The value is in dotted decimal notation.

mac-address mac-address

Displays the user entry with a specified MAC address on the DHCP relay agent.

The value is in H-H-H format. An H contains 4 hexadecimal digits.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

A DHCP relay agent can dynamically create user entries after user entry detection is enabled. After this function is enabled, you can use the display dhcp relay user-table command to check the IP address, MAC address, VLAN ID, and Layer 3 access interface index of each DHCP client.

Prerequisites

User entry detection has been enabled on the DHCP relay agent using the dhcp relay detect enable command.

Example

# Display all user entries on the DHCP relay agent.

<Huawei> display dhcp relay user-table all
IP Address       MAC Address    VLAN          Interface       Lease Time
--------------------------------------------------------------------------------
10.1.1.212       5cd9-98bc-0318 3501          Wlan-Dbss11:0   2017.05.05 15:55:22
10.1.1.222       000b-c002-9aed 3501          Wlan-Dbss11:0   2017.05.05 15:55:23
--------------------------------------------------------------------------------
Print count:           2          Total count:           2     

# Display the user entry with IP address 10.1.1.212.

<Huawei> display dhcp relay user-table ip-address 10.1.1.212
IP Address       MAC Address    VLAN          Interface       Lease Time
--------------------------------------------------------------------------------
10.1.1.212       5cd9-98bc-0318 3501          Wlan-Dbss11:0   2017.05.05 15:55:22
--------------------------------------------------------------------------------
Print count:           1          Total count:           1     

# Display the user entry with MAC address 5cd9-98bc-0318.

<Huawei> display dhcp relay user-table mac-address 5cd9-98bc-0318
IP Address       MAC Address    VLAN          Interface       Lease Time
--------------------------------------------------------------------------------
10.1.1.212       5cd9-98bc-0318 3501          Wlan-Dbss11:0   2017.05.05 15:55:22
--------------------------------------------------------------------------------
Print count:           1          Total count:           1     
Table 6-50  Description of the display dhcp relay user-table command output
Item Description

IP Address

IP address of a DHCP client.

MAC Address

MAC address of the DHCP client.

VLAN

VLAN to which the DHCP client belongs.

Interface

Index of the Layer 3 interface to which the DHCP client connects.

Lease Time

Lease expiration time.

Print count

Number of user entries that are displayed.

Total count

Total number of user entries.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212613

Downloads: 122

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