dhcp coa-zero-lease dual-cut

Function

The dhcp coa-zero-lease dual-cut command enables a device to log out a dual-stack user from both IPv4 and IPv6 stacks and send a DHCPv4 NAK message to the user when the RADIUS server delivers a zero lease for the user's IPv4 address in a CoA message and the user sends a Request message to renew the lease.

The undo dhcp coa-zero-lease dual-cut command cancels the configuration.

By default, a device logs out a dual-stack user from only the IPv4 stack and sends a DHCPv4 NAK message to the user when the RADIUS server delivers a zero lease for the user's IPv4 address in a CoA message and the user sends a Request message to renew the lease.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcp coa-zero-lease dual-cut

undo dhcp coa-zero-lease dual-cut

Parameters

None

Views

AAA domain view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

By default, a device logs out a dual-stack user from only the IPv4 stack and sends a DHCPv4 NAK message to the user when the RADIUS server delivers a zero lease for the user's IPv4 address in a CoA message and the user sends a Request message to renew the lease. To enable the device to logout a dual-stack user from both IPv4 and IPv6 stacks, run the dhcp coa-zero-lease dual-cut command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Enable a device to log out a dual-stack user from both IPv4 and IPv6 stacks and sends a DHCPv4 NAK message to the user when the RADIUS server delivers a zero lease for the user's IPv4 address in a CoA message and the user sends a Request message to renew the lease.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain test1
[~HUAWEI-aaa-domain-test1] dhcp coa-zero-lease dual-cut
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >