Dhcp Relay Mac-Forward Enable - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

After you enable Option 60 insertion on the DHCP relay agent, the relay agent first examines
whether the received DHCP request contains Option 60.
If the request does not contain Option 60, the relay agent inserts the specified option string into
the request before forwarding the request to the DHCP server.
If the request contains Option 60, the relay agent forwards the request to the DHCP server
without processing this option.
The command takes effect only after you execute the
If you execute this command multiple times on an interface, the most recent configuration takes
effect.
Examples
# On VLAN-interface 10, enable the DHCP relay agent to insert Option 60 into DHCP requests.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[
Sysname-Vlan-interface10
Related commands
dhcp select relay

dhcp relay mac-forward enable

Use
dhcp relay mac-forward enable
that do not have forwarding information on the relay agent.
Use
undo dhcp relay mac-forward enable
Syntax
dhcp relay mac-forward enable [ broadcast ]
undo dhcp relay mac-forward enable
Default
The DHCP relay agent discards a DHCP reply if the agent does not have the forwarding information
for the reply.
Views
System view
Predefined user roles
network-admin
Parameters
broadcast
you do not specify this keyword, the DHCP relay agent unicasts DHCP replies.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Enable MAC address table lookup for DHCP replies that do not have forwarding information on the
relay agent.
<Sysname> system-view
[Sysname] dhcp relay mac-forward enable
]
dhcp relay insert option60 sysname.com
: Broadcasts DHCP replies out of the interface in the matching MAC address entry. If
dhcp select relay
to enable MAC address table lookup for DHCP replies
to restore the default.
72
command.

Advertisement

Table of Contents
loading

Table of Contents