match any strings you have configured—for example, you might specify that all
clients with non-matching strings be dropped.
You use the
set dhcp vendor-option
command to configure vendor-option (option
60) strings to control DHCP client traffic Create DHCP vendor-option servers by
configuring DHCP relay to match DHCP option 60 strings and to specify what action
to use for the traffic.
Use the following guidelines when configuring the
set dhcp vendor-option
command:
■
Use the
equals
or
starts-with
keywords to specify a unique string to match, and
to configure the action to take for traffic with a matching string:
■
equals
—The DHCP client string is an exact match of the specified string
■
starts-with
—The DHCP client string is a partial match, from left-to-right, of
the specified string. For example, a client string of
day
matches a
starts-with
configured string of
daytime
.
■
Use the following keywords to configure actions for matching strings:
■
local-server
—Forward packets to the DHCP local server
■
relay
—Forward packets to the DHCP server with the specified IP address
■
Use the
default
keyword to set the default action to take when the option 60
string does not match a configured vendor-option string. Use the following
keywords to configure actions for nonmatching strings:
■
drop
—Discard traffic
■
local-server
—Forward packets to the DHCP local server
■
proxy-client
—Forward traffic to the DHCP proxy client server
■
relay
—Forward packets to the DHCP server with the specified IP address
■
relay-server-list
—Forward traffic to all non-vendor option DHCP servers.
The relay-server-list consists of all non-vendor option servers. Non-vendor
option servers are those servers that are configured with the
set dhcp relay
command but not with the
set dhcp vendor-option
command.
■
When you configure the first DHCP vendor-option and no default action is
specified for a configured DHCP application, the router chooses the default
action according to the preference of the DCHP applications. The order of
preference from first to last is DHCP local server, DHCP relay, and DHCP
proxy client.
You can map multiple strings to the same DHCP server, and you can map a single
string to multiple servers. However, mapping one string to more than five DHCP
vendor-option servers might impact performance.
You can configure a maximum of 100 option 60 strings per DHCP relay. Strings can
contain a maximum of 254 characters.
Client packets that have option 60 configured but have no string specified (a string
of 0 length) are treated as nonmatching strings and handled accordingly.
498
■
Configuring DHCP Relay and BOOTP Relay
JUNOSe 11.0.x Broadband Access Configuration Guide
Содержание JUNOSE 11.0.X MULTICAST ROUTING
Страница 6: ...vi...
Страница 28: ...xxviii Table of Contents JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 36: ...xxxvi List of Tables JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 42: ...2 Managing Remote Access JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 204: ...164 Managing RADIUS and TACACS JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 274: ...234 CLI Commands Used to Modify RADIUS Attributes JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 292: ...252 Monitoring RADIUS Relay Server JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 336: ...296 RADIUS Client Terminate Reasons JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 368: ...328 Managing L2TP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 408: ...368 Configuring the Weighted Load Balancing Method JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 444: ...404 PPP Accounting Statistics JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 492: ...452 Monitoring Operational Status within the Current VR Context JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 494: ...454 Managing DHCP JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 510: ...470 DHCP Local Server Configuration Tasks JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 528: ...488 Configuring the Router to Work with the SRC Software JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 556: ...516 Configuring DHCP Relay Proxy JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 616: ...576 Managing the Subscriber Environment JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 632: ...592 Subscriber Management Configuration Examples JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 636: ...596 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 672: ...632 Monitoring Active IP Subscribers Created by Subscriber Management JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 674: ...634 Managing Subscriber Services JUNOSe 11 0 x Broadband Access Configuration Guide...
Страница 767: ...Part 7 Index Index on page 729 Index 727...
Страница 768: ...728 Index JUNOSe 11 0 x Broadband Access Configuration Guide...