DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
362
This example shows how to specify the DHCP server Option 72 (WWW server option) in the IP format.
Two WWW servers are configured, 172.19.10.1 and 172.19.10.100.
Switch# configure terminal
Switch(config)# ip dhcp pool pool1
Switch(dhcp-config)# option 72 ip 172.19.10.1 172.19.10.100
22-25
option hex (DHCP Relay & Server)
This command is used to specify a DHCP option matching pattern for a DHCP class. Use the
no
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 hexadecimal pattern of the specified DHCP option.
*
Specifies the remaining bits of the option that will not be matched. If *
is not specified, the bit length of the pattern should be the same as the
bit length of the option.
MASK
Specifies the hexadecimal bit mask for the masking of the pattern. The
masked pattern bits will be matched. If the mask is not specified, all
the bits specified by the pattern will be checked. The bit set as 1 will be
checked. The input format should be the same as the pattern.
Default
None.
Command Mode
DHCP Class Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The user can use the
ip dhcp class
command with the
option hex
command to define a DHCP class.
The classes in a pool are matched in the order that the class is configured in a pool.
With the
option hex
command, the user can specify the DHCP option code number with its matching
pattern for a DHCP class. Multiple option patterns can be specified for a DHCP class. If the packet
matches any of the specified patterns of a DHCP class, the packet will be classified to the DHCP class
and forwarded based on the specified target.
The following are some commonly used option codes:
•
Option 60 (Vendor Class Identifier).
•
Option 61 (Client Identifier).
•
Option 77 (User Class).
•
Option 82 (Relay Agent Information Option).
•
Option 124 (Vendor-identifying Vendor Class).
•
Option 125 (Vendor-identifying Vendor-specific Information).
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...