
Command
Function
Switch(config-if-GigabitEthernet-0/1)#
dhcp-snooping trust
set the port as DHCP Snooping trusted
port.
Switch(config-if-GigabitEthernet-0/1)#
no dhcp-snooping trust
delete the port from trusted port, that is, to
set it as untrusted port.
Switch(config-link-aggregation1)#
dhc
p-snooping trust
set the link aggregation group as DHCP
Snooping trusted link aggregation
group(the link aggregation group must has
been established)
Switch(config-link-aggregation1)#
no
dhcp-snooping trust
delete the link aggregation group from
trusted link aggregation group, that is, to
set it as untrusted port.
The following example is to configure DHCP Snooping trusted port:
Switch#configure terminal
Enter configuration commands, one per line. End with CTRL+Z.
Switch(config)#interface gigabitEthernet 0/1
Switch(config-if-GigabitEthernet-0/1)#
dhcp-snooping trust
The following example is to configure DHCP Snooping untrusted port:
:
Switch(config-if-GigabitEthernet-0/1)#
no dhcp-snooping trust
The following example is to configure DHCP Snooping trusted AP port:
Switch#configure terminal
Enter configuration commands, one per line. End with CTRL+Z.
Switch(config)#link-aggregation 1
Switch(config-link-aggregation1)#
dhcp-snooping trust
The following example is to configure DHCP Snooping untrusted AP port:
Switch(config-link-aggregation1)#
no
dhcp-snooping trust
13.2.3. Disable DHCP Snooping
Command
Function