ACL — time-range के साथ time-gated entries
- सुरक्षा
- मध्यम
- 12 मिनट
- 3 चरण
- Cisco IOS-style
Sun-Fri 08:00-18:00 UTC को cover करने वाला time-range BIZ-HOURS define करें। इसे ACL entry से reference करें जो केवल business hours में inbound HTTP को permit करे। Window के बाहर, entry को ऐसे treat किया जाता है मानो वह exist ही नहीं करता — implicit deny लागू होता है।
मुफ़्त · बिना इंस्टॉल · बिना अकाउंट
परिदृश्य
time-range NAME एक named window define करता है। ACEs time-range keyword के माध्यम से name reference करते हैं। Window के बाहर gated entry evaluation time पर skip हो जाती है। दो flavours: - periodic <day-spec> HH:MM to HH:MM — recurring weekly window। - absolute start <iso8601> end <iso8601> — दो time points के बीच one-shot window। Day specifiers: daily, weekdays, weekend, या monday|tuesday|wednesday|thursday|friday|saturday|sunday में से एक। Determinism note: evaluator simulator की logical clock (simTime) पढ़ता है, wall-clock नहीं। Lab YAML known weekday/time positions पर scenarios setup कर सकता है; tests deterministic simTime offsets उपयोग करते हैं। netverdict deviation: real Cisco की absolute clause start HH:MM dd MONTH yyyy syntax उपयोग करती है। netverdict इसके बजाय ISO-8601 उपयोग करता है — simpler grammar, same semantics।
टोपोलॉजी
1 × router · Cisco IOS-style
R1— router
आप क्या करेंगे
time-range BIZ-HOURSको periodic clause के साथ define करें:periodic weekdays 08:00 to 18:00.ip access-list extended WORK-WEBकोpermit tcp any any eq 80 time-range BIZ-HOURSके साथ define करें (HTTP केवल तब जब time-range active हो)।Gi0/0परWORK-WEBinbound लागू करें।
इस विषय पर और लैब
- ACL: एक होस्ट को ब्लॉक करेंशुरुआती · 10 मिनट
- ACL: named extended — proto + src + dstमध्यम · 12 मिनट
- Extended ACL — port range matchersमध्यम · 7 मिनट
object-group networkके साथ Extended ACLमध्यम · 10 मिनट
यह लैब अन्य भाषाओं में
ACL — time-gated entries with time-rangeACL — zeitgesteuerte Einträge mit time-rangeACL — entradas con tiempo controlado vía time-rangeACL — entradas controladas por tempo com time-rangeACL — entrées temporisées avec time-rangeACL — 使用 time-range 的时间门控表项ACL — entry temporizzate con time-rangeACL — time-range による時間ゲート付きエントリACL — time-range 로 시간 게이트된 엔트리ACL — записи с временным ограничением через time-rangeACL — time-range ile zaman kapılı entry'lerACL — các entry điều kiện thời gian với time-range