profile dhcp-opt82
Switch to the dhcp-opt82 profile configuration mode.
Syntax
[no] profile dhcp-opt82 <NAME>
Parameters
<NAME> — profile name. Set of characters in the range from 1 to 15.
Privilege group
config-dhcp
Command mode
CONFIG
Example
LTP-16N(configure)# profile dhcp-opt82 DHCP-PROFILE
description
Sets profile description.
Syntax
description <VALUE>
no description
Parameters
<VALUE> — set of characters in the range from 1 to 127.
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(config)(profile-dhcp-opt82-DHCP82)# description DHCP-OPT82
circuit-id format
Sets circuit-id format for the current profile.
Syntax
circuid-id format <VALUE>
no circuid-id format
Parameters
<VALUE> — format parameter. String 240 characters long max. May take values:
- %HOSTNAME% — LTP host name;
- %MNGIP% — management interface IP address;
- %PON-PORT% — gpon port ID;
- %ONTID% — ONT administrator ID;
- %PONSERIAL% — ONT serial number;
- %GEMID% — GEM port ID;
- %VLAN0% — Outer VLAN ID;
- %VLAN1% — Inner VLAN ID;
- %MAC% — user device MAC address;
- %OLTMAC% — OLT MAC address;
- %OPT60% — Option60 of incoming packets;
- %OPT82_CID% — Option82 Circuit ID of incoming packets;
- %OPT82_RID% — Option82 Remote ID of incoming packets;
- %DESCR% — ONT configuration description.
Any characters except '%' can be between parameter values.
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(profile-dhcp-opt82-DHCP82)# circuit-id format 'host=%HOSTNAME%,ont=%ONTID%'
circuit-id mode
Sets circuit-id mode for the current profile.
Syntax
circuit-id mode <VALUE>
no circuit-id mode
Parameters
<VALUE> — mode selection parameter. May take values:
- binary;
- text.
Default value
text
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(config)(profile-dhcp-opt82-DHCP82)# circuit-id mode binary
name
Sets profile name.
Profile name is a unique identifier to access a specific profile.
Syntax
name <VALUE>
Parameters
<VALUE> — string from 1 to 15 characters long.
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(config)(profile-dhcp-opt82-dhcp)# name DHCP82-10
ont-sn-format
Sets the ONT serial number format for the current profile.
Syntax
ont-sn-format <VALUE>
no ont-sn-format
Parameters
<VALUE> — ONT serial number format. May take values:
- literal;
- numerical;
- section-numerical.
Default value
literal
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(config)(profile-dhcp-opt82-dhcp)# ont-sn-format numerical
overwrite-opt82 enable
Sets option 82 overwriting for this profile.
Syntax
[no] overwrite-opt82 enable
Parameters
The command does not contain any parameters.
Default value
Disabled
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(config)(profile-dhcp-opt82-dhcp)# overwrite-opt82 enable
remote-id format
Sets remote-id format for the current profile.
Syntax
remote-id format <VALUE>
no remote-id format
Parameters
<VALUE> — format parameter. String, 240 characters max. May take values:
- %HOSTNAME% — LTP host name;
- %MNGIP% — management interface IP address;
- %PON-PORT% — gpon port ID;
- %ONTID% — ONT administrator ID;
- %PONSERIAL% — ONT serial number;
- %GEMID% — GEM port ID;
- %VLAN0% — Outer VLAN ID;
- %VLAN1% — Inner VLAN ID;
- %MAC% — user device MAC address;
- %OLTMAC% — OLT MAC address;
- %OPT60% — Option60 of incoming packets;
- %OPT82_CID% — Option82 Circuit ID of incoming packets;
- %OPT82_RID% — Option82 Remote ID of incoming packets;
- %DESCR% — ONT configuration description.
Any characters except '%' can be between parameter values.
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(profile-dhcp-opt82-DHCP82)# remote-id format 'host=%HOSTNAME%,ont=%ONTID%'
remote-id mode
Sets remote-id mode for the current profile.
Syntax
remote-id mode <VALUE>
no remote-id mode
Parameters
<VALUE> — Mode selection parameter. May take values:
- binary;
- text.
Default value
text
Privilege group
config-dhcp
Command mode
PROFILE-DHCP-OPT82
Example
LTP-16N(config)(profile-dhcp-opt82-DHCP82)# remote-id mode binary