思科访时间问控制列表
答案:1 悬赏:10 手机版
解决时间 2021-03-27 14:43
- 提问者网友:锁深秋
- 2021-03-26 15:22
思科访时间问控制列表
最佳答案
- 五星知识达人网友:七十二街
- 2021-03-26 16:10
这个是以前自己做实验玩的,你看下改改看。
每天21.30-21.32断网
Building configuration...
Current configuration : 2006 bytes
!
! Last configuration change at 21:31:04 utc Thu Mar 27 2014
version 15.1
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2811
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
clock timezone utc 8 0
!
dot11 syslog
ip source-route
!
!
ip cef
!
ip dhcp pool 1
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
dns-server 202.96.209.5
!
!
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811C/K9 sn FGL1606110Q
username abc privilege 15 secret 4 qM6puirkevBudHfroS/8yhDoFW6udYDCsiVHsUWc5zU
!
redundancy
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.0.253 255.255.255.0
ip access-group 101 out
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
ip access-group 101 in
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface FastEthernet0/1 overload
ip nat inside source list 100 interface FastEthernet0/0 overload
ip nat inside source static tcp 192.168.100.1 23 192.168.0.253 23 extendable
ip nat inside source static tcp 192.168.100.253 23 192.168.0.253 24 extendable
ip nat inside source static tcp 192.168.100.253 23 192.168.0.253 26 extendable
ip nat inside source static tcp 192.168.100.253 23 192.168.0.253 27 extendable
ip route 0.0.0.0 0.0.0.0 192.168.0.1
ip route 10.10.0.0 255.255.0.0 192.168.100.253
!
access-list 100 permit ip any any
access-list 101 deny ip any any time-range 123
access-list 101 permit ip any any
!
!
!
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input all
!
scheduler allocate 20000 1000
time-range 123
periodic daily 21:30 to 21:32
!
end
每天21.30-21.32断网
Building configuration...
Current configuration : 2006 bytes
!
! Last configuration change at 21:31:04 utc Thu Mar 27 2014
version 15.1
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2811
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
clock timezone utc 8 0
!
dot11 syslog
ip source-route
!
!
ip cef
!
ip dhcp pool 1
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
dns-server 202.96.209.5
!
!
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811C/K9 sn FGL1606110Q
username abc privilege 15 secret 4 qM6puirkevBudHfroS/8yhDoFW6udYDCsiVHsUWc5zU
!
redundancy
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.0.253 255.255.255.0
ip access-group 101 out
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
ip access-group 101 in
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface FastEthernet0/1 overload
ip nat inside source list 100 interface FastEthernet0/0 overload
ip nat inside source static tcp 192.168.100.1 23 192.168.0.253 23 extendable
ip nat inside source static tcp 192.168.100.253 23 192.168.0.253 24 extendable
ip nat inside source static tcp 192.168.100.253 23 192.168.0.253 26 extendable
ip nat inside source static tcp 192.168.100.253 23 192.168.0.253 27 extendable
ip route 0.0.0.0 0.0.0.0 192.168.0.1
ip route 10.10.0.0 255.255.0.0 192.168.100.253
!
access-list 100 permit ip any any
access-list 101 deny ip any any time-range 123
access-list 101 permit ip any any
!
!
!
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input all
!
scheduler allocate 20000 1000
time-range 123
periodic daily 21:30 to 21:32
!
end
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯