
© Copyright 2019 TRENDnet. All Rights Reserved.
TRENDnet User’s Guide
Industrial Managed Switch Series
89
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
Node
Command
Description
enable
show dhcp-snooping
This command displays the current
DHCP snooping configurations.
configure
dhcp-snooping (disable|enable)
This command disables/enables the
DHCP snooping on the switch.
configure
dhcp-snooping vlan VLANID
This command enables the DHCP
snooping function on a VLAN or
range of VLANs.
configure
no dhcp-snooping vlan VLANID
This command disables the DHCP
snooping function on a VLAN or
range of VLANs.
configure
dhcp-snooping server IPADDR
This command configures a valid
DHCP server.
interface
dhcp-snooping host
This command configures the
maximum host count for the
specific port.
interface
no dhcp-snooping host
This command configures the
maximum host count to default for
the specific port.
interface
dhcp-snooping trust
This command configures the trust
port for the specific port.
interface
no dhcp-snooping trust
This command configures the un-
trust port for the specific port.
configure
interface range
gigabitethernet1/0/ PORTLISTS
This command enters the interface
configure node.
Содержание TI-G160WS
Страница 1: ...TRENDnet User s Guide Cover Page...
Страница 148: ......