You are on page 1of 4

mgbrauser add

Function

This command is used to add an ISDN BRA user on a specified ISDN BRA port. To add a user on a
specified ISDN BRA port and to configure the user data, run this command. After the user is added
successfully, you need to add the matched user on the MGC and ensure that the parameters of the users
are consistent. Thus adding an ISDN BRA user is completed.

Format

mgbrauser add frameid/slotid/portid mgid linksetno [ interfaceid interfaceid | terminalid terminalid-value


| priority priority-value | telno telno-value ]*

Parameters

Parameter Description Value

frameid/slotid/portid Indicates the shelf ID, slot ID, and port ID. Character string type, a
This parameter is mandatory. It is used to add an ISDN string of 1-15 characters,
BRA user on a specified port. Enter "/" between the where:
shelf, slot, and port IDs. frameid: the specifications
vary with devices.
slotid: The specifications
vary with devices.
portid: varies with the
board type.

mgid Indicates the MG interface ID. Numeral type. Range: 0-


This parameter is mandatory. It identifies the MG 16777215.
interface to which the added ISDN BRA user belongs.
The specified MG interface must exist in the system. If it
does not exist, you need to run the interface h248
command (when the interface or the system supports
the H.248 protocol) or the interface mgcp command
(when the interface or the system supports the MGCP
protocol) to add the MG interface.

linksetno Indicates the IUA link set ID. Numeral type. Range: 0-
This parameter is mandatory. It is used to identify the 15.
link set to which the added ISDN BRA user belongs.
The specified IUA link set must exist in the system. If it
does not exist, you need to run the iua-linkset add
command to add the IUA link set.

interfaceid Indicates the IUA interface ID. Numeral type. Range: 0-


This parameter is used to identify the IUA interface ID 65535.
corresponding to the added ISDN BRA user. When
parameter iid-map in the iua-linkset add command is
configured to 1, this parameter must be entered. When
parameter iid-map is configured to other values, this
parameter need not be entered.
Parameter Description Value

The IUA interface ID of an ISDN BRA user must be


unique in an IUA link set.

terminalid Indicates the terminal ID. Numeral type. Range: 0-


terminalid-value This parameter is optional. To specify the terminal ID of 9999.
the added ISDN BRA user, use this parameter.
For details of the configuration principles of the terminal
ID, refer to the "Usage Guidelines".

priority priority- Indicates the terminal priority. Enumerated type.


value This parameter is optional. To specify the terminal Options: cat1, cat2 and
priority of the added ISDN BRA user, use this cat3.
parameter. Default: cat3.
The terminal priority has three categories:
• cat1: government1 (government users in category
1).
• cat2: government2 (government users in category
2).
• cat3: normal (common users).

telno telno-value Indicates the telephone number. Character string type, a


This parameter is optional. To specify the telephone string of 1-16 characters.
number of the added ISDN BRA user, use this
parameter.
In general, the telephone number herein is
meaningless, and it must be configured according to the
configuration of the MGC. Only when the emergency
standalone is configured and enabled, the telephone
number is used as the paging number for the
emergency standalone.
It is recommended that you configure a telephone
number the same as that of the MGC. Meanwhile, the
telephone number must be unique in the MG to avoid
the telephone number confliction when the emergency
standalone function is enabled. If you do not configure
this parameter, the telephone number is null by default.
The telephone number must be a numeral character
string consisting of digits 0-9.

Modes

ESL user mode

Level

Operator level

Usage Guidelines
• Before running this command, run the config command to enter the global config mode, and then
run the esl user command to enter the ESL user mode.
• When you configure the terminal ID, comply with the following principles:
The terminal ID of an ISDN BRA user cannot be the same as that of any other user.
If the MG interface does not support the terminal layering function, the terminal ID must be
configured and the difference between this terminal ID and that of the existing ISDN BRA
users must be at least an integer multiple of 2. This restriction does not take effect when
the keywords in the parameter list of a terminal ID profile contain G or B. Run the display
tid-format command to query the IDs of terminal ID profiles used by various terminals,
and run the display tid-template command to query the keywords contained in the
parameter list of a terminal ID profile.
If the MG interface supports the terminal layering function, the terminal ID cannot be
configured when the ISDN BRA user is added to the MG interface. The system
automatically allocates the terminal ID starting from terminal ID 0 and the number
increases by 2 each time. For example, to add the first ISDN BRA user, the terminal ID is
0; to add the second ISDN BRA user, the terminal ID is 2; to add the third ISDN BRA user,
the terminal ID is 4; the rest may be deduced by analogy.
• The user that has been added cannot be added again.
• When the system supports the Session Initiation Protocol (SIP) and H.248 protocol at the same
time, the specified MG interface must support the H.248 protocol.

Example

Assume that:
• MG interface ID: 0
• IUA link set ID: 0
• IUA interface ID: 0 (parameter iid-map is 1)
• Terminal ID: 0
• Priority: cat3
• Telephone number: 22223333
To configure the data of the ISDN BRA user on port 0/2/0 when the TID profile bound with the user on the
MG interface is configured to not support the terminal layering function, do as follows:
huawei(config-esl-user)#mgbrauser add
{ frameid/slotid/portid<S><Length 1-15> }:0/2/0
{ mgid<U><0,16777215> }:0
{ linksetno<L> }:0
{ <cr>|interfaceid<K>|priority<K>|telno<K>|terminalid<K> }:interfaceid
{ interfaceid<U><0,65535> }:0
{ <cr>|priority<K>|telno<K>|terminalid<K> }:terminalid
{ terminalid-value<U><0,9999> }:0
{ <cr>|priority<K>|telno<K> }:priority
{ priority-value<E><cat1,cat2,cat3> }:cat3
{ <cr>|telno<K> }:telno
{ telno-value<S><Length 1-16> }:22223333

You might also like