LSW5:
[HX]acl 3000
[HX-acl-adv-3000]rule 5 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.30.0 0.0.0.255
[HX-acl-adv-3000]rule 10 deny ip source 192.168.20.0 0.0.0.255 destination 192.168.30.0 0.0.0.255
[HX]in g0/0/1
[HX-GigabitEthernet0/0/1]traffic-filter inbound acl 3000
对于PC2与PC4之间没有配置访问控制。默认放行。
dis this 查看接口信息