Loader

Retrieve PON Port Configuration

Definition

URL https://emsserver:8081/oam/oam-bin
prefix ifc pon
action show
tid tid of OLT, example "Tellabs-1150-olt1"
aid AID of PON port.
  • Format: MDS1-<slot>-<pon port>
  • Example: MDS1-1-1
filter N/A
attributes N/A

Example Request

 

JSON
{
    "prefix": "ifc pon",
    "action": "show",
    "tid": "KB-1150-138-IronLoad",
    "aid": "MDS1-1-1"
}

Example Response

 

JSON
{
    "response": {
        "code": 0,
        "description": " 
    },    "result": [
        {
            "aid": "MDS1-1-1",
            "userLabel": "",
            "adminState": {
                "value": 1
            },
            "enableFEC": true,
            "upBERFailThreshold": -4,
            "upBERMaintThreshold": -6,
            "driftWindowThreshold": 3,
            "cpeThreshold": 3,
            "passwordAutoLearn": true,
            "ponReach": 1,
            "ponProfileName": "default",
            "protectionGroups": [
                ""
            ]
        }
    ]
}

Edit PON Port Configuration

Definition

URL https://emsserver:8081/oam/oam-bin
prefix ifc pon
action edit
tid tid of OLT, example "Tellabs-1150-olt1"
aid AID of PON port.
  • Format: MDS1-<slot>-<pon port>
  • Example: MDS1-1-1
filter N/A
attributes The attributes will vary depending on what is being edited.
  • General Format: attributes: [ { attr1: [ value1a, value1b, value1c, ... ] }, { attr2: value2 } ]

Example Request

JSON
{
    "prefix": "ifc pon",
    "action": "edit",
    "tid": "KB-1150-138-IronLoad",
    "aid": "MDS1-1-1",
    "attributes": [
        {
            "adminState.value": "1"
        },
        {
            "userLabel": "PON port 1-1"
        },
        {
            "ponProfileName": "default"
        },
        {
            ponReach": "1"
        }
    ]
}

Example Response

JSON
{
    "response": {
        "code": 1,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-1",
            "userLabel": "PON port 1-1",
            "adminState": {
                "value": 1
            },
            "enableFEC": true,
            "upBERFailThreshold": -4,
            "upBERMaintThreshold": -6,
            "driftWindowThreshold": 3,
            "cpeThreshold": 3,
            "passwordAutoLearn": true,
            "ponReach": 1,
            "ponProfileName": "default",
            "protectionGroups": [
                ""
            ]  
        } 
    ]
}

Retrieve PON Port Status

Definition

URL https://emsserver:8081/oam/oam-bin
prefix ifc pon
action status
tid tid of OLT, example "KB-1150-1380-Ironload"
aid AID of PON port.
  • Format: MDS1-<slot>-<pon port>
  • Example: MDS1-1-1
filter N/A
attributes N/A

Example Request

JSON
{
    "prefix": "ifc pon",
    "action": "status",
    "tid": "KB-1150-138-IronLoad",
    "aid": "MDS1-1-1"
}

Example Response

JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-1",
            "upStreamLineRate": 0,
            "downStreamLineRate": 0,
            "opState": {
                "value": 0
            },
            "availState": [],
            "tcontData": [
                {
                    "tcontid": 0,
                    "maxUpstreamBandwidth": 2560,
                    "minUpstreamBandwidth": 2560  
                },
                {
                    "tcontid": 1,
                    "maxUpstreamBandwidth": 0,
                    "minUpstreamBandwidth": 0
                },
                {
                    "tcontid": 2,
                    "maxUpstreamBandwidth": 9728,
                    "minUpstreamBandwidth": 9728
                },
                {
                    "tcontid": 3,
                    "maxUpstreamBandwidth": 0,
                    "minUpstreamBandwidth": 0
                },
                {
                    "tcontid": 4,
                    "maxUpstreamBandwidth": 10240,
                    "minUpstreamBandwidth": 512
                },
                {
                    "tcontid": 5,
                    "maxUpstreamBandwidth": 0,
                    "minUpstreamBandwidth": 0
                },
                {
                    "tcontid": 6,
                    "maxUpstreamBandwidth": 0,
                    "minUpstreamBandwidth": 0
                },
                {
                    "tcontid": 7,
                    "maxUpstreamBandwidth": 0,
                    "minUpstreamBandwidth": 0
                }
            ]
        } 
    ]
}

Notes:

  • The TCONTs are not creatable or editable as they are chosen by the OLT and are not externally managed.
  • The TCONTs are as follows:
    • TCONT0 - OMCI PON management traffic
    • TCONT1 - CBR2 high priority fixed rate constant bit rate traffic
    • TCONT2 - CBR1 lower priority fixed rate constant bit rate traffic
    • TCONT3 - VBRnrt Variable bit rate non real time
    • TCONT4 - UBR4 Traffic with fixed pbit 6/7
    • TCONT5 - UBR3 Traffic with fixed pbit 4/5
    • TCONT6 - UBR2 Traffic with fixed pbit 2/3
    • TCONT7 - UBR1 Best effort traffic, and traffic with fixed pbit 0/1.

Retrieve PON Port Statistics

URL https://emsserver:8081/oam/oam-bin
prefix ifc pon
action statistics
tid TID of OLT, example "KB-1150-1380-Ironload"
aid AID of PON port.
  • Format: MDS1-<slot>-<pon port>
  • Example: MDS1-1-1
filter N/A
attributes N/A

Example Request

JSON
{
    "prefix": "ifc pon",
    "action": "statistics",
    "tid": "KB-1150-138-IronLoad",
    "aid": "MDS1-1-1"
}

Example Response

JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "aid": "MDS1-1-1",
            "nearEnd": {
            "txBytesCount": 1112571577,
                "rxBytesCount": 40720373,
                "txFramesCount": 7494786,
                "rxFramesCount": 620462,
                "rxBIP8ErrorCount": 4,
                "rxPLOAMCount": 482595,
                "rxBIP8ErrorRate": "N/A",
                "txFcsErrorCount": 0,
                "txInternalErrorCount": 29,
                "rxMissErrorCount": 18,
                "rxFcsErrorCount": 0,
                "rxInternalErrorCount": 0,
                "txShaperDiscardCount": 85245492724,
                "txBroadcastDiscardCount": 22,
                "txInternalDiscardCount": 0,
                "rxFloodLimitDiscardCount": 0,
                "rxUnauthDiscardCount": 0,
                "rxAccessViolationDiscardCount": 0,
                "rxMacLimitDiscardCount": 0,
                "rxVlanFilterDiscardCount": 0,
                "rxProtocolFilterDiscardCount": 0,
                "rxInternalDiscardCount": 0,
                "rxUtilization": 0,
                "txUtilization": 0,
                "rxUnicastPackets": 0,
                "rxUnicastBytes": 0,
                "txUnicastPackets": 1,
                "txUnicastBytes": 68,
                "txBroadcastPackets": 1,
                "txBroadcastBytes": 68,
                "txMulticastPackets": 0,
                "txMulticastBytes": 0,
                "txFloodedPackets": 1,
                "txFloodedBytes": 68
            },
            "farEnd": {
                "rxBIP8ErrorCount": 0,
                "rxBIP8ErrorRate": "N/A"
            },
            "txOpticalPower": 1999,
            "rxOpticalPower": 0
        }
    ]
}

Retrieve ONTs on a PON

URL https://emsserver:8081/oam/oam-bin
prefix ont
action show
tid TID of OLT, example "KB-1150-134"
aid AID of the PON port.
  • Format: MDS1-<slot>-<pon port>
  • Example: MDS1-6-1
filter [ { aid: "" } ] - The null string requests all ONTs. To retrieve a specific ONT provide the ONT AID.
 
attributes N/A

Example Request

JSON
{
    "prefix": "ont",
    "action": "show",
    "tid": "KB-1150-134",
    "aid": "MDS1-6-1",
    "filter": [
        {
            "aid": ""
        }
    ]
}

Example Response

JSON
{
    "response": {
        "code": 0,
        "description": ""
    },
    "result": [
        {
            "tid": "KB-1150-134",
            "aid": "MDS1-6-1-2",
            "serialNum": "SHGJ00000021",
            "locationName": "729GP",
            "cpType": 75
        },
        {
            "tid": "KB-1150-134",
            "aid": "MDS1-6-1-1",
            "serialNum": "IPHO005191C4",
            "locationName": "142R",
            "cpType": 83
        }
    ]
}
FEEDBACK: Are you happy with this material?