If-Match - HP MSR Series Command Reference Manual

Layer 3 ip services command reference (v7)
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

export-route: Binds the gateways to the device's MAC address in the address management module. The
ARP module will use the entries to reply to ARP requests from the DHCP clients. This feature ensures the
clients to obtain different gateway IP addresses but the same MAC address.
Usage guidelines
If you use this command multiple times, the most recent configuration takes effect.
If you do not specify any parameters, the undo gateway-list command deletes all gateway addresses.
The DHCP server assigns gateway addresses to clients on a secondary subnet in the following ways:
If gateways are specified in both address pool view and secondary subnet view, DHCP assigns
those specified in the secondary subnet view.
If gateways are specified in address pool view but not in secondary subnet view, DHCP assigns
those specified in address pool view.
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

Use if-match to configure a match rule for a DHCP user class.
Use undo if-match to remove the match rule for a DHCP user class.
Syntax
if-match rule rule-number { option option-code [ hex hex-string [ mask mask | offset offset length length ] ]
| hardware-address hardware-address mask hardware-address-mask }
undo if-match rule rule-number
Default
No match rule is configured for the DHCP user class.
Views
DHCP user class view
Predefined user roles
network-admin
Parameters
rule rule-number: Assigns the match rule an ID in the range of 1 to 16. A smaller ID represents a higher
match priority.
option option-code: Specifies a DHCP option by its number in the range of 1 to 254.
hex hex-string: Specifies a hexadecimal string. The length of the hexadecimal string must be an even
number in the range of 2 to 256.
67

Advertisement

Table of Contents
loading

Table of Contents