Chapters Download(158 KB)
Table of Contents
1.1 Number Substitution Configuration Commands
1.1.2 area-code (LS-OFFICEGROUP view)
1.1.3 area-code-substitute (LS-GW view)
1.1.4 area-code-substitute (LS-OFFICEGROUP view)
1.1.5 display location-server number-substitute
1.1.6 display location-server substitute
1.1.9 policy area-code-substitute
1.1.11 policy substitute-inherit
1.1.12 prefix-rule (Prefix view)
1.1.14 rule (LS-OFFICEGROUP view)
1.1.15 rule (Substitute table view)
1.1.16 sscb-rule (Subscriber view)
1.1.17 substitute (LS-GW view)
1.1.18 substitute (LS-OFFICEGROUP view)
1.1.20 substitute (Prefix view)
1.1.21 substitute (Subscriber view)
Chapter 2 Backup and Load Sharing
2.1 Backup and Load Sharing Configuration Commands
3.1 Overload Protection Configuration Commands
Chapter 4 VoIP RADIUS Accounting Configuration
4.1 VoIP RADIUS Accounting Configuration Commands
4.1.5 radius timer response-timeout
Syntax
area-code { region-code [ nation-code ] }
undo area-code
View
LS-GW view
Parameter
region-code: Area code.
nation-code: Country code.
Description
Use the area-code command to configure the area code and/or country code of the gateway.
Use the undo area-code command to delete the country and area codes of the gateway.
XE supports a combination of country code + area code + subscriber number within 31 bits.
By default, the gateway is not configured with any country or area code.
Example
# Set the area code and country code of gateway gw01 to 010 and 0086 respectively.
[XE-ls-gw-gw01] area-code 010 0086
Syntax
area-code { region-code [ nation-code ] }
undo area-code
View
LS-OFFICEGROUP view
Parameter
region-code: Area code.
nation-code: Country code.
Description
Use the area-code command to configure the country and/or area codes of the office group.
Use the undo area-code command to delete the country and area codes of the office group.
By default, the office device is not configured with any country or area code.
Example
# Set the area code and country code of office group og01 to 020 and 0086 respectively.
[XE-ls-og-og01] area-code 020 0086
Syntax
area-code-substitute { enable | disable }
View
LS-GW view
Parameter
enable: Enables the location server (LS) to perform location-based number substitution before sending a number to the gateway.
disable: Disables the LS to perform location-based number substitution before sending a number to the gateway.
Description
Use the area-code-substitute command to enable or disable the LS to perform location-based number substitution before sending a number to the gateway.
By default, the LS performs location-based number substitution while sending a number to the gateway.
Example
# Disable the LS to perform location-based number substitution while sending a number to gateway gw01.
[XE-ls-gw-gw01] area-code-substitute disable
Syntax
area-code-substitute { enable | disable }
View
LS-OFFICEGROUP view
Parameter
enable: Enables the LS to perform location-based number substitution before sending a number to the office devices in the office group.
disable: Disables the LS to perform location-based number substitution before sending a number to the office devices in the office group.
Description
Use the area-code-substitute command to enable or disable the LS to perform location-based number substitution before sending a number to the office devices in the office group.
By default, the LS does not perform location-based number substitution before sending a number to the office devices in the office group.
Example
# Enable the LS to perform location-based number substitution while sending a number to office devices in office group og01.
[XE-ls-og-og01] area-code-substitute enable
Syntax
display location-server number-substitute { table-identifier | all }
View
Any view
Parameter
table-identifier: Name of substitute table.
all: All substitute tables.
Description
Use the display location-server number-substitute command to display details about the specified or all substitute tables.
Example
# Display details about a substitute table named table1.
[XE-ls] display location-server number-substitute table1
------------ Substitute Table Information ------------
Table Name: table1
Rule: 0 callee 8801 9901 before
Rule: 1 callee 6601 7701 before
[XE-ls-sst-table1]
Syntax
display location-server substitute
View
Any view
Parameter
None
Description
Use the display location-server substitute command to display the substitute tables bound to the LS globally.
Example
# Display the substitute tables bound to the LS globally.
[XE-ls] display location-server substitute
----------- Global Bound Substitute Table -----------
table1 table2 table3 table4
table5 room1 room2
[XE-ls]
Syntax
display subscriber long-number [ nation-num + region-num ]
View
Any view
Parameter
long-number: Subscriber number of the number resource. It should be within 31 bits.
nation-num: Country code of the number resource.
region-num: Area code of the number resource. The total length of nation-num and region-num should be within eight bits.
Description
Use the display subscriber command to display information about the device the specified number belongs to.
Example
# Display information about the device subscriber number 3301 belongs to.
Device ip address = 192.168.80.30
Device route type = Dynamic route
Device Priority = 10
Syntax
number-substitute table- identifier
undo number-substitute { table- identifier | all }
View
LS view
Parameter
table- identifier: Substitute table identifier, 1 to 7 characters.
all: All substitute tables.
Description
Use the number–substitute command to create a substitute table.
Use the undo number–substitute command to delete the specified or all substitute tables.
You can create up to 64 substitute tables, each containing up to eight rules.
By default, no substitute table exists.
Example
# Create a substitute table named table1.
[XE-ls] number-substitute table1
[XE-ls-sst-table1]
Syntax
policy area-code-substitute { enable | disable }
undo policy area-code-substitute
View
LS view
Parameter
enable: Enables location-based number substitution.
disable: Disables location-based number substitution.
Description
Use the policy area-code-substitute command to enable or disable location-based number substitution.
Use the undo policy area-code-substitute command to restore the default.
By default, location-based number substitution is enabled.
Example
# Disable location-based number substitution.
[XE-ls] policy area-code-substitute disable
Syntax
policy num-substitute { enable | disable }
undo policy num-substitute
View
LS view
Parameter
enable: Enables rule-based number substitution.
disable: Disables rule-based number substitution.
Description
Use the policy num-substitute command to enable or disable rule-based number substitution.
Use the undo policy num-substitute command to restore the default.
By default, rule-base number substitution is enabled.
Example
# Disable rule-based number substitution.
[XE-ls] policy num-substitute disable
Syntax
policy substitute-inherit { enable | disable }
undo policy substitute-inherit
View
LS view
Parameter
enable: Enables inheritance-mode number substitution.
disable: Disables inheritance-mode number substitution.
Description
Use the policy substitute-inherit command to enable or disable inheritance-mode number substitution.
Use the undo policy substitute-inherit command to restore the default state of inheritance-mode number substitution.
By default, inheritance-mode number substitution is enabled.
Example
# Disable inheritance-mode number substitution.
[XE-ls] policy substitute-inherit disable
Syntax
prefix-rule rule-tag { caller input-format output-format [ callee input-format output-format ] | callee input-format output-format } { before | after }
undo prefix-rule { rule-tag | all }
View
Prefix view
Parameter
rule-tag: Substitute rule tag, in the range of 0 to 1.
caller: Sets input/output calling number pattern.
callee: Sets input/output called number pattern.
input-format: Input number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
output-format: Output number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
before: Performs number substitution before number analysis.
after: Performs number substitution after number analysis.
all: Deletes all substitute rules.
Description
Use the prefix-rule command to configure a substitute rule for the static route number.
Use the undo prefix-rule command to delete the specified or all substitute rules for the static route number.
You can configure up to two substitute rules for a static route number, each serving the purpose of calling number substitution, called number substitution, or both.
Example
# Configure two rules for the static route number 8803.
[XE2000-ls-gw-gw01 8803] prefix-rule 0 callee 63...... 83...... before
[XE2000-ls-gw-gw01 8803] prefix-rule 1 caller 88...... 51...... callee 63...... 83...... after
Syntax
rule rule-tag { caller input-format output-format [ callee input-format output-format ] | callee input-format output-format } { before | after }
undo rule { rule-tag | all }
View
LS-GW view
Parameter
rule-tag: Substitute rule tag, in the range of 0 to 7.
caller: Sets input/output calling number pattern.
callee: Set input/output called number pattern.
input-format: Input number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
output-format: Output number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
before: Performs number substitution before number analysis.
after: Performs number substitution after number analysis.
all: Deletes all substitute rules.
Description
Use the rule command to configure a substitute rule for the gateway.
Use the undo rule command to delete the specified or all substitute rules for the gateway.
You can configure up to eight substitute rules for one gateway, each serving the purpose of calling number substitution, called number substitution, or both, as shown in the following table:
Table 1-1 Configure substitute rules
Operation |
Command |
Substitute the calling numbers that match the input calling number pattern |
rule rule-tag caller input-format output-format { before | after } |
Substitute the called numbers that match the input called number pattern |
rule rule-tag callee input-format output-format { before | after } |
Substitute both calling and called numbers in a call, provided they match the input calling and called number patterns respectively |
rule rule-tag caller input-format output-format callee input-format output-format { before | after } |
Example
# Configure three substitute rules for gateway device gw01.
[XE2000-ls-gw-gw01] rule 1 caller 88...... 51...... after
[XE2000-ls-gw-gw01] rule 2 callee 63...... 83...... before
[XE2000-ls-gw-gw01] rule 3 caller 88...... 51...... callee 63...... 83...... after
Syntax
rule rule-tag { caller input-format output-format [ callee input-format output-format ] | callee input-format output-format } { before | after }
undo rule { rule-tag | all }
View
LS-OFFICEGROUP view
Parameter
rule-tag: Substitute rule tag, in the range of 0 to 7.
caller: Sets input/output calling number pattern.
callee: Sets input/output called number pattern.
input-format: Input number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
output-format: Output number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The length should be within 31 digits in length.
before: Performs number substitution before number analysis.
after: Performs number substitution after number analysis.
all: Deletes all substitute rules.
Description
Use the rule command to configure a substitute rule for the office group.
Use the undo rule command to delete the specified or all substitute rules for the office group.
You can configure up to eight substitute rules for an office group, each serving the purpose of calling number substitution, called number substitution, or both, as shown in the following table:
Table 1-2 Configure substitute rules
Operation |
Command |
Substitute the calling numbers that match the input calling number pattern |
rule rule-tag caller input-format output-format { before | after } |
Substitute the called numbers that match the input called number pattern |
rule rule-tag callee input-format output-format { before | after } |
Substitute both calling and called numbers in a call, provided they match the input calling and called number patterns respectively |
rule rule-tag caller input-format output-format callee input-format output-format { before | after } |
Example
# Configure three substitute rules for office group og1.
[XE2000-ls-og-og1] rule 1 caller 88...... 51...... after
[XE2000-ls-og-og1] rule 2 callee 63...... 83...... before
[XE2000-ls-og-og1] rule 3 caller 88...... 51...... callee 63...... 83...... after
Syntax
rule rule-tag { caller input-format output-format [ callee input-format output-format ] | callee input-format output-format } { before | after }
undo rule { rule-tag | all }
View
Substitute table view
Parameter
rule-tag: Substitute rule tag, in the range of 0 to 7.
caller: Sets input/output calling number pattern.
callee: Sets input/output called number pattern.
input-format: Input number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
output-format: Output number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
before: Performs number substitution before number analysis.
after: Performs number substitution after number analysis.
all: Deletes substitute rules.
Description
Use the rule command to configure a rule in the substitute table.
Use the undo rule command to delete the specified or all rules from the substitute table.
You can configure up to eight rules in one substitute table, each serving the purpose of calling number substitution, called number substitution, or both, as shown in the following table:
Example
# Configure three rules in substitute table 1.
[XE2000-ls-sst-1] rule 1 caller 88...... 51...... after
[XE2000-ls-sst-1] rule 2 callee 63...... 83...... before
[XE2000-ls-sst-1] rule 3 caller 88...... 51...... callee 63...... 83...... after
Syntax
sscb-rule rule-tag { caller input-format output-format [ callee input-format output-format ] | callee input-format output-format } { before | after }
undo sscb-rule { rule-tag | all }
View
Subscriber view
Parameter
rule-tag: Substitute rule tag, in the range of 0 to 1.
caller: Sets input/output calling number pattern.
callee: Sets input/output called number pattern.
input-format: Input number pattern, consisting of characters ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
output-format: Output number pattern, using regular expression ^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
before: Performs number substitution before number analysis.
after: Performs number substitution after number analysis.
all: Deletes substitute rules.
Description
Use the sscb-rule command to configure a substitute rule for the subscriber line.
Use the undo ssscb-rule command to delete the specified or all substitute rules for the subscriber line.
You can configure up to two substitute rules for one voice subscriber line, each serving the purpose of calling number substitution, called number substitution, or both, as shown in the following table:
Table 1-3 Configure substitute rules
Operation |
Command |
Substitute the calling numbers that match the input calling number pattern |
sscb-rule rule-tag caller input-format output-format { before | after } |
Substitute the called numbers that match the input called number pattern |
sscb-rule rule-tag callee input-format output-format { before | after } |
Substitute both calling and called numbers in a call, provided they match the input calling and called number patterns respectively |
sscb-rule rule-tag caller input-format output-format callee input-format output-format { before | after } |
Example
# Configure two substitute rules for subscriber line 1 of gateway gw01.
[XE2000-ls-gw-gw01 #1 8801] sscb-rule 0 callee 63...... 83...... before
[XE2000-ls-gw-gw01 #1 8801] sscb-rule 1 caller 88...... 51...... callee 63...... 83...... after
Syntax
substitute table- identifier
undo substitute { table- identifier | all }
View
LS-GW view
Parameter
table-identifier: Substitute table identifier, 1 to 7 characters.
all: Removes the binding of all substitute tables.
Description
Use the substitute command to bind a substitute table to the gateway device.
Use the undo substitute command to unbind the specified or all substitute tables from the gateway.
You can bind up to eight substitute tables to a gateway.
By default, no substitute table is bound.
Example
# Bind the substitute table named table1 to gateway gw01.
[XE-ls-gw-gw01] substitute table1
Syntax
substitute table-identifier
undo substitute { table-identifier | all }
View
LS-OFFICEGROUP view
Parameter
table-identifier: Substitute table identifier, 1 to 7 characters.
all: Removes the binding of all substitute tables.
Description
Use the substitute command to bind a substitute table to the office group.
Use the undo substitute command to unbind the specified or all substitute tables from the office group.
You can bind up to eight substitute tables to each office group.
By default, no substitute table is bound.
Example
# Bind a substitute table named table1 to office group og1.
[XE-ls-og-og1] substitute table1
Syntax
substitute table-identifier
undo substitute { table-identifier | all }
View
LS view
Parameter
table-identifier: Substitute table identifier, 1 to 7 characters.
all: Removes the binding of all substitute tables.
Description
Use the substitute command to bind a substitute table to the LS globally.
Use the undo substitute command to unbind the specified or all substitute tables from the LS.
You can bind up to 16 substitute tables to the LS globally.
By default, no substitute table is bound.
Example
# Bind a substitute table named table1 to the LS globally.
[XE-ls] substitute table1
Syntax
substitute table-identifier
undo substitute { table-identifier | all }
View
Prefix view
Parameter
table-identifier: Substitute table identifier, 1 to 7 characters.
all: Removes the binding of all substitute tables.
Description
Use the substitute command to bind a substitute table to a number.
Use the undo substitute command to unbind the specified or all substitute tables from the prefix.
You can bind up to two substitute tables to a static route number.
By default, no substitute table is bound.
Example
# Bind a substitute table named table1 to the number 01067689445.
[XE-ls-gw-gw01 01067689445] substitute table1
Syntax
substitute table-identifier
undo substitute { table-identifier | all }
View
Subscriber view
Parameter
table-identifier: Substitute table identifier, 1 to 7 characters.
all: Removes the binding of all substitute tables.
Description
Use the substitute command to bind a substitute table to the subscriber line.
Use the undo substitute command to unbind the specified or all substitute tables from the subscriber line.
You can bind up to two substitute tables to a subscriber line.
By default, no substitute table is bound.
Example
# Bind a substitute table named table1 to subscriber line 01.
[XE-ls-gw-gw01] subscriber #01 67689445
[XE-ls-gw-gw01 #01 67689445] substitute table1
Syntax
load-share { disable | enable }
undo load-share
View
LS-GW view
Parameter
enable: Enables the backup and load sharing capabilities of the gateway.
disable: Disables the backup and load sharing capabilities of the gateway.
Description
Use the load-share command to enable or disable the load sharing capability of the gateway.
Use the undo load-share command to restore the default.
By default, the load sharing capability of the gateway is disabled.
& Note:
Even when the load sharing capability of a gateway is disabled with the load-share disable command, the gateway can affect the overall load sharing policy of the system.
Example
# Enable the load sharing capability of gateway gw0.
[XE-ls-gw-gw0] load-share enable
Syntax
ls-back { disable | enable }
View
PS view
Parameter
disable: Disables the PS from sending interrogation messages to the LS with higher priority levels.
enable: Enables the PS to send interrogation messages to the LS with higher priority levels so that once an LS with higher priority is available, the PS ends the connection with the current LS and establishes a connection with the LS with higher priority.
Description
Use the ls-back command to configure the LS backup policy, namely specify whether to enable the PS, if the LS connected with which is not the LS with the highest priority, to probe for the LS with the highest priority by polling the LS. If the PS is enabled to poll the LS, and if a high-priority LS is available, the PS will end the connection with the current LS and start a connection with the high-priority LS. If the polling function is disabled, the PS will keep using the current LS.
By default, the polling function is disabled.
Example
# Enable the polling function of the PS.
[XE-ps]ls-back enable
Syntax
psgroup-id group-id [master-ps ps-id ]
undo psgroup-id
View
LS-GW view
Parameter
group-id: process server (PS) group identifier, 1 to 32 characters.
master-ps: The primary PS in the PS group that the gateway device belongs to.
ps-id: ID of the primary PS for gateway registration.
Description
Use the psgroup-id command to assign the gateway to a PS group as well as the primary PS.
Use the undo psgroup-id command to restore the default.
By default, the gateway does not belong to any PS group.
Example
# Assign gateway gw0 to a PS group named group1 and specify that the primary PS is masterProcessServer.
[XE-ls-gw-gw0] psgroup-id group1 master-ps masterProcessServer
Syntax
psgroup-id group-id
undo psgroup-id
View
LS-PS view
Parameter
group-id: PS group identifier, 1 to 32 characters.
Description
Use the psgroup-id command to assign the PS to a PS group.
Use the undo psgroup-id command to restore the default.
By default, the PS does not belong to any PS group.
Example
# Assign ps0 to PS group named group1.
[XE-ls-ps-ps0] psgroup-id group1
Syntax
ras-port number
undo ras-port
View
LS-PS view
Parameter
number: Specifies the port where the PS receives/transmits RAS signaling as a backup PS or the PS in a redirect. It is in the range of 1 to 65535 and defaults to 1719.
Description
Use the ras-port command to configure the port where the PS receives/transmits RAS signaling as a backup PS or as the PS in a redirect.
Use the undo ras-port command to restore the default.
Example
# Configure the PS named ps0 to transmit/receive RAS signaling on port 500 when functioning as a backup PS or the PS in a redirect.
[XE-ls-ps-ps0] ras-port 500
Syntax
register-port port
undo register-port
View
Parameter
port: Number of the port through which the PS receives registration messages, in the range of 1 to 65535.
Description
Use the register-port command to configure the registration port for PS backup. The registration port for PS backup is the port that the secondary PSs use to receive the REGISTER message.
Use the undo register-port command to restore the default registration port.
By default, the backup registration port is port 5060.
Example
# Set the backup registration port the secondary PSs to 6000.
[XE-ls-og-og01 of1]register-port 6000
Syntax
relative-capability value
undo relative-capability
View
LS-PS view
Parameter
value: Relative capability of the PS, an integer in the range of 1 to 100. It defaults to 1.
Description
Use the relative-capability command to configure the relative capability of the PS.
Use the undo relative-capability command to restore the default relative capability of the PS.
The relative capability of a PS is the voice service processing capability of the PS relative to other PSs in the same group. This capability is set considering hardware performance, bandwidth, and number of allowed subscriber lines available with each PS in the same group.
Example
# Set the relative capability of a PS named ps0 to 10.
[XE-ls-ps-ps0] relative-capability 10
Syntax
sip-port number
undo sip-port
View
LS-PS view
Parameter
number: Specifies the port where the PS receives/transmits SIP signaling as a backup PS or the PS in a redirect. It is in the range of 1 to 65535 and defaults to 5060.
Description
Use the sip-port command to configure the port where the PS receives/transmits SIP signaling as a backup PS or as the PS in a redirect.
Use the undo sip-port command to restore the default.
Example
# Configure the PS named ps0 to transmit/receive SIP signaling on port 1000 when functioning as a backup PS or the PS in a redirect.
[XE-ls-ps-ps0] sip-port 1000
Syntax
subsline-sum value
undo subsline-sum
View
LS-GW view
Parameter
value: Number of subscriber lines, an integer in the range of 1 to 1000. It defaults to 4.
Description
Use the subsline-sum command to set the number of subscriber lines that can be accommodated by the gateway.
Use the undo subsline-sum command to restore the default.
This setting is not the number of subscriber lines that can be accommodated by the hardware of the gateway. It is rather a value specified considering the hardware performance of the gateway relative to other gateways. This setting will take effect in the load sharing policy for your voice network.
The number of subscriber lines set using this command however can be the same as that accommodated by the hardware.
Example
# Set the number of subscriber lines that can be accommodated by gateway gw0 to 25.
[XE-ls-gw-gw0] subsline-sum 25
Syntax
cpu value discard chance
undo cpu { value | all }
View
Overload protection view
Parameter
value: CPU overload protection threshold, an integer in the range 10 to 95. When CPU load exceeds this value, the system begins to drop messages.
chance: Message drop probability, an integer in the range 1 to 100.
all: Deletes all protection configuration entries.
Description
Use the cpu command to create a protection configuration table entry, mapping CPU overload protection threshold to message drop probability. You can configure up to five entries.
Use the undo cpu command to delete the specified or all protection configuration entries.
By default, no protection configuration entry is configured.
Example
# Configure the system to discard all voice call request messages when CPU load reaches 90%.
[XE-olp] cpu 90 discard 100
Syntax
display overload
View
Any view
Parameter
None
Description
Use the display overload command to display the overload protection configuration.
Example
# Display the overload protection configuration.
<XE> display overload
Overload Protection is currently on!
Protection Config Table
-------------------
cpu 90 discard 90
cpu 80 discard 40
cpu 70 discard 30
cpu 60 discard 20
cpu 50 discard 10
-------------------
Syntax
overload-protection
View
System view
Parameter
None
Description
Use the overload-protection command to enter overload protection view.
Example
# Enter overload protection view.
[XE] overload-protection
[XE-olp]
Syntax
start
View
Overload protection view
Parameter
None
Description
Use the start command to enable overload protection.
By default, overload protection is disabled.
Example
# Enable overload protection.
[XE-olp] start
Overload Protection started.
[XE-olp]
Syntax
stop
View
Overload protection view
Parameter
None
Description
Use the stop command to disable overload protection.
By default, overload protection is disabled.
Example
# Disable overload protection.
[XE-olp] stop
Overload Protection stopped.
[XE-olp]
Syntax
aaa enable
undo aaa enable
View
System view
Parameter
None
Description
Use the aaa enable command to enable AAA.
Use the undo aaa enable command to disable AAA.
By default, AAA is disabled.
Example
# Enable AAA.
[XE]aaa enable
Syntax
radius server { radius-server-name | radius-server-ip } [ accounting-port accounting-port ]
undo radius server
View
System view
Parameter
radius-server-name: Host name of the RADIUS accounting server.
radius-server-ip: IP address of the RADIUS accounting server.
accounting-port: Port through which the RADIUS accounting server receives accounting request messages. The default port number is 1813.
Description
Use the radius server command to configure the information of the RADIUS accounting server used by the XE IP PBX.
Use the undo radius server command to delete the RADIUS accounting server.
Example
# Set the IP address of the RADIUS accounting server used of the XE IP PBX to 192.168.1.10, and specify port 10000 as the port through which the accounting request messages are received.
[XE]radius server 192.168.1.10 accounting-port 10000
Syntax
radius shared-key pwd
undo radius shared-key
View
System view
Parameter
pwd: Shared access password of the RADIUS accounting server, a character string consisting of 1 to 15 characters.
Description
Use the radius shared-key command to configure the on the XE IP PBX, which must be the same as configured on the RADIUS accounting server.
Use the undo radius shared-key command to delete the shared access password of the RADIUS accounting server.
Example
# Specify “acc-pwd” as the shared access password of the RADIUS accounting server.
[XE]radius shared-key acc-pwd
Syntax
radius source-address ip-address
undo radius source-address
View
System view
Parameter
ip-address: The source IP address of all the RADIUS packets.
Description
Use the radius source-address command to specify a source IP address for the RADIUS packets transmitted from the XE IP PBX.
Use the undo radius source-address command to disable specifying a source IP address for the RADIUS packets.
By default, no IP address is specified for transmitting RADIUS packets.
If the same source IP address is specified for all the RADIUS packets, the RADIUS server will only need to contact the XE IP PBX using that IP address, instead of registering the IP addresses of all the interfaces that are likely to send RADIUS packets.
Example
# Use 192.168.80.1 as the source IP address of all the RADIUS packets.
[XE] radius source-address 192.168.80.1
Syntax
radius timer response-timeout seconds
undo radius timer response-timeout
View
System view
Parameter
seconds: Timeout value for the RADIUS server, ranging from 1 to 300 seconds. The default value is 5 seconds.
Description
Use the radius timer response-timeout command to configure the timeout value of the RADIUS server.
Use the undo radius timer response-timeout command to restore the default value.
When replies are required for sent packets (like authenticating request packets), the timeout value should be configured, and packets will be retransmitted in case of timeout.
Example
# Configure the timeout value for the RADIUS server to 5 seconds.
[XE] radius timer response-timeout 5
Syntax
acct { enable | disable }
View
LS-OFFICEGROUP-OFFICE view.
Parameter
enable: Enables accounting on calling users on office devices.
disable: Disables accounting on calling users on office devices.
Description
Use the acct command to enable/disable accounting on calling users on office devices. After accounting is enabled for office devices, when a user on an office device calls a user in the LS domain, the XE IP PBX will request the RADIUS accounting server to implement accounting on the calling user.
By default, accounting is disabled for calling users on office devices.
Example
# Disable accounting for calling users on office device “office1”.
[XE-ls-og-og01]office office1
[XE-ls-og-og01 office1]acct disable
[XE-ls-og-og01 office1]