EasyManua.ls Logo

D-Link DGS-1510 Series - Page 165

D-Link DGS-1510 Series
711 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Other manuals for D-Link DGS-1510 Series

Related product manuals