PPPOE dialing based on requirement, if there is no flow it will disconnect automatically

Publication Date:  2012-09-13 Views:  191 Downloads:  0
Issue Description
 Customer surfs the Internet by duration-based charging, the customer requires it can automatic dialing everyday from 8:00a.m to 18:00p.m, this time, automatically disconnect after 18:00. 
Alarm Information
None
Handling Process
 time-range work 08:00 to 18:00daily         define time segment
acl number 2001
rule 5 permit
rule 10 permit time-range work    
           call the time defined
dialer-rule 1 acl 2001                                    call access list
interface Dialer1
link-protocol ppp
ppp pap local-user 19670204 password simple 87009276
ip address ppp-negotiate
dialer user 19670204
dialer bundle 1
dialer-group 1  
                                             call dialer-rule, must ensure that the parameter group-number in the command dialer-rule is same with the parameter group-number in the command dialer-group.
interface Ethernet0/0/0
pppoe-client dial-bundle-number 1 idle-timeout 30
    idle-timeout is timeout time (unit is second)
firewall zone trust
set priority 85
add interface Vlanif1

firewall zone untrust
set priority 5
add interface Ethernet0/0/0
add interface Dialer1
interface Vlanif1
ip address 192.168.7.1 255.255.255.0
firewall interzone trust untrust
packet-filter 2001 outbound
nat outbound 2001 interface Dialer1
ip route-static 0.0.0.0 0.0.0.0 Dialer1

Root Cause
None
Suggestions
None

END