cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
466
Views
0
Helpful
4
Replies

Cisco Router 876; automatically connect / disconnect DSL

macgoo18xx
Level 1
Level 1

Hello ,

at first sorry for my bad english, althrough i hope you understand me.

I have a Cisco Router 876.

I want (…config !...) that my router automatically connect / disconnect to the internet (DSL), if no traffic (ca. 5 minute) is running.

I hope anyone can help me.

Thanks

PS. Here is my currently Config-file:

!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname xxxxxxxxxxxx
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
no logging buffered
enable secret 5 xxxxxxxxxxxxxxxxxxxxxxxxxx
!
no aaa new-model
clock timezone Berlin 1
clock summer-time Berlin date Mar 30 2003 2:00 Oct 26 2003 3:00
!
!
dot11 syslog
no ip source-route
!
!
!
!
ip cef
ip domain lookup source-interface Dialer1
ip name-server xxxxxxxxxx
ip name-server xxxxxxxxxx
ip inspect name myfw cuseeme timeout 3600
ip inspect name myfw ftp timeout 3600
ip inspect name myfw rcmd timeout 3600
ip inspect name myfw realaudio timeout 3600
ip inspect name myfw smtp timeout 3600
ip inspect name myfw tftp timeout 30
ip inspect name myfw udp timeout 15
ip inspect name myfw tcp timeout 3600
ip inspect name myfw h323 timeout 3600
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
username xxxxx privilege xx view xxxx password 0 xxxxxxx
!
!
!
archive
log config
  hidekeys
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
!
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
no atm ilmi-keepalive
pvc 1/32
  pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.10.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
interface Dialer1
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1492
ip flow ingress
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ppp chap password xxxxxxxxxxxxxxxxxx
ppp pap sent-username xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
no ip http secure-server
!
!
ip dns server
ip dns spoofing
ip nat inside source list traffic_to_nat interface Dialer1 overload
ip nat inside source static udp 192.168.10.30 8000 interface Dialer1 8000
!
ip access-list standard traffic_to_nat
permit 192.168.10.0 0.0.0.255
!
no logging trap
access-list 102 remark SDM_ACL Category=16
access-list 102 permit ip 192.168.10.0 0.0.0.255 any
access-list 111 permit tcp any any eq telnet
access-list 111 permit icmp any any administratively-prohibited
access-list 111 permit icmp any any echo
access-list 111 permit icmp any any echo-reply
access-list 111 permit icmp any any packet-too-big
access-list 111 permit icmp any any time-exceeded
access-list 111 permit icmp any any traceroute
access-list 111 permit icmp any any unreachable
access-list 111 permit udp any eq bootps any eq bootpc
access-list 111 permit udp any eq bootps any eq bootps
access-list 111 permit udp any eq domain any
access-list 111 permit esp any any
access-list 111 permit udp any any eq isakmp
access-list 111 permit udp any any eq 10000
access-list 111 permit tcp any any eq 1723
access-list 111 permit tcp any any eq 139
access-list 111 permit udp any any eq netbios-ns
access-list 111 permit udp any any eq netbios-dgm
access-list 111 permit gre any any
access-list 111 deny   ip any any
access-list 122 deny   tcp any any eq telnet
access-list 122 permit ip any any
dialer-list 1 protocol ip permit
!
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
exec-timeout 120 0
login local
length 0
!
scheduler max-task-time 5000
end

4 Replies 4

paolo bevilacqua
Hall of Fame
Hall of Fame

DSL connections are meant to be permanent. Since it takse a relatively long time to re-establish a connection, it is not recommended that DSL connections are brought up and down just like that.

However if you really want to do something like that, you will need to write an EEM script, about which you can search and learn on cisco.com

Thanks Paolo for your answer .

Maybe i tested it, with the EEM script.

Nice greetings from Germany

macgoo18xx
Level 1
Level 1

Hello Paolo or other ,

i read your message once again. I think there is a mistake on my part.

I know that the DSL-signal permanent there, that’s OK too.

I mean, I start my browser and a connection will establish (WAN…to the internet).

Respectively I don’t use the browser or any program (..what internet used) , after 5 minute the internet connection should be closed.

I think this is a better described.

Thanks

Yes, answered above already.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card