xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
410
config filter dhcp_server trap_log
Purpose
Used to configure the trap and log related to the DHCP server screening.
Syntax
config filter dhcp_server trap_log [enable | disable]
Description
This command is used to enable or disable trap/log related to DHCP server filter.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable log and trap for the DHCP server screening event:
D G S - 3 4 2 6 : 5 # c o n f i g f i l t e r d h c p _ s e r v e r t r a p _ l o g d i s a b l e
C o m m a n d : c o n f i g f i l t e r d h c p _ s e r v e r t r a p _ l o g d i s a b l e
S u c c e s s .
D G S - 3 4 2 6 : 5 #
config filter dhcp_server illegal_server_log_suppress_duration
Purpose
This function is used to configure the illegal server log suppress duration.
Syntax
config filter dhcp_server illegal_server_log_suppress_duration [ 1min | 5min |
30min ]
Description
This command Iis used to filter any illegal DHCP server packets. The DHCP server who
sends the illegal packets will be logged. This command is used to suppress the logging of
DHCP servers who continue to send illegal DHCP packets. The same illegal DHCP server
IP address that is detected will be logged only once regardless of how many illegal
packets are sent.
Parameters
illegal _server_log_suppress_duration
– The log can be suppressed by 1 minute, 5
minutes or 30 minutes. The default value is 5 minutes.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the illegal server log suppress duration for 30 minutes:
D G S - 3 4 2 6 : 5 # c o n f i g f i l t e r d h c p _ s e r v e r i l l e g a l _ s e r v e r _ l o g _ s u p p r e s s _ d u r a t i o n 3 0 m i n
C o m m a n d : c o n f i g f i l t e r d h c p _ s e r v e r i l l e g a l _ s e r v e r _ l o g _ s u p p r e s s _ d u r a t i o n 3 0 m i n
S u c c e s s .
D G S - 3 6 2 7 : 5 #