
C613-50186-01 Rev B
Command Reference for AR2050V
2620
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
A
PPLICATION
AND
E
NTITY
C
OMMANDS
DPORT
dport
Overview
Use this command to specify a destination port or port range for an application.
A port number is part of the addressing information used to identify a specific
process to which a network message is to be forwarded between a sender and a
receiver. For the full list of port numbers and their assignment, you can visit the
Internet Assigned Numbers Authority (IANA) Web site:
www.iana.org
.
Use the
no
variant of this command to delete a port or a port range from an
application. Note that
NOTE
:
The port or port range that you want to delete must match exactly the existing port
or port range. You cannot remove a port range that is part of an existing port
range.
Syntax
dport {<
destination-port
>|any|<
start-range
> to <
end-range
>}
no dport {<
destination-port
>|any|<
start-range
> to <
end-range
>}
Mode
Application Mode
Usage
You can create more than one destination port number or port range for an
application.
Examples
To specify destination port
13
for application
openVPN
, use the commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
dport 13
To specify destination port
15
and port ranges for application
openVPN
, use the
commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
dport 15
awplus(config-application)#
dport 30 to 37
awplus(config-application)#
dport 50 to max
Parameter
Description
<
destination-port
>
The destination port number, either TCP or UDP, specified
as an integer in the range <1-65535>.
any
Any port number in the range <1-65535>. This equals to a
range of 1 to 65535.
<
start-range
>
Starting port number in the range <1-65535>.
to <
end-range
>
Ending port number in the range <1-65535> or max.