User Tools

Site Tools


hpe:switch:acl_over_interface_ip_vlan

ACL over interface IP VLAN.

–Script:

 acl number 3002

rule permit ip source 10.245.36.95 0 destination 10.245.44.0 0.0.0.127
rule permit ip source 10.245.38.50 0 destination 10.245.44.0 0.0.0.127
rule deny ip source 10.245.36.0 0.0.0.127 destination 10.245.44.0 0.0.0.255
rule deny ip source 10.245.32.0 0.0.0.255 destination 10.245.44.0 0.0.0.255
rule deny ip source 10.245.34.0 0.0.0.255 destination 10.245.44.0 0.0.0.255
rule deny ip source 10.245.38.0 0.0.0.255 destination 10.245.44.0 0.0.0.255
rule deny ip source 10.245.40.0 0.0.0.127 destination 10.245.44.0 0.0.0.255
rule deny ip source 10.245.42.0 0.0.0.255 destination 10.245.44.0 0.0.0.255
Int vlan 44
packet-filter 3002 outbound--

–Script to delete rules:

undo rule 0
undo rule 5
undo rule 10
undo rule 15
undo rule 20
undo rule 25
undo rule 30
undo rule 35
undo rule 40
undo rule 45
undo rule 50
undo rule 55
undo rule 60
undo rule 65
undo rule 70

Example:

config_sw_core-15022024-0804.zip


hpe/switch/acl_over_interface_ip_vlan.txt · Last modified: 2024/02/18 12:32 by aperez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki