R2511-HP MSR Router Series Voice Configuration Guide(V5)

123
Configuration consideration
The select-rule rule-order 1 4 command can implement load sharing. Because the first rule "exact
match" cannot distinguish the priority between Router B and Router C, Router A will use the fourth rule
"longest idle time" to make sure that the resources of the two gateways are fully, equally utilized.
Configuration procedure
1. Configure Router A:
# Configure an Ethernet address.
<RouterA> system-view
[RouterA] interface ethernet 2/1
[RouterA-Ethernet2/1] ip address 1.1.1.1 24
[RouterA-Ethernet2/1] quit
# Configure VoIP entities that respectively originate calls to Router B and Router C.
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] match-template 010....
[RouterA-voice-dial-entity2000] address sip ip 1.1.1.2
[RouterA-voice-dial-entity2000] quit
[RouterA-voice-dial] entity2001 voip
[RouterA-voice-dial-entity2001] match-template 010....
[RouterA-voice-dial-entity2001] address sip ip 1.1.1.3
[RouterA-voice-dial-entity2001] quit
# Configure POTS entities.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] line 1/0
[RouterA-voice-dial] entity1001 pots
[RouterA-voice-dial-entity1001] match-template 1001
[RouterA-voice-dial-entity1001] line 1/1
[RouterA-voice-dial-entity1001] quit
# Configure rules in the match order for voice entity selection.
[RouterA-voice-dial] select-rule rule-order 1 4
2. Configure Router B:
# Configure an Ethernet address.
<RouterB> system-view
[RouterB] interface ethernet 2/1
[RouterB-Ethernet2/1] ip address 1.1.1.2 24
[RouterB-Ethernet2/1] quit
# Configure POTS entities.
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 pots
[RouterB-voice-dial-entity1000] match-template 010....
[RouterB-voice-dial-entity1000] line 1/0
[RouterB-voice-dial-entity1000] send-number all
[RouterB-voice-dial-entity1000] quit