CISCO 基于时间访问控制
2015-11-20 10:53
316 查看
最近公司抽风式要求食堂二楼安装无线AP仅供员工午休时间使用,在网上参阅很多,找到以下方法。目的:只允许3.3.3.2中午12:00-13:00网络开放,其他时间关闭,以及其他IP地址互联网正常。以下拓扑图:
conf tinterface FastEthernet1/0
ip address 1.1.1.1 255.255.255.0 ip access-group net_list1 inno shut interface FastEthernet2/0 ip address 2.2.2.1 255.255.255.0no shutinterface FastEthernet3/0
ip address 3.3.3.1 255.255.255.0 no shut======================================================conf ttime-range time1 absolute start 08:00 01 January 2006 end 17:00 30 December 2014 periodic daily 00:00 to 12:00 periodic daily 13:00 to 17:00exit
ip access-list extended net_list1 deny ip any host 3.3.3.2 time-range time1 permit ip any any==============================================
测试:ip:3.3.3.2 中午12:00-13:00可以访问互联网,其他时间关闭。ping 1.1.1.1 收藏于 2014-03-25
来自于百度空间
本文出自 “往事如烟” 博客,请务必保留此出处http://aluna.blog.51cto.com/464007/1714936
conf tinterface FastEthernet1/0
ip address 1.1.1.1 255.255.255.0 ip access-group net_list1 inno shut interface FastEthernet2/0 ip address 2.2.2.1 255.255.255.0no shutinterface FastEthernet3/0
ip address 3.3.3.1 255.255.255.0 no shut======================================================conf ttime-range time1 absolute start 08:00 01 January 2006 end 17:00 30 December 2014 periodic daily 00:00 to 12:00 periodic daily 13:00 to 17:00exit
ip access-list extended net_list1 deny ip any host 3.3.3.2 time-range time1 permit ip any any==============================================
测试:ip:3.3.3.2 中午12:00-13:00可以访问互联网,其他时间关闭。ping 1.1.1.1 收藏于 2014-03-25
来自于百度空间
本文出自 “往事如烟” 博客,请务必保留此出处http://aluna.blog.51cto.com/464007/1714936
相关文章推荐
- Swift 2.0 学习第1天:常量和变量, 数据类型,字符和字符串
- html
- UIViewContentMode各模式的含义和效果
- 安装MAC10.9VMWARE虚拟机
- [sharepoint]文档库,文件夹授权
- AWK只打印某个域后的所有域
- dedecms创建或修改目录失败
- annex-b格式
- Unix网络编程——简介
- 网站的访问过程
- python 3.x 163邮箱登陆,邮件读取
- Linux----硬连接和软连接
- JavaFX学习路径
- MySQL数据库表锁定的几种方法实现
- 轮训播放
- 五种查找算法总结
- 自定义View中画布相关类及画布测量坐标系。
- 自己写自己的java.lang.Object会怎么样?
- STM32之ADC
- 实现远程实时通信 Html5:Canvas+WebSocket