Example net-service tcp-service tcp 100
net-destination src-ip
host 10.120.0.1
host 10.91.1.1
host 10.0.100.12
net-destination destn-ip
host 16.90.51.12
host 10.93.24.1
net-service tcp-service tcp 100
ip access-list extended “acl1”
permit alias src-ip alias destn-ip alias tcp-service
Net-destination overview
The use of net-destination and net-service helps reduce effort required to configure ACL rules.
Net-destination is a list of hosts, networks, or subnets that are used to configure an ACL rules.
There are two types of ACLs supported and configured on the switch:
• Standard
• Extended
Standard
The standard ACL can have an IP source or network in the ACE. Defining the alias-based ACE for standard ACL,
only use an alias of net-destination for the source.
Example - standard
net-destination src-ip
host 10.120.0.1
host 10.91.1.1
host 10.0.100.12
net-destination destn-ip
host 16.90.51.12
host 10.93.24.1
net-service tcp-service tcp 100
ip access-list extended “acl1”
permit alias src-ip alias destn-ip
alias tcp-service
Extended
The extended ACL can have both source IP, destination IP and port number along with protocol in its ACE.
Defining an alias-based ACE for an extended ACL can use an alias of net-destination for the source and
destination and an alias of net-service for the protocol and destination port. Alias-based ACE will not support
access-control based on source port which is a limitation of the net-service command. The use of net-service will
also restrict the operators that can be specified for port number to equalsand range.
Example - extended
HP-Switch-5406Rzl2(config)# ip access-list extended aext1
HP-Switch-5406Rzl2(config-ext-nacl)#
456 Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05