D-Link DGS-510 Reference Manual page 170

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Usage Guideline
When IP DHCP relay information is trusted on an interface, the arriving packets with the GIADDR of 0
(this relay agent is the first relay of this DHCP request packet) but with relay agent information option
present will be accepted. If it is not trusted, these packets will be dropped.
When the IP DHCP relay information trust-all command setting is enabled, IP DHCP relay information
is trusted for all interfaces. When this command setting is disabled, the trust state is determined by
the interface mode command ip dhcp relay information trusted.
Verify the settings by entering the show ip dhcp relay information trusted-sources command.
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
,
-
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.
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.
167

Advertisement

Table of Contents
loading

Table of Contents