软考网络工程师配置(三)

华为配置专题

(四)ACL原理

1.ACL组成

2.规则编号

每个相邻规则编号之间的差值,缺省值为5

3.通配符

4.ACL分类

(五)ACL配置

1.如图,公司为保证财务数据安全,禁止研发部门访问财务服务器,但总裁办公司不受限制

2.配置路由器

system-view //进入系统

sysname Router //重命名

interface gigabitethernet 0/0/0 //进入接口

ip address 192.168.1.254 24  //设置网关

quit

interface gigabitethernet 0/0/1

ip address 192.168.2.254 24

quit

interface ethernet 4/0/0

ip address 192.168.3.254 24

quit

3.配置模拟互联网的路由

system -view

interfce gigabitethernet 0/0/0

ip address 1.1.1.1 24

quit

 4.在Router上配置ACL

acl 3000  //创建高级ACL

//拒绝研发部访问财务部

rule 10 deny ip source 192.168.1.1  0.0.0.255 destination 192.168.3.100 0 

//允许总裁访问财务部

rule 20 permit ip source 192.168.2.1 0.0.0.255 destinaion 192.168.3.100 0 

rule 30 deny ip source any destination 192.168.3.100 0  //拒绝其他ip访问财务部

quit

//在接口出的方向配置流量过滤

interface ethernet 4/0/0  

traffice-filter outbound acl 3000

quit

(密码的,学不完了) 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值