72
Predefined user roles
network-admin
network-operator
Examples
# Display MAC address check entries on the DHCP relay agent.
<Sysname> display dhcp relay check mac-address
Source-MAC Interface Aging-time
23f3-1122-adf1 XGE1/0/1 10
23f3-1122-2230 XGE1/0/2 30
Table 12 Command output
Source MAC Source MAC address of the attacker.
Interface Interface where the attack comes from.
Aging-time Aging time of the MAC address check entry, in seconds.
display dhcp relay client-information
Use display dhcp relay client-information to display relay entries on the relay agent.
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.
ip ip-address: Displays the relay entry for the specified IP address.
vpn-instance vpn-instance-name: Displays the relay entry for the specified IP address in the
specified MPLS L3VPN instance. The vpn-instance-name is a case-sensitive string of 1 to 31
characters.
Usage guidelines
The DHCP relay agent records relay entries only when the dhcp relay client-information record
command has been issued.
If you do not specify any parameters, the display dhcp relay client-information command displays
all relay entries on the relay agent.
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