274 Appendix
WAGO-ETHERNET-Zubehör 852
852-1305 8/4-Port 100BASE-T/1000BASE-SX/LX
Manual
1.1.0
10.3.3.11 DHCP Relay
Table 133: CLI “DHCP Relay” 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
for a VLAN or a VLAN range.
configure
no dhcp relay vlan
VLAN_RANGE
This command disables the “DHCP Relay” function
for a VLAN or a VLAN range.
configure
dhcp helper-address
IP_ADDRESS
This command configures IP address of the DHCP
server.
configure
no dhcp helper-address
This command deletes the IP address of the DHCP
server.
configure
dhcp option82 (disable |
enable)
This command disables / enables the “DHCP Relay
Option 82” function on the switch.
configure
dhcp option82 information
STRING
This command configures the information for the
“DHCP Relay Option 82” function.
configure
no dhcp option82
information
This command deletes the information for the
“DHCP Relay Option 82” function.
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
L2SWITCH(config)#
dhcp option82 enable
L2SWITCH(config)#
dhcp option82 information Justin