EasyManuals Logo

H3C S3100 Series Command Manual

H3C S3100 Series
1244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #576 background imageLoading...
Page #576 background image
2-8
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:
z Among S3100 series switches, only S3100-SI series switches support the two commands.
z 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.

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals