AR28/AR46系列路由器主备切换网络VOIP的
典型配置
【需求】
平常情况下使用主链路,在主链路不可用的情况下自动切换到备用链路,网络中运行OSPF协议,通过OSPF自动切换链路。
【组网图】
Router A配置脚本
#
sysname left
#
cpu-usage cycle 1min
#
radius scheme system
#
domain system
#
local-user admin
password cipher .]@USE=B,53Q=^Q`MAF4<1!!
service-type telnet terminal
level 3
service-type ftp
#
interface Aux0
async mode flow
#
interface Ethernet0/0
ip address 10.1.1.1 255.255.255.0
ospf cost 1
#
interface Ethernet0/1
ip address 10.1.2.1 255.255.255.0
#
interface Serial0/0
clock DTECLK1
link-protocol ppp
ip address dhcp-alloc
#
interface NULL0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
ospf 1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 10.1.1.0 0.0.0.3
network 10.1.2.0 0.0.0.3
#
#
voice-setup
#
aaa-client
#
dial-program
#
entity 511 voip
match-template 0511....
address ip 3.3.3.3
#
entity 1001 pots
match-template 0101001
line 1/0
#
gk-client
gw-address 1.1.1.1
//必须指定GW的地址,以免造成线路切换后源地址改变而造成单通现象
#
sip
#
subscriber-line 1/0
#
subscriber-line 1/1
#
FTP server enable
#
user-interface con 0
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作