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