beautypg.com

Examples, Using shortest match – H3C Technologies H3C MSR 5600 User Manual

Page 75

background image

65

Examples

As shown in

Figure 25

, configure number match modes for calls from Telephone A to Telephones B and

C.

Figure 25 Network diagram

Using shortest match

1.

Configure Router A:
# Configure POTS entity 1000.

system-view

[RouterA] voice-setup

[RouterA-voice] dial-program

[RouterA-voice-dial] entity 1000 pots

[RouterA-voice-dial-entity1000] match-template 10001234$

[RouterA-voice-dial-entity1000] line 1/0

[RouterA-voice-dial-entity1000] quit

# Configure VoIP entity 2000 and VoIP entity 2001.

[RouterA-voice-dial] entity2000 voip

[RouterA-voice-dial-entity2000] match-template 20001234$

[RouterA-voice-dial-entity2000] address ip 1.1.1.2

[RouterA-voice-dial-entity2000] quit

[RouterA-voice-dial] entity2001 voip

[RouterA-voice-dial-entity2001] match-template 200012341234$

[RouterA-voice-dial-entity2001] address ip 1.1.1.2

[RouterA-voice-dial-entity2001] quit

2.

Configure Router B:
# Configure POTS entity 2000 and POTS entity 2001.

system-view

[RouterB] voice-setup

[RouterB-voice] dial-program

[RouterB-voice-dial] entity 2000 pots

[RouterB-voice-dial-entity2000] match-template 20001234$