![Vivotek AW-IHT-1270 Скачать руководство пользователя страница 109](http://html1.mh-extra.com/html/vivotek/aw-iht-1270/aw-iht-1270_user-manual_1041015109.webp)
101
VLAN 3: port 5, 6
VLAN 4: port 7, 8
DHCP Server
Port 1.
DHCP Client
Port 2, 3, 4, 5, 6, 7, 8.
Result:
Hosts connected to port 2,3,4,5,6,7,8 can get IP from DHCP server.
Note
: The DHCP Server must connect to the management VLAN member ports.
The DHCP Relay in management VLAN should be enabled.
Default Settings
The default global DHCP relay state is disabled.
The default VLAN DHCP relay state is disabled for all VLANs.
The default DHCP server is 0.0.0.0
6.5.2.
CLI Configuration
Node
Command
Description
enable
show dhcp relay
This command displays the current configurations for the
DHCP relay.
configure dhcp relay (disable |
enable)
This command disables/enables the DHCP relay on the
switch.
configure dhcp relay vlan
VLAN_RANGE
This command enables the DHCP relay function on a
VLAN or a range of VLANs.
configure no dhcp relay vlan
VLAN_RANGE
This command disables the DHCP relay function on a
VLAN or a range of VLANs.
configure dhcp helper-address
IP_ADDRESS
This command configures the DHCP server’s IP address.
configure no dhcp helper-
address
This command removes the DHCP server’s IP address.
Example:
L2SWITCH#
configure terminal
L2SWITCH(config)#
interface eth0
L2SWITCH(config-if)#
ip address 172.20.1.101/24
L2SWITCH(config-if)#
ip address default-gateway 172.20.1.1
L2SWITCH(config)#
dhcp relay enable
L2SWITCH(config)#
dhcp relay vlan 1
L2SWITCH(config)#
dhcp helper-address 172.20.1.1