Loader

Retrieve ONT Configuration

Definition

URL https://<emsserver>:8081/oam/oam-bin
prefix ont
action show
tid The name of the OLT (TID).
aid AID of the ONT:
  • Format: MDS1-<slot>-<pon>-<ont>
  • Example: MDS1-1-1-3
filter N/A
attributes N/A

Example Request

Copy Code  JSON
{
    "prefix": "ont",
    "action": "show",
    "tid": "KB-1150-138-IronLoad"
    "aid": "MDS1-1-1-3"
}

Example Response

Copy Code  JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-1-3",
            "adminState": {
                "value": 1
            },
            "locationName": "142R C4",
            "profileAssignment": [
                {
                    "profileName": "default",
                    "profileType": 1
                },
                {
                    "profileName": "default",
                    "profileType": 2
                }
            ],
            "specificConfig": {
                "supportedCardGroupType": 79,
                "value": {
                    "serialNum": "IPHO005191C4",
                    "registrationId": "000000",
                    "ontId": "3",
                    "configLock": true,
                    "forcedStopMode": false,
                    "phyHoldTime": 5,
                    "poeHoldTime": 60,
                    "ledHoldTime": 0,
                    "rangeFailWaitTimePOTS": 12,
                    "alarmForward": [],
                    "powerShedding": {
                        "pwrRestoreTimerResetInterval": 30,
                        "dataSheddingInterval": 900,
                        "videoOverlaySheddingInterval": 900
                    },
                    "poeConfig": {
                        "poeUsageThreshold": 99,
                        "arcMode": false,
                        "externalPowerAvailable": 75,
                        "externalBBUPowerAvailable": 40
                    },                    "rfCfg": {

                        "adminState": {
                            "value": 0
                        },
                        "agcSetting": -12,
                        "rangeFailWaitTime": 48,
                        "acFailWaitTime": 30,
                        "acRestoreWaitTime": 1,
                        "degradedThreshold": -19,
                        "overloadThreshold": 5,
                        "arcMode": false
                    },
                    "hostConf": {
                        "voicectrlPersonality": 3,
                        "deviceId": "1-1-1-3P2381",
                        "username": "tellabs",
                        "userpasswd": [
                            116,
                            101,
                            108,
                            108,
                            97,
                            98,
                            115,
                            49
                        ],
                        "arcMode": true,
                        "sipConf": {
                            "ipAddress": "0.0.0.0",
                            "subnetMask": "0.0.0.0",
                            "gatewayIPAddress": "0.0.0.0",
                            "dnsprimary": "0.0.0.0",
                            "dnssecondary": "0.0.0.0",
                            "vlanid": 15,
                            "cfi": 1,
                            "prot802_1P": 6
                        },
                        "rtpConf": {
                            "ipAddress": "0.0.0.0",
                            "subnetMask": "0.0.0.0",
                            "gatewayIPAddress": "0.0.0.0",
                            "dnsprimary": "0.0.0.0",
                            "dnssecondary": "0.0.0.0",
                            "vlanid": 15,
                            "cfi": 1,
                            "prot802_1P": 6
                        },
                        "ipAssignmentMode": 0
                    }
                }
            }
        }
    ]
}

dit ONT Configuration

Definition

URL https://<emsserver>:8081/oam/oam-bin
prefix ont
action edit
tid The name of the OLT (TID).
aid AID of the ONT:
  • Format: MDS1-<slot>-<pon>-<ont>
  • Example: MDS1-1-1-3
filter N/A
attributes A JSON formatted array of attribute-value pairs, specifying the data to edit.
  • Format: [ { "attr1" : "attr1-str-value" } , { "attr2" : attr2-num-value } , ... ]
  • Example: [ { "adminState.value" : 1 } , { "configLock" : true } ]

Example Request

Copy Code  JSON
{
    "prefix": "ont",
    "action": "edit",
    "tid": "VOIPWORLD-1134",
    "aid": "MDS1-1-2-3",
    "attributes": [
        {
            "adminState.value": 1
        },
        {
            "configLock": true
        }
    ]
}

Example Response

Copy Code   JSON
{
    "response": {
        "code": 1,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-2-3",
            "adminState": {
                "value": 1
            },
            "locationName": "ONT 1-2-3",
            "profileAssignment": [
                {
                    "profileName": "default",
                    "profileType": 2
                }
            ],
            "specificConfig": {
                "supportedCardGroupType": 76,
                "value": {
                    "serialNum": "BFWS00000285",
                    "registrationId": "",
                    "ontId": "3",
                    "configLock": true,
                    "forcedStopMode": false,
                    "phyHoldTime": 5,
                    "poeHoldTime": 60,
                    "ledHoldTime": 0,
                    "rangeFailWaitTimePOTS": 12,
                    "alarmForward": [],
                    "powerShedding": {
                        "pwrRestoreTimerResetInterval": 0,
                        "dataSheddingInterval": 0,
                        "videoOverlaySheddingInterval": 0
                    },
                    "poeConfig": {
                        "poeUsageThreshold": 99,
                        "arcMode": false,
                        "externalPowerAvailable": 75,
                        "externalBBUPowerAvailable": 40
                    },
                    "rfCfg": {
                        "adminState": {
                            "value": 0
                        },
                        "agcSetting": 0,
                        "rangeFailWaitTime": 0,
                        "acFailWaitTime": 0,
                        "acRestoreWaitTime": 0,
                        "degradedThreshold": 0,
                        "overloadThreshold": 0,
                        "arcMode": false
                    },
                    "hostConf": {
                        "voicectrlPersonality": 0,
                        "deviceId": "",
                        "username": "",
                        "userpasswd": [],
                        "arcMode": true,
                        "sipConf": {
                            "ipAddress": "0.0.0.0",
                            "subnetMask": "0.0.0.0",
                            "gatewayIPAddress": "0.0.0.0",
                            "dnsprimary": "0.0.0.0",
                            "dnssecondary": "0.0.0.0",
                            "vlanid": 2,
                            "cfi": 1,
                            "prot802_1P": 6
                        },
                        "rtpConf": {
                            "ipAddress": "0.0.0.0",
                            "subnetMask": "0.0.0.0",
                            "gatewayIPAddress": "0.0.0.0",
                            "dnsprimary": "0.0.0.0",
                            "dnssecondary": "0.0.0.0",
                            "vlanid": 2,
                            "cfi": 1,
                            "prot802_1P": 6
                        },
                        "ipAssignmentMode": 0
                    }
                }
            }
        }
    ]
}

Retrieve ONT Status

Definition

URL https://<emsserver>:8081/oam/oam-bin
prefix ont
action status
tid The name of the OLT (TID) to which the ONT is attached.
AID AID of the ONT:
  • Format: MDS1-<slot>-<pon>-<ont>
  • Example: MDS1-1-1-3
filter N/A
attributes N/A

Example Request

Copy Code   JSON
{
    "prefix": "ont", 
    "action": "status", 
    "tid": "KB-1150-138-IronLoad",   
    "aid": "MDS1-1-1-3" 
}

Example Response

Copy Code   JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-1-3",
            "installedType": 318,
            "alarmState": 0,
            "cpState": 4,
            "expTypeId": 65,
            "expTypeName": "ONT_2V4E_ETSI",
            "info": {
                "supportedCardGroupType": 66,
                "state": {
                    "opState": {
                        "value": 0
                    },
                    "availabilityState": []
                },
                "inventory": {
                    "swInfo": {
                        "activeImage": {
                            "buildDate": "180228",
                            "version": "ONT705GR.3.22.5",
                            "buildId": "015787",
                            "systemVersion": "FP29.1_015787"
                        },
                        "standByImage": {
                            "buildDate": "180104",
                            "version": "ONT705GR.3.22.5",
                            "buildId": "015783",
                            "systemVersion": "FP29.1_015783"
                        }
                    },
                    "hwInfo": {
                        "modelRevision": "705GR",
                        "inventoryFormat": "Broadband",
                        "manufactureDate": "n/a",
                        "cleiCode": "**705 ONT**",
                        "serialNumber": "BILL00000024"
                    }
                },
                "value": {
                    "hostStatus": {
                        "sipStatus": {
                            "currentIPAddr": "10.20.70.129",
                            "currentmask": "",
                            "currentgateway": "",
                            "currentdnsprimary": "",
                            "currentdnssecondary": "",
                            "domainName": "",
                            "hostName": ""
                        },
                        "rtpStatus": {
                            "currentIPAddr": "",
                            "currentmask": "",
                            "currentgateway": "",
                            "currentdnsprimary": "",
                            "currentdnssecondary": "",
                            "domainName": "",
                            "hostName": ""
                        }
                    },
                    "serialNum": "BILL00000024",
                    "registrationId": "-21",
                    "ontStatus": 2,
                    "ontEvStatus": 2,
                    "pwrStatus": 1,
                    "poeStatus": {
                        "poePower": 0,
                        "poeOperStatus": 0,
                        "poeAllocatedPower": 0,
                        "poeConsumedPower": 0,
                        "poeInputVoltage": 0,
                        "poeInputCurrent": 0
                    },
                    "rfStat": {
                        "opState": {
                            "value": 1
                        },                        "triplexerCode": 0,
                        "rfOutputPower": -6000,
                        "rfReceiveOpticalLevel": -30
                    }
                }
            }
        }
    ]
}

Retrieve ONT Statistics

URL https://<emsserver>:8081/oam/oam-bin
prefix ont
action statistics
tid The name of the OLT (TID) to which the ONT is attached.
aid AID of the ONT:
  • Format: MDS1-<slot>-<pon>-<ont>
  • Example: MDS1-1-1-3
filter N/A
attributes N/A

Example Request

Copy Code   JSON
{
    "prefix": "ont",
    "action": "statistics",
    "tid": "KB-1150-138-IronLoad",
    "aid": "MDS1-1-1-3"
}

Example Response

Copy Code  JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-1-3",
            "nearEnd": {
                "txBytesCount": 0,
                "rxBytesCount": 0,
                "txFramesCount": 0,
                "rxFramesCount": 0,
                "rxBIP8ErrorCount": 0,
                "rxPLOAMCount": -1,
                "rxBIP8ErrorRate": "0.0e+00",
                "txFcsErrorCount": 0,
                "txInternalErrorCount": 0,
                "rxMissErrorCount": 0,
                "rxFcsErrorCount": 0,
                "rxInternalErrorCount": 0,
                "txShaperDiscardCount": 0,
                "txBroadcastDiscardCount": 0,
                "txInternalDiscardCount": 0,
                "rxFloodLimitDiscardCount": 0,
                "rxUnauthDiscardCount": 0,
                "rxAccessViolationDiscardCount": 0,
                "rxMacLimitDiscardCount": 0,
                "rxVlanFilterDiscardCount": 0,
                "rxProtocolFilterDiscardCount": 0,
                "rxInternalDiscardCount": 0
            },
            "farEnd": {
                "rxBIP8ErrorCount": 0,
                "rxBIP8ErrorRate": "0.0e+00"
            },
            "txOpticalPower": 0,
            "rxOpticalPower": 0
        }
    ]
}

Retrieve ONT UNIs

URL https://<emsserver>:8081/oam/oam-bin
prefix esl
action show
tid The name of the OLT (TID) to which the ONT is attached.
aid AID of the ONT:
  • Format: MDS1-<slot>-<pon>-<ont>
  • Example: MDS1-1-1-3
filter [{aid:""}]
attributes N/A

Example Request

Copy Code   JSON
{
    "prefix":"esl",
    "action":"show",
    "tid":"VOIPWORLD-1134",
    "aid":"MDS1-1-2-2",
    "filter":[{"aid":""}]
}

Example Response

Copy Code   JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "tid": "VOIPWORLD-1134",
            "aid": "ETH1-1-2-2-1",
            "userLabel": "Cisco7960"
        },
        {
            "tid": "VOIPWORLD-1134",
            "aid": "ETH1-1-2-2-2",
            "userLabel": "AP225"
        },
        {
            "tid": "VOIPWORLD-1134",
            "aid": "ETH1-1-2-2-3"
        },
        {
            "tid": "VOIPWORLD-1134",
            "aid": "ETH1-1-2-2-4"
        }
    ]
}
FEEDBACK: Are you happy with this material?