This command is used to add an optical network terminal (ONT) TR069 server profile. Configure TR069 server information in a profile. After this command is executed successfully, run the ont tr069-server-config command to bind the TR069 server profile to an ONT.
Indicates the ID of an ONT TR069 server profile. If you do not specify the profile ID, the system allocates the smallest idle profile ID to the profile automatically.
Numeral type. Range: 1-32.
profile-nameprofile-name
Indicates the name of an ONT TR069 server profile. If you do not specify the name, the system uses the default name "tr069-server-profile_x". "x" is the ID of an ONT TR069 server profile.
Character string type, a string of 1-32 characters.
The profile name must consist of visible characters excluding spaces or the following characters: " * < > ?.
urlurl
Indicates the URL address of the ONT TR069 server.
Character string type, a string of 1-63 characters.
The address must consist of visible characters excluding spaces or the following characters: " * < > ?.
useruser-name
Indicates the user name of the TR069 server.
Character string type, a string of 1-50 characters.
The user name must consist of visible characters excluding spaces or the following characters: " * < > ?.
user-password
Indicates the password of the TR069 server. When you input the user-password parameter in interactive mode, the user password is not displayed. You are advised to input the parameter in interactive mode.
Character string type, a string of 1-25 characters.
The password must consist of visible characters excluding spaces or the following characters: " * < > ?.
auth-realmauth-realm-value
Indicates the realm of the TR069 server in user authentication.
Character string type, a string of 1-24 characters.
The realm must consist of visible characters excluding spaces or the following characters: " * < > ?.
Modes
Global config mode
Level
Operator level
Usage Guidelines
None
Example
To add TR069 server profile 2, and set the URL address to www.huawei.com, user name to hw, configure the password in interactive mode, and authentication domain to auth, do as follows:
Command:
ont tr069-server-profile add profile-id 2 url www.huawei.com user hw
User Password(length<1,25>):
Confirm User Password(length<1,25>):
> Will you set the auth realm? (y/n)[n]: y
Auth realm(length<1-24>): auth
Adding an ONT TR069 server profile succeeded
Profile ID : 2
Profile name: tr069-server-profile_2
ont tr069-server-config(gpon)
Function
The ont tr069-server-config command is used to bind a TR069 server profile to the optical network terminal (ONT) connected to a gigabit-capable passive optical network (GPON) port.
The undo ont tr069-server-config command is used to clear the TR069 configuration of the ONT connected to a GPON port.
Format
ont tr069-server-config { portid } { all | ontid } { profile-idprofile-id | profile-nameprofile-name }
undo ont tr069-server-config { portid } { all | ontid }
Parameters
Parameter
Description
Value
portid
Indicates the ID of the GPON port connected to the ONT that requires the TR069 server information to be configured or cleared
Please see Differences Between Shelves .
all
Configures the TR069 server or clears the TR069 server information for all the ONTs connected to a GPON port.
-
ontid
Configures the TR069 server or clears the TR069 server information for a specific ONT.
Numeral type. Range: varies with the board type.
profile-idprofile-id
Indicates the ID of an ONT TR069 server profile.
Numeral type. Range: 1-32.
profile-nameprofile-name
Indicates the name of an ONT TR069 server profile.
Character string type, a string of 1-32 characters.
The characters must be visible and cannot contain a question mark (?). A double quotation mark (") except the outer-layer double quotation mark (") cannot be followed by a space. If the start or end character is a double quotation mark (), the corresponding end or start character must also be a double quotation mark (").
Modes
GPON mode
Level
Operator level
Usage Guidelines
Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
When you use all, you can bind all the GPON-port-connected ONTs to a TR069 server profile, or configure same parameters for all the ONTs; you can unbind the GPON-port-connected ONTs from profiles
Example
To bind TR069 server profile 1 to ONT 0 connected to GPON port 0/3/0, do as follows:
This command is used to add an optical network terminal (ONT) TR069 server profile. Configure TR069 server information in a profile. After this command is executed successfully, run the ont tr069-server-config command to bind the TR069 server profile to an ONT.
Indicates the ID of an ONT TR069 server profile. If you do not specify the profile ID, the system allocates the smallest idle profile ID to the profile automatically.
Numeral type. Range: 1-32.
profile-nameprofile-name
Indicates the name of an ONT TR069 server profile. If you do not specify the name, the system uses the default name "tr069-server-profile_x". "x" is the ID of an ONT TR069 server profile.
Character string type, a string of 1-32 characters.
The profile name must consist of visible characters excluding spaces or the following characters: " * < > ?.
urlurl
Indicates the URL address of the ONT TR069 server.
Character string type, a string of 1-63 characters.
The address must consist of visible characters excluding spaces or the following characters: " * < > ?.
useruser-name
Indicates the user name of the TR069 server.
Character string type, a string of 1-50 characters.
The user name must consist of visible characters excluding spaces or the following characters: " * < > ?.
user-password
Indicates the password of the TR069 server. When you input the user-password parameter in interactive mode, the user password is not displayed. You are advised to input the parameter in interactive mode.
Character string type, a string of 1-25 characters.
The password must consist of visible characters excluding spaces or the following characters: " * < > ?.
auth-realmauth-realm-value
Indicates the realm of the TR069 server in user authentication.
Character string type, a string of 1-24 characters.
The realm must consist of visible characters excluding spaces or the following characters: " * < > ?.
Modes
Global config mode
Level
Operator level
Usage Guidelines
None
Example
To add TR069 server profile 2, and set the URL address to www.huawei.com, user name to hw, configure the password in interactive mode, and authentication domain to auth, do as follows:
Command:
ont tr069-server-profile add profile-id 2 url www.huawei.com user hw
User Password(length<1,25>):
Confirm User Password(length<1,25>):
> Will you set the auth realm? (y/n)[n]: y
Auth realm(length<1-24>): auth
Adding an ONT TR069 server profile succeeded
Profile ID : 2
Profile name: tr069-server-profile_2
ont tr069-server-config(gpon)
Function
The ont tr069-server-config command is used to bind a TR069 server profile to the optical network terminal (ONT) connected to a gigabit-capable passive optical network (GPON) port.
The undo ont tr069-server-config command is used to clear the TR069 configuration of the ONT connected to a GPON port.
Format
ont tr069-server-config { portid } { all | ontid } { profile-idprofile-id | profile-nameprofile-name }
undo ont tr069-server-config { portid } { all | ontid }
Parameters
Parameter
Description
Value
portid
Indicates the ID of the GPON port connected to the ONT that requires the TR069 server information to be configured or cleared
Please see Differences Between Shelves .
all
Configures the TR069 server or clears the TR069 server information for all the ONTs connected to a GPON port.
-
ontid
Configures the TR069 server or clears the TR069 server information for a specific ONT.
Numeral type. Range: varies with the board type.
profile-idprofile-id
Indicates the ID of an ONT TR069 server profile.
Numeral type. Range: 1-32.
profile-nameprofile-name
Indicates the name of an ONT TR069 server profile.
Character string type, a string of 1-32 characters.
The characters must be visible and cannot contain a question mark (?). A double quotation mark (") except the outer-layer double quotation mark (") cannot be followed by a space. If the start or end character is a double quotation mark (), the corresponding end or start character must also be a double quotation mark (").
Modes
GPON mode
Level
Operator level
Usage Guidelines
Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
When you use all, you can bind all the GPON-port-connected ONTs to a TR069 server profile, or configure same parameters for all the ONTs; you can unbind the GPON-port-connected ONTs from profiles
Example
To bind TR069 server profile 1 to ONT 0 connected to GPON port 0/3/0, do as follows:
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."