beautypg.com

Configuration procedure – H3C Technologies H3C MSR 5600 User Manual

Page 101

background image

91

Figure 35 Network diagram

Configuration procedure

1.

Configure Router A:
# Configure an IP address for Ethernet 2/1.

system-view

[RouterA] interface ethernet 2/1

[RouterA-Ethernet2/1] ip address 192.168.2.1 255.255.255.0

[RouterA-Ethernet2/1] quit

# Specify the SIP registrar and proxy server.

[RouterA] voice-setup

[RouterA-voice] sip

[RouterA-voice-sip] registrar 1 ip 192.168.2.3

[RouterA-voice-sip] proxy ip 192.168.2.3

# Configure user name routerA and plaintext password 1234.

[RouterA-voice-sip] user routerA password simple 1234

[RouterA-voice-sip] quit

# Configure local number 1111 for POTS entity 1111 and bind FXS voice subscriber line 1/0 to
the POTS entity.

[RouterA-voice] dial-program

[RouterA-voice-dial] entity 1111 pots

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

[RouterA-voice-dial-entity1111] match-template 1111

[RouterA-voice-dial-entity1111] quit

# Configure VoIP entity 2222 to get the call destination address from the proxy server and to

match number 2222.

[RouterA-voice-dial] entity 2222 voip

[RouterA-voice-dial-entity2222] address sip proxy

[RouterA-voice-dial-entity2222] match-template 2222

[RouterA-voice-dial-entity2222] quit

2.

Configure Router B:
# Configure an IP address for Ethernet 2/1.

system-view

[RouterB] interface ethernet 2/1

[RouterB-Ethernet2/1] ip address 192.168.2.2 255.255.255.0

[RouterB-Ethernet2/1] quit

# Specify the SIP registrar and proxy server.

[RouterB] voice-setup