Ip Dhcp Snooping Violation - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
Table of Contents

Advertisement

DHCP S
C
NOOPING
OMMANDS

IP DHCP SNOOPING VIOLATION

ip dhcp snooping violation
Overview
Use this command to specify the action the switch will take when it detects a DHCP
snooping violation by a DHCP packet on the ports.
Use the no variant of this command to disable the specified violation actions, or all
violation actions.
Syntax
ip dhcp snooping violation {log|trap|link-down} ...
no ip dhcp snooping violation [{log|trap|link-down} ...]
Default
By default, DHCP packets that violate DHCP snooping are dropped, but no other
violation action is taken.
Mode
Interface Configuration (port)
Usage
If a port has been shut down in response to a violation, to bring it back up again
after any issues have been resolved, use the
IP packets dropped by DHCP snooping filters do not result in other DHCP snooping
violation actions.
Example
To set the switch to send an SNMP notification and set the link status to link-down
if it detects a DHCP snooping violation on switch ports 1.0.1 to 1.0.4, use the
commands:
awplus#
awplus(config)#
awplus(config)#
awplus(config-if)#
Related
show ip dhcp snooping interface
Commands
show log
snmp-server enable trap
C613-50103-01 REV A
Parameter
Description
log
Generate a log message. To display these messages, use the
command.
Default: disabled.
trap
Generate an SNMP notification (trap). To send SNMP notifications,
SNMP must also be configured, and DHCP snooping notifications
must be enabled using the
Notifications are limited to one per second and to one per source
MAC and violation reason.
Default: disabled.
link-down
Set the port status to link-down.
Default: disabled.
configure terminal
snmp-server enable trap dhcpsnooping
interface port1.0.1-port1.0.4
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
snmp-server enable trap
shutdown
ip dhcp snooping violation trap link-down
show log
command.
command.
1869

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents