DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
238
Parameters
<int>
-
Enter the enterprise number.
string
- Specify the DHCP relay Option 125 string used.
<multiword 255>
- Enter the DHCP relay Option 125 string used. This string can be up to 255
characters long.
hex
- Specify the DHCP relay Option 125 HEX string used. The system will add a 0 after the last
HEX character.
<string 255>
- Enter the DHCP relay Option 125 HEX string used. This string can be up to
255 characters long.
relay
- Specify the relay server IP address.
<ipaddr>
- Enter the relay server IP address
exact match
- Specify that the Option 125 string in the packet must fully match with the specified
string.
partial-match
- Specify that the Option 125 string in the packet only needs a partial match with
the specified string.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add option 125 with enterprise number125 and hex “0123” relay entry to 1.1.1.1:
DGS-3000-26TC:admin# config dhcp_relay option_125 add enterprise_number 0123
hex 0123 relay 1.1.1.1 exact-match
Command: config dhcp_relay option_125 add enterprise_number 123 hex 0123 relay
1.1.1.1 exact-match
Success
DGS-3000-26TC:admin#
config dhcp_relay option_125 default
20-24
Description
This command is used to when there are no matching servers found for the packet based on
option 125, the relay servers to use will be determined by the default relay server setting.
When drop is specified, the packet with no matching rules found will be dropped without further
processing.If the setting is configured to relay it will not drop and then the packet will be processed
further based on option 60 and option 61. The final relay servers to be used will be a combination
of option 60 default relay servers, the relay servers determined by option 61 and the relay servers
determined by option 125.
Format
config dhcp_relay option_125 default [relay <ipaddr> | mode [relay | drop]]
Parameters
relay
- Specify the IP address for DHCP relay forwarding.
<ipaddr>
- Enter a relay server IP for packets that match the option 125 rules set.
mode
- Specify to drop the packet that matches option 125 rules set.
Summary of Contents for DGS-3000 series
Page 1: ......