Thursday, September 22, 2016

ONT Voice Service Management-----display mgpstnuser attribute(ont)

Function

This command is used to query the information of public switched telephone network (PSTN) subscribers on the optical network terminal (ONT).

Format

display mgpstnuser attribute portid ontid [ ont-portid ]

Parameters

Parameter Description Value
portid Indicates the ID of the PON port on the ONT. Numeral type. Range: varies with the PON port on the ONT.
ontid Indicates the ID of the ONT. Numeral type. Range: varies with the number of ONTs supported by the board.
ont-portid Indicates the ID of the POTS port on the ONT. Numeral type. Range: 1-255.

Modes

GPON mode, EPON mode,SCUN,SCUK

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.
  • Run the config command to enter global config mode, and then run the interface epon command to enter EPON mode.
  • You can run the mgpstnuser add(ont) command to add PSTN subscribers.

Example

To query the information of PSTN subscribers on ONT 0 over the 0/3/0 port, do as follows:
huawei(config-if-gpon-0/3)#display mgpstnuser attribute
{ portid<U><0,7> }:0
{ ontid<U><0,127> }:0
{ <cr> | ont-portid<U><1,255> }:1

  Command:                                                                      
          display mgpstnuser attribute 0 0 1
  ------------------------------------------------------------------------------
  F/S/P                       : 0/3/0
  ONT ID                      : 0
  Port ID                     : 1

  MG ID                       : 1
  Terminal ID                 : A10
  ------------------------------------------------------------------------------
  Using MG value              : enable
  Order1
  Codec1                      : G711A
  Packet period1              : 20ms
  Silence1                    : off
  Order2
  Codec2                      : G711U
  Packet period2              : 20ms
  Silence2                    : off
  Order3
  Codec3                      : G729
  Packet period3              : 20ms
  Silence3                    : off
  Order4
  Codec4                      : G722
  Packet period4              : 20ms
  Silence4                    : off
  ------------------------------------------------------------------------------
  POTS State                  : Unlock
  ------------------------------------------------------------------------------
  PtpSrvState                 : Normal
  PtpAdmState                 : Unlock
  HookState                   : OnHook
  CTPSrvType                  : Idle
  CTPSrvState                 : Initial
  Codes                       : G711U
  ------------------------------------------------------------------------------

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in the response to the display mgpstnuser attribute 0 0 1 command.
    Parameter Description
    F/S/P Indicates the shelf ID, slot ID, and port ID.
    ONT ID Indicates the ID of the ONT.
    Port ID Indicates the ID of the POTS port on the ONT.
    MG ID Indicates the index of the MG interface associated with the subscriber.
    Terminal ID Indicates the ID of the physical terminal used by PSTN subscribers.
    Using MG value Indicates whether to use codec data configured on the MG interface.
    Codec1 Indicates the codec type in the codec mode with priority 1.
    Packet period1 Indicates the packetization duration in the codec mode with priority 1.
    Silence1 Indicates the silence suppression configuration in the codec mode with priority 1.
    Codec2 Indicates the codec type in the codec mode with priority 2.
    Packet period2 Indicates the packetization duration in the codec mode with priority 2.
    Silence2 Indicates the silence suppression configuration in the codec mode with priority 2.
    Codec3 Indicates the codec type in the codec mode with priority 3.
    Packet period3 Indicates the packetization duration in the codec mode with priority 3.
    Silence3 Indicates the silence suppression configuration in the codec mode with priority 3.
    Codec4 Indicates the codec type in the codec mode with priority 4.
    Packet period4 Indicates the packetization duration in the codec mode with priority 4.
    Silence4 Indicates the silence suppression configuration in the codec mode with priority 4.
    POTS State
    Indicates the status of the port. Options:
    • LOCK: The port is locked.
    • UNLOCK: The port is unlocked.
    PtpSrvState
    Indicates the running status of the physical layer. Options:
    • Normal: The physical layer is operating properly.
    • FAIL: The physical layer fails to operate.
    PtpAdmState
    Indicates the management status of the physical layer. Options:
    • LOCK: The physical layer has been locked.
    • UNLOCK: The physical layer has been unlocked.
    HookState
    Indicates the hooking status of the port. Options:
    • ONHOOK: The port is in the on-hook state.
    • OFFHOOK: The port is in the off-hook state.
    CTPSrvType
    Indicates the session type. Options:
    • IDLEORNONE: No service is running.
    • TWOWAY: The service is a two-party session.
    • THREEWAY: The service is a three-party session.
    • FAX: The service is a fax service.
    • TELEM: The service is a telegraphy service.
    • CONFERENCE: The service is a conference.
    CTPSrvState
    Indicates the working status of the service. Options:
    • NONEORINITIAL: The service has been initialized.
    • REGISTERED: The service has been registered.
    • INSESSION: The service is in progress.
    • RegFail-ICMP: The service fails to be registered because of ICMP errors.
    • RegFail-TCP: The service fails to be registered because of TCP errors.
    • RegFail-AUTH: The service fails to be registered because of the authentication failure.
    • RegFail-Timeout: The service fails to be registered because of the registration timeout.
    • ,RegFail-Server: The service fails to be registered because of server errors.
    • InvFail-ICMP: The session fails to be initiated because of ICMP errors.
    • InvFail-TCP: The session fails to be initiated because of the TCP errors.
    • InvFail-AUTH: The session fails to be initiated because of the authentication failure.
    • InvFail-Timeout: The session fails to be initiated because of the session establishment timeout.
    • InvFail-Server: The session fails to be initiated because of server errors.
    • PortNotconfigure: The port is not configured.
    • CONFIGDONE: The service has been configured.
    • DisabledBySwitch: The service port is disabled by the call server.
    Codes
    Indicates the coding mode of the port service. Options:
    • G711ULAW: G711U
    • RESERVED: Reserved
    • GSM: GSM
    • G723: G723
    • DVI4: DVI4
    • LPC: LPC
    • G711ALAW: G711A
    • G722: G722
    • L16_2CHANNEL: L16,2channels
    • L16_1CHANNEL: L16,1channel
    • QCELP: QCELP
    • CN: CN
    • MPA: MPA
    • G728: G728
    • G729: G729
    • INVAILDVALUE: -
  • For more information about the error message that the system displays against a command entered with incorrect syntax

MORE BLOG:

No comments:

Post a Comment