93
Syntax
display dhcp relay client-information [ interface interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Displays relay entries on the specified interface. If you do
not specify an interface, this command displays relay entries on all interfaces.
ip ip-address: Displays the relay entry for the specified IP address. If you do not specify an IP
address, this command displays relay entries for all IP addresses.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the specified IP
address belongs. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If
you do not specify a VPN instance, this command displays the relay entry for the specified IP
address on the public network.
Usage guidelines
The DHCP relay agent records relay entries only after you configure the dhcp relay
client-information record command.
Examples
# Display all relay entries on the relay agent.
<Sysname> display dhcp relay client-information
Total number of client-information items: 2
Total number of dynamic items: 1
Total number of temporary items: 1
IP address MAC address Type Interface VPN name
10.1.1.5 00e0-0000-0000 Temporary Vlan2 N/A
Table 14 Command output
Field Description
Total number of client-information items Total number of relay entries.
Total number of dynamic items Total number of dynamic relay entries.
Total number of temporary items Total number of temporary relay entries.
IP address IP address of the DHCP client.
MAC address MAC address of the DHCP client.
Type
Relay entry type:
• Dynamic—The relay agent creates a dynamic relay entry
upon receiving an ACK response from the DHCP server.
• Temporary—The relay agent creates a temporary relay
entry upon receiving a REQUEST packet from a DHCP
client.
Interface
Layer 3 interface connected to the DHCP client.
N/A
is
displayed for relay entries without interface information.
VPN name
Name of the VPN instance to which the DHCP client belongs. If