【#文档大全网# 导语】以下是®文档大全网的小编为您整理的《语音电话》,欢迎阅读!

实验六:语音电话配置
1.实验拓扑
2.实验配置:
Switch1(config)#interface range fastEthernet 0/1-5 Switch1(config-if-range)#switchport voice vlan 1
Switch2(config)#interface range fastEthernet 0/1-5 Switch2(config-if-range)#switchport voice vlan 1
Aconfig)#ip dhcp pool ccie
A(dhcp-config)#network 192.168.1.0 255.255.255.0 A(dhcp-config)#default-router 192.168.1.0 A(dhcp-config)#option 150 ip 192.168.1.1 A(config)#telephony-service
A(config-telephony)#auto assign 1 to 5 A(config-telephony)#max-ephones 5 A(config-telephony)#max-dn 5
A(config-telephony)#ip source-address 192.168.1.1 port 2000 A(config-telephony)#exit A(config)#ephone-dn 1
A(config-ephone-dn)#number 1833999 A(config-ephone-dn)#exit A(config)#ephone-dn 2
A(config-ephone-dn)#number 1833711 A(config)#dial-peer voice 1 voip
A(config-dial-peer)#destination-pattern 1874... A(config-dial-peer)#session target ipv4:192.168.2.2 A(config)#ip route 192.168.3.0 255.255.255.0 f0/0
B(config)#ip dhcp pool ccie
B(dhcp-config)#network 192.168.3.0 255.255.255.0 B(dhcp-config)#default-router 192.168.3.2 B(dhcp-config)#option 150 ip 192.168.3.2 B(config)#telephony-service
B(config-telephony)#auto assign 1 to 5 B(config-telephony)#max-ephones 5 B(config-telephony)#max-dn 5
B(config-telephony)#ip source-address 192.168.3.2 port 2000 B(config-telephony)#exit B(config)#ephone-dn 1
B(config-ephone-dn)#number 1874111 B(config-ephone-dn)#exit B(config)#ephone-dn 2
B(config-ephone-dn)#number 1874222 B(config)#dial-peer voice 1 voip
B(config-dial-peer)#destination-pattern 1833... B(config-dial-peer)#session target ipv4:192.168.2.1 B(config)#ip route 192.168.1.0 255.255.255.0 f0/0
3.实验验证
本文来源:https://www.wddqxz.cn/0762393ebe23482fb5da4c1a.html