VoIP

IIN&Cisco
integrated transport
integrated services
integrated application
实验1 模拟电话
R(3640 fxs1/0/0 fxs1/0/2)
show version
show ip interface brief
show voice port summary
show diag (查看模块)
conf ter
dial-peer voice 1 pots
destination-pattern 1001
port 1/0/0

conf ter
dial-peer voice 1 pots
destination-pattern 1002
port 1/0/1

csim start 1001
csim start 1002

实验2 模拟电话
R1 R2 (模拟电话是s口(1/0/0 1/0/0) R1R2是o口(1/1/0)与s口(1/0/1))

R1
conf ter
dial-peer voice 1 pots
destination-pattern 1001
port 1/0/0

dial-peer voice 12 pots
destination-pattern 2T (或2...)
port 1/1/0

no digit-strip (不吃号只适用于模拟口不精确匹配)

R2
conf ter
dial-peer voice 1 pots
destination-pattern 2002
port 1/0/0

dial-peer voice 12 pots
destination-pattern 1T (或1...)
port 1/0/1
no digit-strip (不吃号只适用于模拟口不精确匹配)

csim start 1001
csim start 2002

实验三 中间跑ip 两端还是模拟电话
R1 R2之间是串口 ip网段是12.1.1.0/24
模拟电话与R1 R2使用s口(1/0/0 1/0/0)

R1
conf ter
interface f 0/0
ip add 12.1.1.1 255.255.255.0

dial-peer voice 1 pots
destination-pattern 1001
port 1/0/0

dial-peer voice 12 voip
destination-pattern 2T (或2...)
session target ipv4:12.1.1.2

R2
conf ter
interface f 0/0
ip add 12.1.1.2 255.255.255.0

dial-peer voice 1 pots
destination-pattern 1001
port 1/0/0

dial-peer voice 12 voip
destination-pattern 1T (或1...)
session target ipv4:12.1.1.1

实验四 ip telephone with auxiliary vlans
pc的数据vlan是3 电话的语音vlan是200

交换机上
conf ter
vtp mode server
vlan 3
name DATA
vlan 200
name VOICE

interface fastEthernet 0/1
switchport mode access
switchport access vlan 3
switchport voice vlan 200 (自动多出spanning-tree portfast)
mls qos trust cos(信任优先级)(认为定义switchport priority extend cos 5)

no sh

 

 

 

 

 

 

 

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值