
C613-50186-01 Rev B
Command Reference for AR2050V
2640
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
A
PPLICATION
AND
E
NTITY
C
OMMANDS
PROTOCOL
protocol
Overview
Use this command to specify a protocol used by an application.
Protocol numbers are used to configure firewalls, routers, and proxy servers. The
protocol number is in the protocol field of the IPv4 header and the next header
field of IPv6 header. For the full list of the IP Protocol assignments, you can visit the
Internet Assigned Numbers Authority (IANA) Web site:
www.iana.org
.
Use the
no
variant of this command to unset the protocol in an application.
Syntax
protocol {tcp|udp|icmp|ipv6-icmp|<
protocol-number
>}
no protocol
Mode
Application Mode
Usage
You can specify only one protocol for an application. The newly specified protocol
will replace the previous one.
Examples
To specify protocol
tcp
for application
openVPN
, use the commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
protocol tcp
To specify protocol
udp
for application
openVPN
, use the commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
protocol udp
To specify protocol
icmp
for application
openVPN
, use the commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
protocol icmp
Parameter
Description
tcp
Transmission Control Protocol. The protocol number is 6.
udp
User Datagram Protocol. The protocol number is 17.
icmp
Internet Control Message Protocol for Internet Protocol
version 4. The protocol number is 1.
ipv6-icmp
Internet Control Message Protocol for Internet Protocol
version 6. The protocol number is 58.
<
protocol-number
>
Protocol number in the range of 0 to 255.