Reference Guide

Table Of Contents
Dell PowerConnect ArubaOS 6.0 Command Line Interface | Reference Guide netdestination | 342
netdestination
netdestination <name>
host <ipaddr> [position <number>]
invert
network <ipaddr> <netmask> [position <number>]
no ...
range <start-ipaddr> <end-ipaddr> [position <number>]
Description
This command configures an alias for a network host, subnetwork, or range of addresses.
Syntax
Usage Guidelines
Aliases can simplify configuration of session ACLs, as you can use an alias when specifying the traffic source and/
or destination. Once you configure an alias, you can use it in multiple session ACLs.
When using the invert option, use caution when defining multiple aliases, as entries are processed one at a time.
As an example, consider a netdestination configured with the following two network hosts:
netdestination dest1 invert
network 1.0.0.0 255.0.0.0
network 2.0.0.0 255.0.0.0
A frame from http://1.0.0.1 would match the first alias entry, (which allows everything except for 1.0.0.0/8) so the
frame would be rejected. However, it would then be compared against the second alias, which allows everything
except for 2.0.0.0/8, and the frame would be permitted.
Example
The following command configures an alias for an internal network:
(host) (config) #netdestination Internal
network 10.1.0.0 255.255.0.0
Command History
This command was introduced in ArubaOS 3.0.
Parameter Description Default
<name> Name for this alias.
host Configure a single host
invert Specifies that the inverse of the network addresses configured are used. For example, if a
network of 172.16.0.0 255.255.0.0 is configured, this parameter specifies that the alias matches
everything except this subnetwork.
network An IP subnetwork consisting of an IP address and netmask.
no Negates any configured parameter.
position Specifies the position of this network specification relative to other specifications (1 is first,
default is the last position). To view current position settings for network destinations, use the
command show netdestination network.
(last)
range A range of IP addresses consisting of sequential addresses between a lower and an upper
value. The maximum number of addresses in the range is 16. If larger ranges are needed,
convert the range into a subnetwork and use the network parameter.