_____________________________________________________________________________
____________________________________________________________________________
66
LTP-8X optical line terminal
17.2
DHCP Relay Agent Profiles Configuration
Step 1.
Switch to the corresponding DHCP Relay Agent profile.
LTP-8X(config)# profile dhcp-ra dhcp-ra-01
Step 2.
Enable DHCP traffic processing with the enable command.
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# enable
Step 3.
Enable insert/overwrite of DHCP option 82 with the help of the
overwrite-option82
command if
needed.
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# overwrite-option82
Step 4.
Specify the DHCP option 82 format with the help of the
overwrite-option82 circuit-id
and
overwrite-option82 remote-id
commands if needed. A list of possible tokens is given in Table 17.1, page
66.
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# overwrite-option82 circuit-id "%HOSTNAME%-%MAC%-
%OPT82_CID%"
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# overwrite-option82 remote-id "%OPT82_RID%"
Step 5.
Enable DoS attack protection with the help of the
dos-block
command if needed. Specify the
threshold for DHCP queries intensity in seconds which will block the queries when exceeded. Use the
dos-block packet-limit
command for it. Use the
dos-block block-time
command to specify the blocking
time in seconds.
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# dos-block
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# dos-block packet-limit 200
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# dos-block block-time 300
Step 6.
Set a list of trusted DHCP servers with the help of the
trusted- primary
and
trusted-secondary
commands. Specify a response timeout for DHCP servers by using the
trusted-timeout
command.
Activate filters with the help of the
trusted
command.
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# trusted primary 10.0.0.1
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# trusted secondary 10.0.0.2
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# trusted timeout 100
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# trusted
Step 7.
Apply the changes by using the
commit
command.
LTP-8X(config-dhcp-ra)("dhcp-ra-01")# commit
To apply the changes, OLT should be reconfigured.