DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
167
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
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.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...