dhcpv4-snooping trust

Syntax

dhcpv4-snooping trust

no dhcpv4-snooping trust

Description

Enables DHCPv4 snooping trust on the selected port. Only server packets received on trusted ports are forwarded. All the ports are untrusted by default.

The no form of the command disables DHCPv4 snooping trust on the selected port.

Command context

config-if

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling DHCPv4 snooping trust on interface 2/2/1:

switch(config)# interface 2/2/1
switch(config-if)# dhcpv4-snooping trust
switch(config-if)# exit
switch(config)#

Disabling DHCPv4 snooping trust on interface 2/2/1:

switch(config)# interface 2/2/1
switch(config-if)# no dhcpv4-snooping trust
switch(config-if)# exit
switch(config)#