![D-Link xStack DGS-3120 Series Скачать руководство пользователя страница 310](http://html1.mh-extra.com/html/d-link/xstack-dgs-3120-series/xstack-dgs-3120-series_cli-reference-manual_3503867310.webp)
xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
305
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#
25-15
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# config dhcp_relay option_61 add mac_address 00-11-22-33-
44-55 drop
Command: config dhcp_relay option_61 add mac_address 00-11-22-33-44-55 drop
Success
DGS-3120-24TC:admin#
Содержание xStack DGS-3120 Series
Страница 1: ......
Страница 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Страница 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Страница 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Страница 788: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 783 DGS 3120 24TC admin...
Страница 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...