十 VOIP
1 实验拓扑图

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
2 配置命令
1)R1配置命令
enable
configure terminal
hostname r1
interface fastethernet 0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
dial-peer voice 1 pots
destination-pattern 1001
port 1/0/0
dial-peer voice 10 voip
destination-pattern 2001
session target ipv4 : 192.168.1.2
2)R2配置命令
enable
configure terminal
hostname r2
interface fastethernet 0/0
ip address 192.168.1.2 255.255.255.0
no shutdown
exit
dial-peer voice 1 pots
destination-pattern 2001
port 1/0/0
dial-peer voice voip
destination-pattern 1001
session target ipv4 :192.168.1.1
转载于:https://blog.51cto.com/chenxz/294614