13.3 共享DCC(灵活DDR)
13.3.1 呼出侧
配置脚本 |
# dialer-rule 1 ip permit /配置拨号访问控制列表/ # interface Aux0 baudrate 57600 async mode protocol link-protocol ppp undo dialer enable-circular /不使能轮循DCC(即使能共享DCC)/ dialer-group
1 /引用拨号访问控制列表/ dialer bundle-member 1
/分别和3个bundle关联,但是只有在拨号的时候才会和其中一个进行绑定 dialer bundle-member 2 dialer bundle-member 3 # interface Dialer0 link-protocol ppp ppp pap local-user usera password simple passwd ip address ppp-negotiate dialer user usera dialer bundle 1 /指定dialer 0为bundle 1/ dialer number 1234 /配置拨号号码/ # interface Dialer1 link-protocol ppp ppp chap user usera ppp chap password simple passwd ip address ppp-negotiate dialer-group 1 dialer user usera dialer bundle 2 /指定dialer 1为bundle 2/ dialer number 4567 # interface Dialer2 link-protocol ppp ppp pap local-user usera password simple passwd ip address 10.1.1.2 255.2 55.255.0 dialer-group 1 dialer user usera dialer bundle 3 /指定dialer 2为bundle 3/ dialer number 8888 # ip route-static
0.0.0.0 0.0.0.0 Dialer 0 preference
60 /不同的路由走不同的dialer口进行呼叫/ ip route-static 10.0.0.0 0.0.0.0 Dialer 1 preference 60 ip route-static 20.0.0.0 0.0.0.0 Dialer 2 preference 60 # user-interface aux 0 modem both /AUX口使能modem/ speed 57600 # |