华为ensp关于server配置http服务(学习记录)

图纸

配置命令

RA
sy
int g0/0/0 
ip add 192.168.18.2 24     
q
int g0/0/1
ip add 192.168.28.2 24    
q
int g0/0/2
ip add 192.168.38.2 24   
q

dhcp enable
int g0/0/1
dhcp select interface
dhcp server dns-list 192.168.28.2
dhcp server excluded-ip-address 192.168.28.2
q
acl 3000
rule 5 deny tcp source 192.168.38.0 0.0.0.255 destination 192.168.18.10 0.0.0.0  destination-port eq 80
int g0/0/2
traffic-filter  outbound acl 3000
q
aaa
local-user lhg password cipher admin
local-user lhg service-type ssh
local-user lhg privilege level 3
q
user-interface console 0
authentication-mode password
set authentication password cipher admin


 

客户机连接,显示失败,网络是连通的,忘记开www服务了.....

 关于inbound和outbound的使用方法,参考

交换机调用ACL时候的inbound和outbound该怎么用?_acl outbound-CSDN博客

应该是源地址进入哪个接口就用inbound,出去哪个接口就用outbound

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值