2304 CHAPTER 133: DIAL PLAN CONFIGURATION[RouterA-voice-dial-entity1010] line 1/0[RouterA-voice-dial-entity1010] send-number all# Configure a local port Line 1/1.[RouterA-voice-dial-entity1010] quit[RouterA-voice-dial] entity 2010 pots[RouterA-voice-dial-entity2010] match-template ....[RouterA-voice-dial-entity2010] line 1/1[RouterA-voice-dial-entity2010] send-number allConfiguring the MatchOrder for Voice EntitySelectionNetwork requirementsTwo telephones connected to Router A can make PSTN calls via two trunk voicegateways (Router B and Router C) and the trunk lines of these two trunk voicegateways should be fully utilized.Network diagramFigure 668 Network diagram for match order configuration for voice entity selectionConfiguration ideaThe select-rule rule-order 1 4 command can implement load sharing. Since thefirst rule “exact match” cannot distinguish the priority between Router B andRouter C, Router A will use the fourth rule “longest idle time” to ensure that theresources of the two gateways are fully, equally utilized.Configuration procedure■ Configuration on Router A# Configure an Ethernet address. system-view[RouterA] interface ethernet 2/0[RouterA-Ethernet] ip address 1.1.1.1 24# 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-entity 2000] match-template 010....[RouterA-voice-dial-entity 2000] address ip 1.1.1.2[RouterA-voice-dial-entity 2000] quit[RouterA-voice-dial] entity 2001 voipWAN010- 1234PBX010- 1235FXO line 1/0FXO line 1/110001001Eth2/01.1.1.1/24Eth2/01.1.1.3/24Eth2/01.1.1.2/24FXO line 1/0FXO line 1/1Router ARouter CRouter B