Enabling Dhcp Snooping Logging; Display And Maintenance Commands For Dhcp Snooping - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Step
3.
Configure the port to block
DHCP requests.

Enabling DHCP snooping logging

The DHCP snooping logging feature enables the DHCP snooping device to generate DHCP
snooping logs and send them to the information center. For information about the log destination and
output rule configuration in the information center, see Network Management and Monitoring
Configuration Guide.
As a best practice, disable this feature if the log generation affects the device performance.
To enable DHCP snooping logging:
Step
1.
Enter system view.
2.
Enable DHCP snooping
logging.
Display and maintenance commands for DHCP
snooping
Execute display commands in any view, and reset commands in user view.
Task
Display DHCP snooping entries.
Display Option 82 configuration information
on the DHCP snooping device.
(In standalone mode.) Display DHCP packet
statistics on the DHCP snooping device.
(In IRF mode.) Display DHCP packet
statistics on the DHCP snooping device.
Display information about trusted ports.
Display information about the file that stores
DHCP snooping entries.
Clear DHCP snooping entries.
(In standalone mode.) Clear DHCP packet
statistics on the DHCP snooping device.
(In IRF mode.) Clear DHCP packet statistics
on the DHCP snooping device.
Command
dhcp snooping deny
Command
system-view
dhcp snooping log enable
Command
display dhcp snooping binding [ ip ip-address [ vlan
vlan-id ] ] [ verbose ]
display dhcp snooping information { all | interface
interface-type interface-number }
display dhcp snooping packet statistics [ slot
slot-number ]
display dhcp snooping packet statistics [ chassis
chassis-number slot slot-number ]
display dhcp snooping trust
display dhcp snooping binding database
reset dhcp snooping binding { all | ip ip-address [ vlan
vlan-id ] }
reset dhcp snooping packet statistics [ slot slot-number ]
reset dhcp snooping packet statistics [ chassis
chassis-number slot slot-number ]
164
Remarks
By default, the port does not block
DHCP requests.
Remarks
N/A
By default, DHCP snooping
logging is disabled.

Advertisement

Table of Contents
loading

Table of Contents