Dhcp-Snooping Server-Guard Enable; Dhcp-Snooping Server-Guard Method - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Note that among S3100 series switches, only S3100-EI series switches support the two commands.
Examples
# Configure the remote ID of Option 82 in DHCP packets to abc on the port Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] dhcp-snooping information remote-id string abc

dhcp-snooping server-guard enable

Syntax
dhcp-snooping server-guard enable
undo dhcp-snooping server-guard enable
View
Ethernet port view
Parameters
None
Description
Use the dhcp-snooping server-guard enable command to enable unauthorized DHCP server
detection on the port, through which DHCP-DISCOVER messages will be sent to detect unauthorized
DHCP servers.
Use the undo dhcp-snooping server-guard enable command to disable unauthorized DHCP server
detection on the port.
Note that:
Among S3100 series switches, only S3100-SI series switches support the two commands.
You need to enable DHCP snooping before enabling unauthorized DHCP server detection on the
switch.
Examples
# Enable unauthorized DHCP server detection on Ethernet 1/0/3.
<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 enable

dhcp-snooping server-guard method

Syntax
dhcp-snooping server-guard method { trap | shutdown }
undo dhcp-snooping server-guard method
2-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents