dhcpv6 relay access-limit

Function

The dhcpv6 relay access-limit command configures the maximum number of access DHCPv6 clients on a DHCPv6 relay interface.

The undo dhcpv6 relay access-limit command deletes the maximum number of access DHCPv6 clients on a DHCPv6 relay interface.

By default, the maximum number of access DHCPv6 clients is not limited on DHCPv6 relay interfaces. Only the maximum number of DHCPv6 clients on the entire device is limited.

Format

dhcpv6 relay access-limit limit-number

undo dhcpv6 relay access-limit [ limit-number ]

Parameters

Parameter Description Value
limit-number

Specifies the maximum number of access DHCPv6 clients on a DHCPv6 relay interface.

The value is an integer ranging from 0 to 65536.

Views

100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE optical interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

To limit the maximum number of access DHCPv6 clients during network planning or service adjustment, run the dhcpv6 relay access-limit command.

The dhcpv6 relay access-limit limit-number command configures the maximum number of access DHCPv6 clients on a DHCPv6 relay interface.

Configuration Impact

This command takes effect for subsequent DHCPv6 clients that go online. The maximum number of online DHCPv6 clients is not limited.

Precautions

If the dhcpv6 relay access-limit command is run with a VLAN range specified, and then the undo dhcpv6 relay access-limit command is run with a smaller VLAN range specified, the first VLAN range is divided into two parts. After the VLAN range specified in the dhcpv6 relay access-limit command is divided into 16 parts, the undo dhcpv6 relay access-limit command can no longer be run.

Example

# Configure GE 0/1/0 to allow a maximum of 100 DHCPv6 clients to go online.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] dhcpv6 relay access-limit 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >