Dhcp-Snooping Server-Guard Source-Mac - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

View
Ethernet port view
Parameters
trap: Sends a trap to notify the administrator when an unauthorized DHCP server is detected.
shutdown: Shuts down the port administratively when an unauthorized DHCP server is detected, and
sends a trap to notify the administrator.
Description
Use the dhcp-snooping server-guard method command to specify the method for handling
unauthorized DHCP servers. With the keyword trap specified, when an unauthorized DHCP server is
detected, the switch sends a trap to notify the administrator; with the keyword shutdown specified,
when an unauthorized DHCP server is detected, the switch shuts down the port administratively, and
sends a trap to notify the administrator.
Use the undo dhcp-snooping server-guard method command to restore the default.
By default, the unauthorized DHCP server detection handling method is trap.
Note that:
Among S3100 series switches, only S3100-SI series switches support the two commands.
A port shut down administratively is in the closed state and cannot receive or forward packets;
however, using the display current-configuration command cannot display the port state. You can
use the undo shutdown command in port view to enable this port.
Example
# Specify the unauthorized DHCP server handling method as shutdown.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/3
[Sysname-Ethernet1/0/3] dhcp-snooping server-guard method shutdown

dhcp-snooping server-guard source-mac

Syntax
dhcp-snooping server-guard source-mac mac-address
undo dhcp-snooping server-guard source-mac
View
System view
Parameters
mac-address: MAC address, in the format of H-H-H.
Description
Use the dhcp-snooping server-guard source-mac command to specify a source MAC address for
DHCP-DISCOVER messages.
2-8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents