dhcp-snooping no-user-binding

Syntax

dhcp-snooping no-user-binding

undo dhcp-snooping no-user-binding

View

Layer 2 Ethernet port view, Layer 2 aggregate interface view

Default level

2: System level

Parameters

None

Description

Use dhcp-snooping no-user-binding to disable a port (either trusted or untrusted) from recording the IP-to-MAC bindings of clients.

Use undo dhcp-snooping no-user-binding to restore the default.

With DHCP snooping enabled, all ports record clients' IP-to-MAC bindings by default.

Examples

# Disable Ethernet 1/0/1 from recording clients' IP-to-MAC bindings.

<Sysname> system-view
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] dhcp-snooping no-user-binding