User Guide
710
Configuring DHCP Filter
Configuration Examples
Figure 4-3
Create Entry for Legal DHCPv4 Server
3) Click
to save the settings.
4.1.4 Using the CLI
1) Enable DHCPv4 Filter globally and on all pots:
Switch_A#configure
Switch_A(config)#ip dhcp filter
Switch_A(config)#interface range fastEthernet 1/0/1-24
Switch_A(config-if-range)#ip dhcp filter
Switch_A(config)#interface range gigabitEthernet 1/0/25-28
Switch_A(config-if-range)#ip dhcp filter
Switch_A(config-if-range)#exit
2) Create an entry for the legal DHCPv4 server:
Switch_A(config)#ip dhcp filter server permit-entry server-ip 192.168.0.200 client-mac
all interface fastEthernet 1/0/1
Switch_A(config)#end
Switch_A#copy running-config startup-config
Verify the Configuration
Verify the global DHCPv4 Filter configuration:
Switch_A#show ip dhcp filter
Downloaded from