cisco2621 rate-limit
Current configuration : 2120 bytes !version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$6dr8$ZGFkAc5mm/l7sXBFZIAGD/
!
ip subnet-zero
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
class-map match-all cisco
match access-group 100
!
!
policy-map cisco
class cisco
police cir 100000 bc 20000
conform-action transmit
exceed-action drop
class> !
voice call carrier capacity active
!!
mta receive maximum-recipients 0
!
interface FastEthernet0/0
ip address 192.168.0.101 255.255.255.0
ip access-group 110 in
service-police output cisco
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp chap hostname *center
ppp chap password 0 apache
ppp pap sent-username *center password 0 apache
!
ip nat inside source list 1 interface Dialer1 overload
ip> ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
access-list 1 permit any
access-list 100 permit ip any host 192.168.0.156
access-list 110 permit ip host 192.168.0.37 any
access-list 110 permit ip host 192.168.0.56 any
access-list 110 permit ip host 192.168.0.96 any
access-list 110 permit ip host 192.168.0.88 any
access-list 110 permit ip host 192.168.0.156 any
access-list 110 permit ip host 192.168.0.168 any
access-list 110 permit ip host 192.168.0.188 any
access-list 110 permit ip host 192.168.0.166 any
access-list 110 permit ip host 192.168.0.74 any
access-list 110 permit tcp 192.168.0.0 0.0.0.255 any eq www
access-list 110 permit tcp 192.168.0.0 0.0.0.255 any eq smtp
access-list 110 permit tcp 192.168.0.0 0.0.0.255 any eq pop3
access-list 110 permit udp 192.168.0.0 0.0.0.255 any eq domain
dialer-list 1 protocol ip permit
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
password windows
login
!
end
页:
[1]