ONT Device Configuration

alarm profile refer

To refer an alarm profile to a line profile, use the alarm profile refer command in line profile configuration mode.

alarm profile refer {index_num | name name}

Syntax Description

index_num

The alarm profile index number.

The range is from 1 to 127.

name

The alarm profile name.

The unit is string. The string length is from 1 to 128.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to refer an alarm profile to a line profile

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# alarm profile refer 1

clear ont-logging buffer

To clear the ont logging buffer, use the clear ont-logging buffer command in global configuration mode.

clear ont-logging buffer {ont_id_list | all}

Syntax Description

ont_id_list

The list of ONT IDs.

all

All ONTs.

Command Modes

Global configuration (config)

Examples

This example shows how to clear the ONT log buffering

Device> enable
Device# configure terminal
Device(config)# clear ont-logging buffer all

local bandwidth egress

To configure the ONT bandwidth egress, use the local bandwidth egress port port_id cir cir cbs cbs pir pir pbs pbs command in line profile configuration mode. To disable the ONT bandwidth egress, use the no local bandwidth egress port port_id command.

local bandwidth egress port port_id cir cir cbs cbs pir pir pbs pbs

no local bandwidth egress port port_id

Syntax Description

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

cir cir

The committed information rate in kbps. The value range is from 64 to 1024000.

cbs cbs

The committed burst size in KB. The value range is from 2 to 32000.

pir pir

The peak information rate in kbps. The value range is from 64 to 1024000 where the PIR requirement is greater than or equal to CIR.

pbs pbs

The peak burst size in KB. The value range is from 2 to 32000.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the ONT bandwidth egress.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# local bandwidth egress port 3 cir 200 cbs 70 pir 1024 pbs 90

local loop-detect

To enable local loop-detect, use the local loop-detect command in line profile configuration mode. To disable local loop-detect, use the no local loop-detect command.

local loop-detect

no local loop-detect

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to enable local loop-detect

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# local loop-detect

local mac-address-table

To configure the ONT maximum MAC count, use the local mac-address-table command in line profile configuration mode. To disable the ONT maximum MAC count, use the no local mac-address-table command.

local mac-address-table max-mac-count max_mac_count [port port_id]

no local mac-address-table

Syntax Description

max_mac_count

The maximum MAC address learning count.

The range is from 1 to 255.

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to configure the ONT maximum MAC count.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# local mac-address-table max-mac-count 12

local neg-mode

To configure the local Ethernet speed and duplex, use the local neg-mode speed speed duplex duplex_mode port port_id command in unique profile configuration mode.

local neg-mode speed speed duplex duplex_mode port port_id

Syntax Description

speed

The ONT Ethernet port rate mode.

The options are

  • 10M

  • 100M

  • 1000M

  • Auto-negotiation

duplex_mode

The ONT Ethernet port duplex mode.

The options are

  • Full-duplex

  • Half-duplex

  • Auto-negotiation

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Unique profile configuration (deploy-profile-unique)

Examples

This example shows how to configure the local Ethernet speed and duplex

Device> enable
Device# configure terminal
Device(config)# deploy profile unique
Device(deploy-profile-unique)# aim 0/1/1
Device(deploy-profile-unique-0/1/1)# local neg-mode speed 10 duplex half port 3

local ranging-balance

To configure ONT range compensation, use the local ranging-balance command in unique profile configuration mode. To disable the ONT range compensation, use the no local ranging-balance command.

local ranging-balance {decrease | increase}balance_length

no local ranging-balance

Syntax Description

decrease

Decreases the range compensation.

increase

Increases the range compensation.

balance_length

The ONT ranging compensation value

The unit is meters. The range is from 1 to 10000.

Command Modes

Unique profile configuration (deploy-profile-unique)

Examples

This example shows how to increase ONT range compensation

Device> enable
Device# configure terminal
Device(config)# deploy profile unique
Device(deploy-profile-unique)# aim 0/1/1
Device(deploy-profile-unique-0/1/1)# local ranging-balance increase 2000

local shutdown

To configure the ONT local shutdown, use the local shutdown command in unique profile configuration mode. To disable the ONT local shutdown, use the no local shutdown command.

local shutdown {port port_id | catv-port catv_port_id}

no local shutdown {port port_id | catv-port catv_port_id}

Syntax Description

port_id

The ONT Ethernet UNI.

The value range is from 1 to 24.

catv_port_id

The ONT RF interface ID.

The value range is from 1 to 4.

Command Modes

Unique profile configuration (deploy-profile-unique)

Examples

This example shows how to configure the ONT local shutdown.

Device> enable
Device# configure terminal
Device(config)# deploy profile unique
Device(deploy-profile-unique)# aim 0/1/1
Device(deploy-profile-unique-0/1/1)# local shutdown port 2

local switch

To enable the ONT local switching, use the local switch command in line profile configuration mode. To disable the ONT local switching, use the no local switch command.

local switch

no local switch

Command Modes

Line profile configuration (deploy-profile-line)

Examples

This example shows how to enable the ONT local switching.

Device> enable
Device# configure terminal
Device(config)# deploy profile line
Device(deploy-profile-line)# aim 5
Device(deploy-profile-line-5)# local switch

ont-logging

To enable ONT logging, use the ont-logging command in global configuration mode. To disable ONT logging, use the no ont-logging command.

ont-logging

no ont-logging

Command Modes

Global configuration (config)

Examples

This example shows how to enable ONT logging.

Device> enable
Device# configure terminal
Device(config)# ont-logging

ont-logging buffer

To save the ONT log to a buffer, use the ont-logging buffer command in global configuration mode. To disable the ONT logging buffer, use the no ont-logging buffer command.

ont-logging buffer {ont_id_list | all}

no ont-logging buffer

Syntax Description

ont_id_list

The list of ONT IDs.

all

All ONTs.

Command Modes

Global configuration (config)

Examples

This example shows how to enable the ONT log buffering.

Device> enable
Device# configure terminal
Device(config)# ont-logging buffer all

ont-logging monitor

To enable monitor for ONT logs, use the ont-logging monitor command in global configuration mode. To disable monitor for ONT logs, use the no ont-logging monitor command.

ont-logging monitor {monitor_number | all} {ont_id_list | all}

no ont-logging monitor {monitor_number | all} {ont_id_list | all}

Syntax Description

monitor_number

The monitor number.

The range is from 0 to 5, where 0 is the console and 1 to 5 is the telnet terminal.

ont_id_list

The list of ONT IDs.

all

All ONTs.

Command Modes

Global configuration (config)

Examples

This example shows how to enable the ONT log monitor

Device> enable
Device# configure terminal
Device(config)# ont-logging monitor all all

ont-logging prefix

To configure log prefixes, use the ont-logging prefix command in global configuration mode. To disable log prefixing, use the no ont-logging prefix command.

ont-logging prefix {ontid | sn}

no ont-logging prefix

Syntax Description

ontid

The ONT IDs.

sn

The ONT serial number.

Command Modes

Global configuration (config)

Examples

This example shows how to enable the ONT log prefixing

Device> enable
Device# configure terminal
Device(config)# ont-logging prefix ontid

ont-logging timestamps

To enable log timestamps of an ONT, use the ont-logging timestamps command in global configuration mode.

ont-logging timestamps {uptime | notime | datetime}

Syntax Description

uptime

Configures logging with uptime duration.

notime

Configures logging with no time.

datetime

Configures logging with date and time

Command Modes

Global configuration (config)

Examples

This example shows how to enable log timestamps of an ONT

Device> enable
Device# configure terminal
Device(config)# ont-logging timestamps datetime

ont active

To activate the ONT, use the ont active ont_id_list command in global configuration mode.

ont active ont_id_list

Syntax Description

ont_id_list

The list of ONT IDs.

Command Modes

Global configuration (config)

Examples

This example show how to activate the ONT.

Device> enable
Device# configure terminal
Device(config)# ont active 0/1/1
Config success: 1, failed: 0.

ont deactive

To deactivate the ONT, use the ont deactive ont_id_list in global configuration mode.

ont deactive ont_id_list

Syntax Description

ont_id_list

The list of ONT IDs.

Command Modes

Global configuration (config)

Examples

This example show how to deactivate the ONT.

Device> enable
Device# configure terminal
Device(config)# ont deactive 0/1/1
Config success: 1, failed: 0.

ont neg-mode

To configure the ONT speed and duplex, use the ont neg-mode speed speed duplex duplex_mode slot-num/pon-num/ont-num port port_id command in global configuration mode.

ont neg-mode speed speed duplex duplex_mode slot-num/pon-num/ont-num port port_id

Syntax Description

speed

The ONT Ethernet port rate mode.

The options are

  • 10M

  • 100M

  • 1000M

  • Auto-negotiation

duplex_mode

The ONT Ethernet port duplex mode.

The options are

  • Full-duplex

  • Half-duplex

  • Auto-negotiation

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Global configuration (config)

Examples

This example shows how to configure the ONT speed and duplex

Device> enable
Device# configure terminal
Device(config)# ont neg-mode speed 10 duplex half 0/1/1 port 3

ont reboot

To reboot an ONT port, use the ont reboot command in global configuration mode.

ont reboot slot-num/pon-num/ont-num

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

Command Modes

Global configuration (config)

Examples

This example shows how to reboot an ONT port.

Device> enable
Device# configure terminal
Device(config)# ont reboot 0/1/1

ont shutdown

To configure the ONT shutdown, use the ont shutdown command in global configuration mode. To disable ONT shutdown, use the no ont shutdown command.

ont shutdown slot-num/pon-num/ont-num port port_id

no ont shutdown slot-num/pon-num/ont-num port port_id

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

port_id

The ONT Ethernet port ID. The range is from 1 to 24.

Command Modes

Global configuration (config)

Examples

This example shows how to configure the ONT shutdown.

Device> enable
Device# configure terminal
Device(config)# ont shutdown 0/1/1 port 1

ont upgrade

To configure an ONT for reboot, use the ont upgrade command in global configuration mode.

ont upgrade {auto-reboot | manual-reboot} {slot-num/pon-num/ont-num | {exclude | include} | {device-type device_type | software-version version} | sn | {string-hex string_serial_number | hex hex_serial_number}}

Syntax Description

auto-reboot

Automatically reboots the ONT.

manual-reboot

Manually reboots the ONT

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

exclude

Excludes the ONT.

include

Includes the ONT.

device-type device_type

The device identifier.

software-version version

The software identifier.

hex_serial_number

The ONT serial number in Hex.

string_serial_number

The ONT serial number in string.

Command Modes

Global configuration (config)

Examples

This example shows how to configure an ONT fo auto reboot

Device> enable
Device# configure terminal
Device(config)# ont upgrade auto-reboot 0/1/1

optical power rx threshold

To configure the threshold of the recieve optical power, use the optical power rx threshold command in alarm profile configuration mode. To delete the threshold, use the no optical power rx threshold command.

optical power rx threshold {high high_rx_power | low low_rx_power}

no optical power rx threshold

Syntax Description

high_rx_power

The highest threshold value. The value must be a multiple of 0.5.

The unit is dBm. The range is from -127.0 to 0.0

low_rx_power

The lowest threshold value. The value must be a multiple of 0.5.

The unit is dBm. The range is from -127.0 to 0.0

Command Modes

Alarm profile configuration (deploy-profile-alarm)

Examples

This example shows how to configure the high threshold value of the recieve optical power.

Device> enable
Device# configure terminal
Device(config)# deploy profile alarm
Device(deploy-profile-alarm)# aim 5
Device(deploy-profile-alarm-5)# optical power tx threshold high 10

show ont-logging

To display the ONT logs, use the show ont-logging command in global configuration mode

show ont-logging

Command Modes

Global configuration (config)

Examples

This example shows how to view the ONT logs

Device> enable
Device# configure terminal
Device(config)# show ont-logging
logging state: on
logging timestamps: uptime
logging prefix: ontid:on; sn:on
logging buffer: 0/1/1-0/8/128
logging monitor:
 0: 0/1/1-0/8/128
 1: 0/1/1-0/8/128
 2: 0/1/1-0/8/128
 3: 0/1/2-0/8/128
 4: 0/1/1-0/8/128
 5: 0/1/1-0/8/128

show ont-logging buffer

To display information about ONT logging buffer, use the show ont-logging buffer command in global configuration mode.

show ont-logging buffer {slot-num/pon-num/ont-num | all}

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

all

All ONTs

Command Modes

Global configuration (config)

Examples

This example shows how to view the information about ONT logging buffer

Device> enable
Device# configure terminal
Device(config)# show ont-logging buffer 0/1/1
32 day 04:28:34 0/1/1 GPON-5a946e77: offline, reason: LOSI.
32 day 04:28:34 0/1/1 GPON-5a946e77: LOAMi on.
32 day 04:28:34 0/1/1 GPON-5a946e77: LOFi on.
32 day 04:28:34 0/1/1 GPON-5a946e77: LOSi on.
32 day 04:28:31 0/1/1 GPON-5a946e77: eth port 1 los on.
32 day 02:58:03 0/1/1 GPON-5a946e77: eth port 1 los off.
32 day 02:58:00 0/1/1 GPON-5a946e77: eth port 1 los on.
31 day 23:28:51 0/1/1 GPON-5a946e77: eth port 1 los off.
31 day 23:28:47 0/1/1 GPON-5a946e77: eth port 1 los on.
26 day 07:26:06 0/1/1 GPON-5a946e77: eth port 1 los off.
26 day 07:26:04 0/1/1 GPON-5a946e77: eth port 1 los on.
26 day 04:14:38 0/1/1 GPON-5a946e77: eth port 1 los off.
26 day 04:14:36 0/1/1 GPON-5a946e77: eth port 1 los on.
26 day 03:57:30 0/1/1 GPON-5a946e77: eth port 1 los off.
26 day 03:57:27 0/1/1 GPON-5a946e77: eth port 1 los on.
26 day 03:57:15 0/1/1 GPON-5a946e77: eth port 1 los off.
25 day 05:33:41 0/1/1 GPON-5a946e77: eth port 1 los on.
25 day 05:33:31 0/1/1 GPON-5a946e77: eth port 1 los off.
25 day 05:33:30 0/1/1 GPON-5a946e77: eth port 1 los on.
24 day 23:51:33 0/1/1 GPON-5a946e77: eth port 1 los off.
24 day 23:51:30 0/1/1 GPON-5a946e77: eth port 1 los on.
24 day 23:51:17 0/1/1 GPON-5a946e77: eth port 1 los off.
21 day 08:12:36 0/1/1 GPON-5a946e77: eth port 1 los on.
21 day 08:12:28 0/1/1 GPON-5a946e77: eth port 1 los off.
!
!
!
output truncated

show ont mac-address-table

To display information about the MAC address table of an ONT, use the show ont mac-address-table command in global configuration mode.

show ont mac-address-table {mac_address | slot-num/pon-num/ont-num | interface gpon {slot-number/port-number | all}}

Syntax Description

mac_address

The MAC address.

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

slot-number/port-number

The port ID.

  • slot-number :

    • GPON: The value is 0.

    • GE Ethernet: The value is 1.

    • 10GE Ethernet: The value is 2.

  • port-number :

    • GPON: The range is from 1 to 8.

    • GE Ethernet: The range is from 1 to 4.

    • 10GE Ethernet: The range is from 1 to 2.

all

All ports.

Command Modes

Global configuration (config)

Examples

This example shows how to view information about the MAC address table of an ONT

Device> enable
Device# configure terminal
Device(config)# show ont mac-address-table interface gpon 0/1
MAC-Address        VID  ONT-ID  SN             ID/GEM
00:0a:5a:a7:01:34  100  0/1/5   GPON-5aa7012a  4/355
Total entries: 1.

show ont port-status

To display status information of an ONT port, use the show ont port-status command in global configuration mode.

show ont port-status slot-num/pon-num/ont-num { port port_id | catv-port catv_port_id | pots-port pots-number }

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

port_id

The ONT Ethernet UNI.

The value range is from 1 to 24.

catv_port_id

The ONT RF interface ID.

The value range is from 1 to 4.

pots-number

Specifies the POTS port.

The value can be 1 or 2.

Command Modes

Global configuration (config)

Examples

This example shows how to view the status information of an ONT port.

Device> enable
Device# configure terminal
Device(config)# show ont port-status 0/1/5 port 2
Port status is Enable, Linkdown

show ont statistics

To display statistical information about an ONT, use the show ont statistics command in global configuration mode.

show ont statistics slot-num/pon-num/ont-num {gem {broadcast | multicast | unicast gem_index } | {port port-id } | traffic}

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

gem

Displays statistical information about GEM port data frames.

broadcast

Displays statistical information about broadcast packets.

multicast

Displays statistical information about multicast packets.

unicast gem_index

Displays statistical information about unicast packets.

gem_index : The GEM port index number. The range is from 1 to 1024.

port-id

The ONT Ethernet port ID.

The range is from 1 to 24.

traffic

Displays statistical information about ONT uplink and downlink data frames.

Command Modes

Global configuration (config)

Examples

This example shows how to view the statistical information about an ONT.

Device> enable
Device# configure terminal
Device(config)# show ont statistics 0/1/1 port 1
Upstream frames : 0
Upstream bytes : 0
Downstream frames : 0
Downstream bytes : 0
Up traffic (kbps) : 0
Down traffic (kbps) : 0

show ont upgrade-status

To display the ONT upgrade status, use the show ont upgrade-status command in global configuration mode.

show ont upgrade-status {image | xml} {slot-num/pon-num/ont-num | all}

Syntax Description

slot-num/pon-num/ont-num

The ONT ID.

  • slot-num : The slot number. The value is 0.

  • pon-num : The PON number. The range is from 1 to 8.

  • ont-num : The ONT number. The range is from 1 to 128.

all

All ports.

Command Modes

Global configuration (config)

Examples

This example shows how to view the ONT upgrade status

evice> enable
Device# configure terminal
Device(config)# show ont upgrade-status image 0/1/1
ONT   Active-version Inactive-version Status
0/1/1 C01R544V00B09  C01R544V00B07    success
Total entries: 1.

show ont version

To display an ONT version, use the show ont version command in global configuration mode.

show ont version interface gpon {port_list | all}

Syntax Description

port_list

The GPON port.

all

All ports.

Command Modes

Global configuration (config)

Examples

This example shows how to view an ONT version

Device> enable
Device# configure terminal
Device(config)# show ont version interface gpon 0/1
ONT    SN             Software-version         Firmware-version
0/1/1  GPON-5a946e77  B01D001P010/B01D001P008  N40-428-1
0/1/2  GPON-5a95efca  C01R539V00B19/-          S40-401
0/1/3  GPON-5aa0e950  B01D001P010/B01D001P007  N40-428-1
0/1/4  GPON-5aa0e9e0  B01D001P007/B01D001P006  N40-428-1
0/1/5  GPON-5aa7012a  1.1.2.5/1.1.2.6          N40-428-1
Total entries: 5.