图纸

配置命令

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

更多推荐