ont add(distributed_mode)

Product

MA5683T, MA5680T

Function

This command is used to add an ONT and configure the data for the ONT when the ONT is offline. When the ONT goes online, the configuration data is stored in the service board temporarily. When the ONT goes online, the configuration data is delivered to the ONT through the OMCI protocol to complete the configuration.

Format

ont add portid [ ontid ] password-auth { password-value | hex password-value } * { always-on | once-on { no-aging | aging-time time } [ re-register-auth-mode { sn | sn-password } ] } { profile-id profile-id-value | profile-name profile-name-value } { [ manage-mode manage-mode ] | [ desc describe-value ] } *

ont add portid [ ontid ] sn-auth sn-value [ password-auth { password-value | hex password-value } * ] { profile-id profile-id-value | profile-name profile-name-value }{ [ manage-modemanage-mode ] | [ desc describe-value ] } *

ont add portid [ ontid ] loid-auth loid-value [ checkcode-auth checkcode-value ] { always-on | once-on no-aging | aging-time time-out } } { profile-id profile-id-value | profile-nameprofile-name-value }{ [ manage-mode manage-mode ] | [ desc describe-value ] } *

Parameters

Parameter Description Value
portid Specifies the number of the GPON port to which the new ONT is connected. Numeral type. Range: varies with the board type.
ontid Indicates the ONT ID. This parameter is optional. If you do not specify it, the system automatically allocates the smallest idle ONT number on the current port. Numeral type. Range: varies with the board type.
password-auth { password-value | hexpassword-value } * Two authentication modes are supported:

· Password authentication ( key authentication ) : Enter password-authpassword-value after portid [ ontid ] directly. In this case, following the password, always-on or once-on needs to be set to select the find-mode. In the password authentication mode, the OLT checks whether the password reported by the ONT is the same as the configuration. If yes, the ONT passes the authentication and goes online. The password authentication mode is generally used for batch adding ONTs. Only the passwords of the ONTs need to be planned and the SNs of the ONTs need not be recorded manually.

· SN+password authentication: Enter password-auth password-valueafter sn-auth sn-value. In this mode, the OLT checks whether the SN and the password are the same as the configuration. If yes, the ONT passes the authentication and goes online. This authentication mode ensures the strongest security but the SN of the ONT needs to be recorded manually.

The authentication passwords of the ONTs connected to the same port must be unique.

“hex” indicates that the entered password is in hexadecimal format.

· When the password is a character string, it consists of 1-10 characters for a common GPON ONT or 1-36 characters for an XG-PON ONT.

· When the password is in hexadecimal notation, it consists of 1-20 characters for a common GPON ONT or 1-72 characters for an XG-PON ONT.

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 (“).

loid-auth loid-value [ checkcode-authcheckcode-value ] Sets the authentication mode of the ONT to LOID authentication or LOID+CHECKCODE authentication. If only loid-value is set, the LOID authentication mode is used.

· In LOID authentication mode, the OLT determines whether the LOID is consistent with the configured LOID. If they are consistent, the ONT is authenticated and the ONT goes online successfully.

· In LOID+CHECKCODE authentication mode, the OLT determines whether the LOID+CHECKCODE is consistent with the configured LOID+CHECKCODE. If they are consistent, the ONT is authenticated and the ONT goes online successfully.

loid-value is character string type, a string of 1-24 characters

checkcode-value is character string type, a string of 1-12 characters

always-on Indicates one mode for finding the authentication password, Loid or Loid+Checkcode. In the always-on mode, the ONT can still get online after subscribers pass the authentication and the SN of the ONT is changed.
once-on Indicates one mode for finding the authentication password, Loid or Loid+Checkcode. In the once-on mode, the ONT is required to start authentication within the specified time, and cannot get online if it times out. The SN of an ONT cannot be modified once the ONT passes the authentication. You can set the time of ONT authentication through no-aging and aging-time.
no-aging When an ONT is in the Once-on mode and no time-out time is set, the ONT can be authenticated by the password all the time.
aging-time time When an ONT is in the Once-on mode and the time-out time is set, the ONT can be authenticated by the password within the specified time and cannot if it times out. Numeral type. Range: 1-168 hours.

Unit: hour.

re-register-auth-mode { sn | sn-password } When an ONT is in the Once-on mode, and the authentication mode for a second authentication or subsequent authentications.

· sn: Indicates that only the SN authentication mode is used for a second authentication.

· su-password: Indicates that the SN+password authentication mode is used for a second authentication.

Enumerated type. Options: sn and sn-password.

Default: sn-password.

sn-auth sn-value Indicates that the ONT is authenticated by the SN. In the SN mode, the OLT checks whether the serial number reported by the ONT is the same as the configuration. If they are the same as each other, the authentication passes and the ONT can get online. Character string type, a string of 13, 14, or 16 characters, such as <XXXXXXXXXXXXXX>, <XXXXXXXXXXXXXXXX>, or <XXXX-XXXXXXXX>.
profile-id profile-id-value Binds the ONT with a capability set profile by the profile number. Numeral type. Range: 1-128.
profile-name profile-name Binds the ONT with a capability set profile by the profile name. Character string type, a string of 1-63 characters.
manage-mode manage-mode Indicates the ONT management mode. Enumerated type. Options: OMCI and SNMP.

Default: OMCI.

desc describe-value Configures the description for the ONT. The description is helpful for the ONT management and maintenance. Character string type, a string of 1-128 characters.

Modes

GPON mode

Level

Operator level

Usage Guidelines

  • Run theconfig command to enter global config mode, and then run the interface gpon command to enter GPON mode.
  • By default, the system has six default ONT capability set profiles (profiles 1-7) of the GPON port.
  • You must specify the ONT capability set profile when adding an ONT. You must select the correct ONT profile when adding an ONT. The ONT profile defines the ONT specifications and capabilities. If a wrong ONT profile is selected, the ONT mismatch occurs when it tries to get online. In addition, the selected profile must exist in the system.
  • It is recommended to add the description such as the location and time for each ONT, so as to facilitate the fault locating and ONT maintenance.
  • In the case of the GPBC board, up to 64 ONTs can be connected to one port. In the case of theGPBD board, up to 128 ONTs can be connected to one port.
  • The ONT password must be unique for one port.
  • The ONT SN and LOID must be unique for one system.
  • The upstream bandwidth of the XG-PON ONT must be a multiple of 256 kbit/s; otherwise, the operation fails.
  • The restrictions of the upstream bandwidth of PON port the ONT related to are as follows:
    • The fixed bandwidth and assured bandwidth of all the TCONT of all the ONTs reated to the PON port must be smaller than, or equal to the allocable bandwidth of the PON port. The added ONT will use bandwdth, and the allocable bandwidth of the PON port will decrease. You can run thedisplay port info(gpon) command to query the maxium allocable bandwidth of the PON port. The queried result is the allacable bandwith minus the ONT fixed bandwidth cost, and the fixed bandwidth and assured bandwidth that have been allocated.
    • The maximum bandwidth configured in the DBA profile the ONT bound to must be smaller than, or equal to the maximum allocable bandwidth of the PON port that the ONT is related to. You can run thedisplay port info(gpon) command about the PON port that has not been bound by an ONT to query the maximum allocable bandwidth of the PON port.

Example

To add an ONT on GPON port 0/3/0, authenticate the ONT by the SN hwhw-12341234 and bind the ONT with capability set profile 1, do as follows:

huawei(config-if-gpon-0/3)#ont add

{ portid<U><0,7> }:0

{ loid-auth<K>|ontid<U><0,63>|password-auth<K>protect-side<K>|sn-auth<K> }:sn-auth

{ sn-value<S><Length 13-16> }:hwhw-12341234

{ password-auth<K>|profile-id<K>|profile-name<K> }:profile-id

{ profile-id-value<U><1,128> }:1

{ <cr>|desc<K>|manage-mode<K> }:

 

Command:

ont add 0 sn-auth hwhw-12341234 profile-id 1

Number of ONTs that can be added: 1, success: 1

PortID :0, ONTID :0

Assume that:

  • Authentication mode: password
  • Authentication password: PASS
  • ONT SN: null (The ONT reports the SN automatically.)
  • Authentication time set by running theaging-time command: 72
  • ID of the ONT capability set profile: 5
  • Description of the ONT capability set profile: ont
  • Management mode: SNMP

To add an ONT on GPON port 0/3/0, do as follows:

huawei(config-if-gpon-0/3)#ont add

{ portid<U><0,7> }:0

{ loid-auth<K>|ontid<U><0,63>|protect-side<K>|sn-auth<K> }:password-auth

{ hex<K>|password-value<S><Length 1-10> }:PASS

{ always-on<K>|hex<K>|once-on<K> }:once-on

{ aging-time<K>|no-aging<K> }:aging-time

{ time<U><1,168> }:72

{ profile-id<K>|re-register-auth-mode<K>|profile-name<K> }:profile-id

{ profile-id-value<U><1,128> }:5

{ <cr>|desc<K>|manage-mode<K> }:desc

{ describe-value<S><Length 1-128> }:ont

{ <cr>|manage-mode<K> }:manage-mode

{ manage-mode<E><omci,snmp> }:snmp

 

Command:

ont add 0 password-auth PASS once-on aging-time 72 profile-id 5 desc o

nt manage-mode snmp

 

Number of ONTs that can be added: 1, success: 1

PortID :0, ONTID :0

 

Assume that:

  • Authentication mode: password
  • Authentication hex password: abc
  • ONT SN: null (The ONT reports the SN automatically.)
  • Authentication discovery mode: always-on
  • ID of the ONT capability set profile: 1 (default profile)
  • Management mode: SNMP

To add an ONT on GPON port 0/3/0, do as follows:

huawei(config-if-gpon-0/3)#ont add

{ portid<U><0,7> }:0

{ loid-auth<K>|ontid<U><0,63> |password-auth<K>|protect-side<K>|sn-auth<K> }:password-auth

{ hex<K>|password-value<S><Length 1-10> }:hex

{ password-value<S><Length 1-20> }:abc

{ always-on<K>|once-on<K>|password-value<S><Length 1-10> }:always-on

{ profile-id<K>|profile-name<K> }:profile-id

{ profile-id-value<U><1,128> }:1

{ <cr>|desc<K>|manage-mode<K> }:manage-mode

{ manage-mode<E><omci,snmp> }:snmp

{ <cr>|desc<K> }

Command:

ont add 0 password-auth hex abc always-on profile-id 1

manage-mode snmp

Number of ONTs that can be added: 1, success: 1

PortID :0, ONTID :1

Assume that:

  • Authentication mode: Password
  • Authentication hex password: abc
  • ONT SN: Null (The ONT reports the SN automatically.)
  • Management mode: SNMP

To add an ONT on GPON port 0/3/0, do as follows:

huawei(config-if-gpon-0/3)#ont add

{ portid<U><0,7> }:0

{ loid-auth<K>|ontid<U><0,63> |password-auth<K>|protect-side<K>|sn-auth<K> }:password-auth

{ hex<K>|password-value<S><Length 1-10> }:hex

{ password-value<S><Length 1-20> }:abc

{ always-on<K>|once-on<K>|password-value<s><Length 1-10>}:once-on

{ aging-time<K>|re-register-auth-mode<K>|no-aging<K> }:aging-time

{ time<U><1,168> }:70

{ profile-id<K>|profile-name<K> }:profile-id

{ profile-id-value<U><1,128> }:1

{ <cr>|desc<K>|manage-mode<K> }:manage-mode

{ manage-mode<E><omci,snmp> }:snmp

{ <cr>|desc<K> }

Command:

ont add 0 password-auth hex abc once-on aging-time 70 profile-id 1

manage-mode snmp

Number of ONTs that can be added: 1, success: 1

PortID :0, ONTID :3

On GPON port 0/3/0, to add an ONT with LOID WUHANONU1 and management mode SNMP, and bind the ONT with line profile 1, do as follows:

huawei(config-if-gpon-0/3)#ont add

{ portid<U><0,7> }:0

{ loid-auth<K> |ontid<U><0,63> |password-auth<K>|protect-side<K>|sn-auth<K> }:loid-auth

{ loid-value<s><length 1-24> }:WUHANONU1

{ always-on<K>|checkcode-auth<K>|once-on<K> }:always-on

{ profile-id<K>|profile-name<K> }:profile-id

{ profile-id-value<U><1,128> }:1

{ <cr>|desc<K>|manage-mode<K> }:manage-mode

{ manage-mode<E><omci,snmp> }:snmp

{ <cr>|desc<K> }:

 

Command:

ont add 0 loid-auth WUHANONU1 always-on profile-id 1 manage-mode snmp

Number of ONTs that can be added: 1, success: 1

PortID :0, ONTID :2

System Response

  • The system displays the message “Number of ONTs that can be added: x, success: y” after an ONT is added successfully. The x and y are the number of the ONTs that can be added and the number of the ONTs that are added successfully. At the same time, the system displays the ID of the port where the ONT is located and the ONT ID.

Leave a comment