clear vlan dhcp-address-allocation

clear vlan vlan_name dhcp-address-allocation [[all {offered | assigned | declined | expired}] | ipaddress]

Description

Removes addresses from the DHCP (Dynamic Host Configuration Protocol) allocation table.

Syntax Description

vlan_name Specifies the VLAN (Virtual LAN) of the DHCP server.
all Specifies all IP addresses, or all IP addresses in a particular state.
offered Specifies IP addresses offered to clients.
assigned Specifies IP addresses offered to and accepted by clients.
declined Specifies IP addresses declined by clients.
expired Specifies IP addresses whose lease has expired and not renewed by the DHCP server.
ipaddress Specifies a particular IP address.

Default

N/A.

Usage Guidelines

You can delete either a single entry, using the IP address, or all entries. If you use the all option, you can additionally delete entries in a specific state.

Example

The following command removes all the declined IP addresses by hosts on the VLAN temporary:

clear vlan temporary dhcp-address-allocation all declined

History

This command was first available in ExtremeXOS 11.0.

Platform Availability