INS_CWGE24MS2_REV–
10/05/16 PAGE 131
INSTALLATION AND OPERATION MANUAL
CWGE24MS2
TECH SUPPORT: 1.888.678.9427
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
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:
CWGE24MS2#configure terminal
CWGE24MS2(config)# interface eth0
CWGE24MS2(config-if)# ip address 172.20.1.101/24
CWGE24MS2(config-if)# ip address default-gateway 172.20.1.1
CWGE24MS2(config)#dhcp relay enable
CWGE24MS2(config)# dhcp relay vlan 1
CWGE24MS2(config)# dhcp helper-address 172.20.1.1