!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname beijing
!
!
username gongmao password xxxxxxxx
ip subnet-zero
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
interface FastEthernet0/0
ip address 172.17.0.1 255.255.255.0
duplex auto
speed auto
ip classless
ip http server
ip pim bidir-enable
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 10 pots 语音端口指定电话号码101
destination-pattern 101
dial-peer voice 11 pots 语音端口指定电话号码101
destination-pattern 102
!
dial-peer voice 20 VoIP 拨号对等体指定拨201时去成都的路由器
destination-pattern 201
session target ipv4: 192.168.0.1
dial-peer voice 21 VoIP 拨号对等体指定拨202时去成都的路由器
destination-pattern 202
session target ipv4: 192.168.0.1
!
!
line con 0
line aux 0
line vty 0 4
password xxxxxx
login
!
!
end
2. 在成都的路由器做如下配置:
Current configuration : 964 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname chengdu
!
!
username gongmao password xxxxxxx
ip subnet-zero
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
duplex auto
speed auto
!
ip classless
ip http server
ip pim bidir-enable
!
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
dial-peer voice 10 pots
destination-pattern 201
dial-peer voice 11 pots
destination-pattern 202
!
dial-peer voice 20 VoIP 拨号对等体指定拨101时去北京的路由器
destination-pattern 101
session target ipv4: 172.17.0.1
dial-peer voice 21 VoIP 拨号对等体指定拨102时去北京的路由器
destination-pattern 102
session target ipv4: 172.17.0.1
!
line con 0
line aux 0
line vty 0 4
password xxxxxx
login
!
!
end
推荐阅读
- 过滤功能对路由器性能的影响
- 如何正确设置路由器上网方式 路由器设置上网方式
- 如何清洗衣服上的鱼肝油 衣服上的鱼肝油怎么洗
- 啊学长上着课呢你干嘛 在学校想要了怎么办
- 如何在学校台式电脑上连接蓝牙耳机 学校台式电脑可以连接蓝牙耳机吗
- 关于安全的资料
- 网上ml是什么意思啊
- CISCO路由器WAN配置攻略
- 外国围剿TikTok是否闹剧 TikTok罚款上亿
- 美团买单功能怎么开通