交换机是V5版本的
acl number 3998
rule 0 deny tcp destination-port eq 135
rule 5 deny tcp destination-port eq 137
rule 10 deny tcp destination-port eq 138
rule 15 deny tcp destination-port eq 139
rule 20 deny tcp destination-port eq 445
rule 25 permit ip
quit
interface Vlan-interface1
packet-filter 3998 inbound
packet-filter 3998 outbound
interface Vlan-interface2
packet-filter 3998 inbound
packet-filter 3998 outbound
interface Vlan-interface3
packet-filter 3998 inbound
packet-filter 3998 outbound
在每一个VLNA接口中执行。
交换机是V7版本的
acl advanced 3998
rule 0 deny tcp destination-port eq 135
rule 5 deny tcp destination-port eq 137
rule 10 deny tcp destination-port eq 138
rule 15 deny tcp destination-port eq 139
rule 20 deny tcp destination-port eq 445
rule 25 permit ip
quit
interface Vlan-interface1
packet-filter 3998 inbound
packet-filter 3998 outbound
interface Vlan-interface2
packet-filter 3998 inbound
packet-filter 3998 outbound
interface Vlan-interface3
packet-filter 3998 inbound
packet-filter 3998 outbound
在每一个VLNA接口中执行。