
190
MES3000 Ethernet switch series
no ip dhcp relay
information option
formattype
option
Restore the default value
ip dhcp relay information
option suboption-type
{tr101 | custom}
-/tr101
Option 82 format setting:
-
tr101
- set option 82 format according syntax adopted in TR-101
recommendations. (Table 5.212)
-
custom
- set option 82 format according to format in Table
5.213
no ip dhcp relay
information option
suboption-type
Restore the default value
VLAN interface configuration mode commands
Command line request in VLAN interface configuration mode appears as follows:
console#
configure
console(config)#
interface
vlan
{
vlan_id
}
console(config-if)#
Table 5.229 —VLAN interface configuration mode commands
Command
Value
Action
ip dhcp relay enable
The agent is disabled by
default.
Enable DHCP Relay agent for the configured interface.
no ip dhcp relay enable
Disable DHCP Relay agent for the configured interface.
Ethernet interface configuration mode commands
Command line request appears as follows:
console(config-if)#
Table 5.230 —Ethernet interface configuration mode commands
Command
Default value
Action
ip dhcp relay information
policy {keep | replace |
drop | global}
-/global
Define the processing mode for DHCP packets with Option 82.
-
keep
— skip packets unchanged
-
replace
—replace the Option 82 content
-
drop
—drop packets with Option 82
Port values have a higher priority compared to the global setting.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console#
Table 5.231 —EXEC mode commands
Command
Action
show ip dhcp relay
Show the DHCP Relay agent configuration for the switch and for interfaces separately, and also the
list of available servers.
Example execution of commands
Show DHCP Relay agent function status:
console#
show ip dhcp relay
DHCP relay is Enabled
DHCP relay is not configured on any vlan.