dhcpv4-snooping trust

Syntax

dhcpv4-snooping trust no dhcpv4-snooping trust

Description

使DHCPv4窥探信任所选择的端口上. 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/1switch(config-if)#dhcpv4-snooping trustswitch(config-if)#exitswitch(config)#

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

switch(config)#interface 2/2/1switch(config-if)#no dhcpv4-snooping trustswitch(config-if)#exitswitch(config)#