DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
162
Example
This example shows how to disable the DHCP relay agent to trust all interface settings and enable
trust for VLAN 100.
Switch# configure terminal
Switch(config)# no ip dhcp relay information trust-all
Switch(config)# interface vlan 100
Switch(config-if)# ip dhcp relay information trusted
Switch(config-if)#
17-16
ip dhcp local-relay vlan
This command is used to enable local relay on a VLAN or a group of VLANs. Use the
no
form of this
command to disable the local relay function.
ip dhcp local-relay vlan
VLAN-ID
[, | -]
no ip dhcp local-relay vlan
VLAN-ID
[, | -]
Parameters
vlan
VLAN-ID
Specifies the VLAN used.
,
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space is allowed before and
after the comma.
-
(Optional) Specifies a range of interfaces. No space is allowed
before and after the hyphen.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The local relay relays the DHCP message to all local VLAN member ports based on the relay option
setting. The local relay does not change the destination IP, destination MAC, and the gateway field of
the packet.
Example
This example shows how to enable the local relay function on VLAN 100.
Switch# configure terminal
Switch(config)# ip dhcp local-relay vlan 100
Switch(config)#
17-17
ip dhcp smart-relay
This command is used to enable the smart relay feature of the DHCP relay agent. Use the
no
form of
this command to disable the smart relay function.
ip dhcp smart-relay
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 ...