beautypg.com

ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 77

background image

Chapter 14 DHCP Snooping & DHCP VLAN Commands

Ethernet Switch CLI Reference Guide

77

• Enables DHCP snooping on VLANs 1,2,3,200 and 300.
• Sets the Switch to add the slot number, port number and VLAN ID to DHCP requests that

it broadcasts to the DHCP VLAN.

• Sets ports 1 - 5 as DHCP snooping trusted ports.
• Sets the maximum number of DHCP packets that can be received on ports 1 - 5 to 100

packets per second.

• Configures a DHCP VLAN with a VLAN ID 300.
• Displays DHCP snooping configuration details.

sysname(config)# dhcp snooping
sysname(config)# dhcp snooping database tftp://172.16.37.17/
snoopdata.txt
sysname(config)# dhcp snooping vlan 1,2,3,200,300
sysname(config)# dhcp snooping vlan 1,2,3,200,300 option
sysname(config)# interface port-channel 1-5
sysname(config-interface)# dhcp snooping trust
sysname(config-interface)# dhcp snooping limit rate 100
sysname(config-interface)# exit
sysname(config)# dhcp dhcp-vlan 300
sysname(config)# exit
sysname# show dhcp snooping
Switch DHCP snooping is enabled
DHCP Snooping is configured on the following VLANs:
1-3,200,300
Option 82 is configured on the following VLANs:
1-3,200,300
Appending system name is configured on the following VLANs:

DHCP VLAN is enabled on VLAN 300
Interface Trusted Rate Limit (pps)
--------- ------- ----------------
1 yes 100
2 yes 100
3 yes 100
4 yes 100
5 yes 100
6 no unlimited
7 no unlimited
8 no unlimited