If-Match Option - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

Parameters
ip-address&<1-8>: Specifies gateways. &<1-8> indicates that you can specify up to eight gateway
addresses separated by spaces. Gateway addresses must reside on the same subnet as the assignable
IP addresses.
Usage guidelines
If you use this command multiple times, the most recent configuration takes effect.
Without any parameters specified, the undo gateway-list command deletes all gateway addresses.
If you specify gateways in both address pool view and secondary subnet view, DHCP assigns the
gateway addresses in the secondary subnet view to the clients on the secondary subnet.
If you specify gateways in address pool view but not in secondary subnet view, DHCP assigns the
gateway addresses in address pool view to the clients on the secondary subnet.
Examples
# Specify the gateway address 10.1.1.1 in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] gateway-list 10.1.1.1
Related commands
display dhcp server pool

if-match option

Use if-match option to configure a match rule for a DHCP user class.
Use undo if-match option to remove the match rule for a DHCP user class.
Syntax
if-match option option-code [ hex hex-string [ mask mask | offset offset length length ] ]
undo if-match option option-code [ hex hex-string [ mask mask | offset offset length length ] ]
Default
No match rule is configured for the DHCP user class.
Views
DHCP user class view
Predefined user roles
network-admin
Parameters
option-code: Matches a DHCP option identified by a number in the range of 1 to 254.
hex hex-string: Matches the specified string in the option, which must be a hex string of even numbers in
the range of 2 to 256. If the hex-string argument is not specified, the DHCP server only checks whether
the specified option exists in the received packets.
mask mask: Specifies the mask used to match the option content. The mask argument is a hex string of
even numbers in the range of 2 to 256. The length of mask must be the same as that of hex-string.
51

Advertisement

Table of Contents
loading

Table of Contents