Supported Platforms
Related Documentation
starts-with (DHCP Relay Agent Option)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 12.3.
Description
Configure a partial match criteria used with the DHCP relay agent selective processing feature. DHCP relay agent compares the configured partial match string with the option-specific string received in DHCP client packets. If there is an partial left-to-right match, DHCP performs the action you define for the match criteria.
The option-specific string in the DHCP client packets can contain a superset of the specified ASCII or hexadecimal match string, provided that the leftmost characters of the option-specific string entirely match the characters in the configured match string.
You can configure an unlimited number of match strings. If you have multiple partial match configurations, the longest match rule applies. For example, DHCP relay agent matches the string “test123” before it matches the string “test”. Match strings do not support wildcard attributes.
The local-server-group option is not supported for DHCPv6 relay agent.
Options
ascii-string | — | ASCII string of 1 through 255 alphanumeric characters. |
hexadecimal-string | — | Hexadecimal string of 1 through 255 hexadecimal characters (0 through 9, a through f, A through F). |
The remaining statements are explained separately.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.