DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
163
no ip dhcp smart-relay
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When the received interface of the packet has secondary addresses, by default, the relay agent set
the gateway address field of the packet to the primary address of the interface. When smart relay is
enabled, relay agent will count the number that a client retries sending of the DISCOVER message.
The relay agent will switch the gateway address to secondary address of the received interface after
three retries.
Example
This example shows how to enable the smart relay function
Switch# configure terminal
Switch(config)# ip dhcp smart-relay
Switch(config)#
17-18
option hex (DHCP relay)
This command is used to specify a DHCP option matching pattern for a DHCP class. Use the
no
form
of this command to delete the specified matching pattern for a DHCP class.
option
CODE
hex
PATTERN
[
*
] [bitmask
MASK
]
no option
CODE
hex
PATTERN
[
*
] [bitmask
MASK
]
Parameters
CODE
Specifies the DHCP option number.
PATTERN
Specifies the hex pattern of the specified DHCP option.
*
(Optional) Specifies not to match the remaining bits of the option. If
not specified, the bit length of the
PATTERN
should be the same as
the bit length of the option.
MASK
(Optional) Specifies the hex bit mask for masking of the pattern. The
masked pattern bits will be matched. If not specified, all bits
specified by
PATTERN
will be checked. The bit set to FF will be
checked. The input format should be the same as
PATTERN
.
Default
None.
Command Mode
DHCP Class Configuration Mode.
Command Default Level
Summary of Contents for DGS-1510 Series
Page 1: ...1 0 ...
Page 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Page 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Page 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Page 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Page 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...