100
Examples
# Specify master-backup as the DHCP server selecting algorithm in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] remote-server algorithm master-backup
Related commands
dhcp relay server-address algorithm
dhcp-server timeout
master-server switch-delay
remote-server
reset dhcp relay client-information
Use reset dhcp relay client-information to clear relay entries on the DHCP relay agent.
Syntax
reset dhcp relay client-information [ interface interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
Views
User view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Clears relay entries on the specified interface. If you do
not specify an interface, this command clears relay entries on all interfaces.
ip ip-address: Clears the relay entry for the specified IP address. If you do not specify an IP address,
this command clears 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 clears the relay entry for the specified IP address
on the public network.
Examples
# Clear all relay entries on the DHCP relay agent.
<Sysname> reset dhcp relay client-information
Related commands
display dhcp relay client-information
reset dhcp relay statistics
Use reset dhcp relay statistics to clear relay agent statistics.
Syntax
reset dhcp relay statistics [ interface interface-type interface-number ]
Views
User view