Function
This command is used to query the configuration information of MGCP
interfaces on the optical network terminal (ONT), includingthe IP address or
domain name of the primary or secondary media gateway controller (MGC) and the
port ID of the primary or secondary MGC.
Parameters
Parameter | Description | Value |
---|---|---|
portid | Indicates the ID of the xPON port of the optical line terminal (OLT) where the ONT is located. | Please see Differences Between Shelves. |
ontid | Indicates the ID of the ONT. | Numeral type. Range: varies with the board type. |
mgid | Indicates the ID of the MG interface on the ONT. | Numeral type. Range: 1-32. |
all | Indicates all MG interfaces. | - |
Usage Guidelines
- Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
- You can run the if-mgcp add command to configure the attributes of MGCP interfaces.
- For details about parameters in the System Response, see the if-mgcp add command.
Example
To query the information of all MG interfaces on ONT 0 on the 0/3/0 board, do as follows:
huawei(config-if-gpon-0/3)#display if-mgcp { portid<U><0,7> }:0 { ontid<U><0,127> }:0 { all<K>|mgid<U><1,32> }:all Command: display if-mgcp 0 0 all Total: 3 MG(s) MG 1 ID is: 1 MG 2 ID is: 5 MG 3 ID is: 16To query the attribute of MG interface 1 on ONT 0 on the 0/3/0 board, do as follows:
huawei(config-if-gpon-0/3)#display if-mgcp { portid<U><0,7> }:0 { ontid<U><0,127> }:0 { all<K>|mgid<U><1,32> }:1 Command: display if-mgcp 0 0 1 ------------------------------------------------------------------------------ MGID : 1 IP index : 0 Primary MGC : - Primary MGC port : 2944 Secondary MGC : - Secondary MGC Port : 2944 Media min port : 50000 Media max port : 60000 Media dscp : 46 Signal port : 2944 Signal dscp : 24 MID : - Physical TID prefix : - Heartbeat mode : notify-method Heartbeat cycle(s) : 60 Heartbeat count : 3 RTP TID number : 16 RTP TID prefix : - RTP TID mode : aligned RTP TID digit begin : 0 RTP TID digit length : 1 Faxmode : T.38 Negotiate mode : negotiate 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 Oob dtmf : outband Announcement type : Fast busy Fixed jitter buffer : 60 ms Dynamic jitter buffer : 6 ms Max jitter buffer : 135 ms Min jitter buffer : 2 ms Echo flag : on Pstn protocol variant : tp Piggyback event : disable Tone event : disable Dtmf event : disable Cas event : disable Flash upper : ONT own default value Flash lower : ONT own default value Silence : base-on-codec ------------------------------------------------------------------------------
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 if-mgcp 0 0 all command.
Parameter Description Total Indicates the number of MG interfaces on the ONT. MG x ID is Indicates the index of MG interface x. - The following table describes the parameters in the response to the
display if-mgcp 0 0 1 command.
Parameter Description MGID Indicates the ID of the MG interface. IP index Indicates the index of the IP interface used by the MG interface. It can be configured by running the ont ipconfig(gpon) command. Primary MGC Indicates the IP address or domain name of the primary media gateway controller (MGC). Primary MGC port Indicates the port ID of the primary MGC. Secondary MGC Indicates the IP address or domain name of the secondary MGC. Secondary MGC Port Indicates the port ID of the secondary MGC. Media min port Indicates the minimum port ID that is used for transmitting media RTP packets. Media max port Indicates the maximum port ID that is used for transmitting media RTP packets. Media dscp Indicates the differentiated services code point (DSCP) priority of media RTP packets. Signal port Indicates the port ID of the signaling transport layer protocol of the MG interface. Signal dscp Indicates the DSCP priority of signaling packets. MID Indicates the device name or domain name of the MG interface. Physical TID prefix Indicates the prefix of the physical termination. Heartbeat mode Indicates whether to enable the heartbeat detection function. Heartbeat cycle(s) Indicates the heartbeat detection cycle. Heartbeat count Indicates the number of times heartbeat detection is performed. RTP TID prefix Indicates the prefix of the RTP TID. RTP TID number Indicates the number of RTP TIDs. RTP TID mode Indicates the alignment mode used for digits of the RTP TID. RTP TID digit begin Indicates the start value of digits of the RTP TID. RTP TID digit length Indicates whether to append 0 to digits of the RTP TID if the length of the RTP TID is short than the preset length. This parameter is valid only when RTP TID Mode is set to 0. Faxmode Indicates the fax mode. Options: transparent and T.38 Negotiate mode Indicates the fax/modem negotiation mode. Options: negotiation and self-switch. 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. Oob dtmf Indicates the dual tone multiple frequency (DTMF) transmission mode. Options: outband and inband. Announcement type Indicates the type of the signal tone that is heard when offhook times out on the POTS port. Fixed jitter buffer Indicates the initial value of the static jitter buffer. Dynamic jitter buffer Indicates the initial value of the dynamic jitter buffer. Max jitter buffer Indicate the maximum value of the jitter buffer. Min jitter buffer Indicate the minimum value of the jitter buffer. Echo flag Indicates whether to enable echo cancellation. Pstn protocol variant Piggyback event Indicates whether to send piggyback events using RTP packets. Tone event Indicates whether to process the Tone events in RTP packets defined in RFC4733. Dtmf event Indicates whether to process the DTMF events in RTP packets defined in RFC4733. Cas event Indicates whether to process the CAS events in RTP packets defined in RFC4733. Flash upper Indicates the upper threshold of hooking flash. Flash lower Indicates the lower threshold of hooking flash. Silence Indicates whether to enable silence compression for interfaces. Options: disable, enable, and base on codec. - 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