zvv8l,acl配置
1676175185,
组网及组网描述:
怎样配置上图要求?
2
参考下面配置:
1. 组网需求
· 某公司内的各部门之间通过Device实现互连,该公司的工作时间为每周工作日的8点到18点。
· 通过配置,允许总裁办在任意时间、财务部在工作时间访问财务数据库服务器,禁止其它部门在任何时间、财务部在非工作时间访问该服务器。
2. 组网图
图1-1 ACL典型配置组网图
3. 配置步骤
# 创建名为work的时间段,其时间范围为每周工作日的8点到18点。
<Device> system-view
[Device] time-range work
# 创建IPv4高级ACL 3
[Device] ACL advanced 3
[Device-acl-ipv4-adv-3
[Device-acl-ipv4-adv-3
[Device-acl-ipv4-adv-3
[Device-acl-ipv4-adv-3
# 应用IPv4高级ACL 3
[Device] interface gigabitethernet 1/
[Device-GigabitEthernet1/
[Device-GigabitEthernet1/
2
考试题?
firewall enable
time-range web
acl number 3
rule
最后接口下发firewall就可以了
2,acl配置