您好,登錄后才能下訂單哦!
最近公司抽風(fēng)式要求食堂二樓安裝無線AP僅供員工午休時間使用,在網(wǎng)上參閱很多,找到以下方法。
目的:只允許3.3.3.2中午12:00-13:00網(wǎng)絡(luò)開放,其他時間關(guān)閉,以及其他IP地址互聯(lián)網(wǎng)正常。
以下拓撲圖:
conf t
interface FastEthernet1/0
ip address 1.1.1.1 255.255.255.0
ip access-group net_list1 in
no shut
interface FastEthernet2/0
ip address 2.2.2.1 255.255.255.0
no shut
interface FastEthernet3/0
ip address 3.3.3.1 255.255.255.0
no shut
======================================================
conf t
time-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:00
exit
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可以訪問互聯(lián)網(wǎng),其他時間關(guān)閉。
ping 1.1.1.1
收藏于 2014-03-25
來自于百度空間
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。