DGS-6604
ip dhcp screening trap-log
CLI Reference Guide
232
ip dhcp screening trap-log
Used to enable trap/log function and use the no form to disable trap/log function.
ip dhcp screening trap-log
no ip dhcp screening trap-log
Syntax
None
Default
Disabled
Command Mode
Global configuration mode
Usage Guideline
Use this command to enable the function of trap/log. It will log illegal server IP
address, ingress port and send trap if any DHCP server packet is not authorized
and dropped if user turns on this function.
Example
The following example shows to enable trap/log function of DHCP screening:
switch#configure terminal
switch(config)# ip dhcp screening trap-log