< Home

dhcp snooping trusted no-user-binding (upgrade-compatible command)

Function

The dhcp snooping trusted no-user-binding command configures an interface as the trusted interface.

The undo dhcp snooping trusted no-user-binding command restores the default state of an interface.

By default, no trusted interface is configured.

Format

dhcp snooping trusted no-user-binding

undo dhcp snooping trusted no-user-binding

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

When DHCP snooping is enabled on an interface, the interface is an untrusted interface by default. After you use the dhcp snooping trusted no-user-binding command in the interface view, the interface becomes a trusted interface.

This command can only be used during a configuration restoration.

Example

# Configure a trusted interface GE0/0/1.

<HUAWEI> system-view
[HUAWEI] dhcp enable
[HUAWEI] dhcp snooping enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] dhcp snooping trusted no-user-binding
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic