| 场景 | 整网段流量管控 |
|---|---|
| 适用 | 三层交换机 |
| 接口名 | 华为 Vlanif10;思科 interface Vlan10;H3C Vlan-interface10 |
华为 VRP
华为 VRP
acl number 3000
rule 5 permit tcp source 192.168.10.0 0.0.0.255 destination-port eq 443
rule 10 deny ip
interface Vlanif10
traffic-filter inbound acl 3000思科 IOS
思科 IOS
interface Vlan10
ip access-group 100 in
!
ip access-list extended 100
permit tcp 192.168.10.0 0.0.0.255 any eq 443
deny ip any anyH3C Comware
H3C Comware
acl advanced 3000
rule 5 permit tcp source 192.168.10.0 0.0.0.255 destination-port eq 443
rule 10 deny ip
interface Vlan-interface10
packet-filter 3000 inbound差异:华为的 Vlanif 与 H3C 的 Vlan-interface 会随 VLAN 创建自动生成;思科必须先有 VLAN 10 才能建 interface Vlan10。