Chapters Download(97 KB)
Table of Contents
Chapter 1 MS Configuration Commands
1.1.1 display location-server media-server
1.1.2 display media-server location-server status
Chapter 2 Media Resource Configuration Commands
2.1 Media Resource Management Configuration Commands
2.1.1 display media-server media-resource
2.1.2 display media-server media-resource predefine
Chapter 3 LS-Side MS Configuration Commands
3.1 MS Configuration Commands (on the LS)
3.1.1 heartbeat password (LS-MS view)
Syntax
display location-server media-server { ms -id | all | list }
View
Any view
Parameter
ms-id: ID of the MS to be displayed, 32-character string-length limitation.
all: Displays the information of all the MSs managed by the LS.
list: Lists all the MSs managed by the LS.
Description
Use the display location-server media-server command to display the information of one or all the MSs managed by the LS.
Example
# Display the MS “media001” managed by the LS.
[XE-ls]display location-server media-server media001
------------ Media Server Information ------------
Identifier: media001
Ip-address: 1.1.1.31
Heartbeat Password: phoenix
Language: Chinese
Status: Authorized
Table 1-1 Description on the fields of the display location-server media-server command
Field |
Description |
Identifier |
ID of the displayed MS |
Ip-address |
IP address of the MS |
Heartbeat Password |
Heartbeat password between the MS and LS |
Language |
Language type supported by the MS |
Status |
Status of the MS |
Syntax
display media-server location-server status
View
Any view
Parameter
None
Description
Use the display media-server location-server status command to display the status of the LS that manages the current MS.
Example
# Display the status of the LS that manages the current MS.
[XE-ls]display media-server location-server status
----------- Location Server Information -----------
Mode: Local
Ip-address: 1.1.1.31:13579
MS HeartBeat Key: phoenix
Heartbeat Status: Authorized
Table 1-2 Description on the fields of the display media-server location-server status command
Field |
Description |
Mode |
LS mode of the MS |
Ip-address |
IP address of the LS that manages the current MS |
MS HeartBeat Key |
Heartbeat password between the MS and LS |
Heartbeat Status |
Current MS status |
Syntax
heartbeat password password
undo heartbeat password
View
MS view
Parameter
password: Heartbeat password between the MS and the LS, case sensitive, containing 1 to 16 characters.
Description
Use the heartbeat password command to configure the heartbeat password between the MS and LS.
Use the undo heartbeat password command to restore the default heartbeat password.
By default, the heartbeat password is “XEngine”.
Example
# Set the heartbeat password between the MS and LS to “xe2000”.
[XE-ms]heartbeat password xe2000
Syntax
language { chinese | english }
undo language
View
MS view
Parameter
chinese: Specifies Chinese as the language to be used on the MS.
english: Specifies English as the language to be used on the MS.
Description
Use the language command to configure the current language type to be used on the MS.
Use the undo language command to remove the current language type used by the MS.
By default, no language type is configured for the MS.
Example
# Configure the MS to use English.
[XE-ms]language english
Syntax
ls-mode { local | { remote ip-address ip-address [ port port ]} }
View
MS view
Parameter
local: Uses a local LS.
remote: Uses a remote LS.
ip-address: IP address of the remote LS.
port: Port number of the remote LS. The default value is 13579.
Description
Use the ls-mode command to specify the LS for the MS. The default setting is local, namely, the local LS.
Example
# Specify a remote LS for the MS. The IP address of the remote LS is 10.1.5.6.
[XE-ms]ls-mode remote ip-address 10.1.5.6
Syntax
media-server
View
System view
Parameter
None
Description
Use the media-server command to enter MS view.
Example
# Enter MS view.
[XE]media-server
[XE-ms]
Syntax
ms-config ms-id interface interface-type interface-number
undo ms-config
View
MS view
Parameter
ms-id: ID of the MS, 32-character string-length limitation.
interface-type: Type of the interface used by the MS.
interface-number: Number of the interface used by the MS.
Description
Use the ms-config command to configure the basic information of the MS.
Use the undo ms-config command to delete the basic information of the MS.
By default, the MS ID is “MS”.
Example
# Configure the MS ID to “ms1@h3c” and configure the MS interface to GigabitEthernet0/0.
[XE-ms]ms-config ms1@h3c interface GigabitEthernet 0/0
Syntax
start
View
MS view
Parameter
None
Description
Use the start command to start the MS.
Example
# Start the MS.
[XE-ms]start
Syntax
stop
View
MS view
Parameter
None
Description
Use the stop command to stop the MS.
Example
# Stop the MS.
[XE-ms]stop
Syntax
display media-server media-resource { media-id | media-file-path | all }
View
Any view
Parameter
Media-id: Media resource ID, 32 integers, ranging from 0 to 2147483647. Note that digits 0 to 10000 are media resource IDs reserved by the system, and cannot be deleted randomly.
media-file-path: Full path of the media resource files to be displayed, case-sensitive, consisting of 1 to 255 characters..
all: Displays all media resource information.
Description
Use the display media-server media-resource command to display the media resource information on the MS.
Example
# Display all media resource information.
[XE-ls] display media-server media-resource all
1001 Chinese G711a
/wav/1001.wav
The information above includes, from top down, the media resource ID, the language type of the media resource, the media format, and the full path of the media resource.
Syntax
display media-server media-resource predefine { format | language }
View
Any view
Parameter
format: Displays the predefined media format type.
language: Displays the predefined language type.
Description
Use the display media-server media-resource predefine command to display the predefined media resource values.
Example
# Display the predefined language type.
[XE]display media-server media-resource predefine language
Chinese
English
Syntax
format format-string
undo format { format-string | all }
View
Language view
Parameter
format-string: Media format. The value is G711a, G711u, G7231, or G729.
all: Deletes all the media formats.
Description
Use the format command to configure the media resource format supported by the language type and enter format view.
Use the undo format command to delete all the media resource formats supported by the language type.
Example
# Enable G711a support in the Chinese mode.
[XE-ma-Chinese]format G711a
Syntax
language language
undo language { language | all }
View
Media-ability view
Parameter
language: Language type. The value is Chinese or English.
l Chinese: Enters Chinese language view.
l English: Enters English language view.
all: Deletes all the configuration supported by the language type.
Description
Use the language command to enter the specified language view.
Use the undo language command to delete all the configuration supported by the corresponding language type, or delete all the configuration supported by all the language types.
Example
# Enter Chinese language view.
[XE-ma]language Chinese
[XE-ma-Chinese]
Syntax
media-ability
View
System view
Parameter
None
Description
Use the media-ability command to enter media-ability view.
Example
# Enter media-ability view.
[XE]media-ability
[XE-ma]
Syntax
set-media media-id media-file-path
undo set-media { media-id | all }
View
Enter format view.
Parameter
media-id: Media resource ID, in the range of 0 to 2147483647. The range of 0 to 10000 is reserved for system use. You are not recommended to change the IDs in this range.
media-file-path: Path (excluding the drive letter) and name of the media resource file, containing 1 to 255 case-sensitive characters.
all: Deletes all the media resource IDs.
Description
Use the set-media command to configure the media resource ID supported by the current media resource format.
Use the undo set-media command to delete the specified media resource ID or all the media resource IDs supported by the current media resource format.
Example
# Configure a media source in the G711a format in the Chinese mode. The media resource ID is 10001. The media resource file is in the flash:/voice_resource/ directory. The file name is 10001.wav.
[XE-ma-Chinese-G711a]set-media 10001 /voice_resource/10001.wav
Syntax
heartbeat password password
undo heartbeat password
View
LS-MS view
Parameter
password: Heartbeat password between the MS and the LS, containing 1 to 16 characters, case insensitive.
Description
Use the heartbeat password command to configure the heartbeat password between the MS and LS on the LS.
Use the undo heartbeat password command to restore the default heartbeat password.
By default, the heartbeat password is “XEngine”.
Example
# Set the heartbeat password between the LS and the MS “media01”to “xe2000” on the LS.
[XE-ls-ms-media01]heartbeat password xe2000
Syntax
language language
undo language
View
LS-MS view
Parameter
language: Language type supported by the MS. The value is Chinese or English.
Description
Use the language command to configure the current language type on the LS for the MS to play voice prompt.
Use the undo language command to remove the current language type.
By default, no language type supported by the MS is configured.
Example
# Configure the MS “media01” to use English as the current language type for playing voice prompt on the LS.
[XE-ls-ms-media01]language English
Syntax
media-server ms-id
undo media-server { ms-id | all }
View
LS view
Parameter
ms-id: ID of the MS, 32-character string-length limitation. It is case sensitive.
all: Deletes all the MSs managed by the LS.
Description
Use the media-server command to add an MS and enter LS-MS view on the LS. If the MS already exists, this command lets you enter the LS-MS view corresponding to that MS directly.
Use the undo media-server command to delete the MS managed by the LS.
Example
# Configure a media server with the ID of “ms1@h3c” in LS view and enter the LS-MS view corresponding to the MS.
[XE-ls]media-server ms1@h3c
[XE-ls-ms-ms1@h3c]