
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
167
Switch# configure terminal
Switch(config)# ip dhcp class Service-A
Switch(config-dhcp-class)# option 60 hex 112233
Switch(config-dhcp-class)# option 60 hex 102030
Switch(config-dhcp-class)#exit
Switch(config)# ip dhcp pool pool1
Switch(config-dhcp-pool)# relay source 172.19.18.0 255.255.255.0
Switch(config-dhcp-pool)# class Service-A
Switch(config-dhcp-pool-class)# relay target 10.2.1.2
Switch(config-dhcp-pool-class)#
17-22
service dhcp
This command is used to enable the DHCP relay service on the Switch. Use the
no
form of this
command to disable the DHCP relay service.
service dhcp
no service dhcp
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to enable the DHCP relay service on the switch.
Example
This example shows how to disables the DHCP server and relay service.
Switch#configure terminal
Switch(config)#no service dhcp
Switch(config)#
17-23
show ip dhcp relay information trusted-sources
This command is used to display all interfaces configured as trusted sources for the DHCP relay
information option.
show ip dhcp relay information trusted-sources
Parameters
None.
Default
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...