Reference Guide
DHCP Filtering 147
DHCP Filtering
ip dhcp filtering vlan
Use the
ip dhcp filtering vlan
global configuration command to enable filtering of DHCP requests
on a VLAN. Use the
no
form of this command to disable DHCP requests filtering on a VLAN .
Syntax
ip dhcp filtering vlan
vlan-id
no ip dhcp filtering vlan
vlan-id
•
vlan-id
— Specify VLAN ID.
Default Configuration
Disabled
Command Mode
Global Configuration mode
User Guidelines
• Use this command to limit flooding of DHCP requests to trusted ports only.
• Use the ip dhcp filtering trust interface configuration command to define trusted ports.
Examples
The following example enables filtering of DHCP requests on a VLAN.
ip dhcp filtering trust
Use the ip dhcp filtering trust interface configuration command to configure a port as trusted for
DHCP filtering purposes. Use the no form of this command to return to the default setting.
Syntax
ip dhcp filtering trust
no ip dhcp filtering trust
Default Configuration
The interface is untrusted.
console(config)# ip dhcp filtering vlan 3










