D-Link DGS-3120-48PC Reference Manual page 254

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-48PC:
Table of Contents

Advertisement

®
xStack
Example
To configure the state of dhcp_relay option 61:
DGS-3120-24TC:admin# config dhcp_relay option_61 state enable
Command: config dhcp_relay option_61 state enable
Success
DGS-3120-24TC:admin#
24-16 config dhcp_relay option_61 add
Description
This command is used to add a rule to determine the relay server based on option 61. The match
rule can base on either MAC address or a user-specified string. Only one relay server can be
specified for a MAC-address or a string.
If relay servers are determined based on option 60, and one relay server is determined based on
option 61, the final relay servers will be the union of these two sets of the servers.
Format
config dhcp_relay option_61 add [mac_address <macaddr> | string <desc_long 255>] [relay
<ipaddr> | drop]
Parameters
mac_address - The client's client-ID which is the hardware address of client.
<macaddr> - Enter the client's MAC address here.
string - The client's client-ID, which is specified by administrator.
<desc_long 255> - Enter the client's description here. This value can be up to 255 characters
long.
relay - Specify to relay the packet to a IP address.
<ipaddr> - Enter the IP address used for this configuration here.
drop - Specify to drop the packet.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the DHCP relay option 61 function:
DGS-3120-24TC:admin#
44-55 drop
Command: config dhcp_relay option_61 add mac_address 00-11-22-33-44-55 drop
Success
DGS-3120-24TC:admin#
DGS-3120 Series Managed Switch CLI Reference Guide
config dhcp_relay option_61 add mac_address 00-11-22-33-
250

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents