© Copyright 2019 TRENDnet. All Rights Reserved.
Industrial Managed Switch Series
VLAN 1: port 1-10.
DHCP Client-1: connect to port 3.
DHCP Server: connect to port 1.
Procedures:
1. Default environments:
A. DHCP Client-1: ipconfig /release
B. DHCP Client-1: ipconfig /renew
DHCP Client-1 can get an IP address.
2. Enable the global DHCP Snooping.
A. [DEVICE_NAME](config)#dhcp-snooping
B. DHCP Client-1: ipconfig /release
C. DHCP Client-1: ipconfig /renew
DHCP Client-1 can get an IP address.
3. Enable the global DHCP Snooping and VLAN 1 DHCP Snooping.
A. [DEVICE_NAME](config)#dhcp-snooping
B. [DEVICE_NAME](config)#dhcp-snooping vlan 1
C. DHCP Client-1: ipconfig /release
D. DHCP Client-1: ipconfig /renew
DHCP Client-1 cannot get an IP address.
; Because the DHCP server connects to a un-trust port.
4. Enable the global DHCP Snooping and VLAN 1 DHCP Snooping.
A. [DEVICE_NAME](config)#dhcp-snooping
B. [DEVICE_NAME](config)#dhcp-snooping vlan 1
C. [DEVICE_NAME](config)#interface gi1/0/1
D. [DEVICE_NAME](config-if)#dhcp-snooping trust
E. DHCP Client-1: ipconfig /release
F. DHCP Client-1: ipconfig /renew
DHCP Client-1 can get an IP address.
5. If you configure a static host entry in the DHCP snooping binding table, and then
you want to change the host to DHCP client, the host will not get a new IP from
DHCP server, and then you must delete the static host entry first.
CLI Configuration
This command displays the current
DHCP snooping configurations.
dhcp-snooping (disable|enable)
This command disables/enables the
DHCP snooping on the switch.
dhcp-snooping vlan VLANID
This command enables the DHCP
snooping function on a VLAN or
range of VLANs.
no dhcp-snooping vlan VLANID
This command disables the DHCP
snooping function on a VLAN or
range of VLANs.
dhcp-snooping server IPADDR
This command configures a valid
DHCP server.
This command configures the
maximum host count for the
specific port.
This command configures the
maximum host count to default for
the specific port.
This command configures the trust
port for the specific port.
This command configures the un-
trust port for the specific port.
interface range
gigabitethernet1/0/ PORTLISTS
This command enters the interface
configure node.