D-Link DGS-1510 Series Reference Manual page 165

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
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.
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
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.
162

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents