Skip to content

user-protocol

The following operations can be performed on "user-protocol":

add| rm| set| unset| show|

add user protocol

Add the user protocol Example: add user protocol MQTT -transporttype TCP -extension mqtt_logic

Synopsis

add user protocol <name> -transport ( TCP | SSL ) -extension <string> [-comment <string>]

Arguments

name

Unique name for the user protocol. Not case sensitive. Must begin with an ASCII letter or underscore (_) character, and must consist only of ASCII alphanumeric or underscore characters.

transport

Transport layer's protocol.

Possible values: TCP, SSL

extension

Name of the extension to add parsing and runtime handling of the protocol packets.

comment

Any comments associated with the protocol.

rm user protocol

Removes an user protocol.

Synopsis

rm user protocol <name>

Arguments

name

Unique name for the user protocol. Not case sensitive. Must begin with an ASCII letter or underscore (_) character, and must consist only of ASCII alphanumeric or underscore characters.

set user protocol

Modifies the specified parameters of an user protocol.

Synopsis

set user protocol <name> -comment <string>

Arguments

name

Unique name for the user protocol. Not case sensitive. Must begin with an ASCII letter or underscore (_) character, and must consist only of ASCII alphanumeric or underscore characters.

comment

Any comments associated with the protocol.

unset user protocol

Use this command to remove user protocol settings.Refer to the set user protocol command for meanings of the arguments.

Synopsis

unset user protocol <name> -comment

show user protocol

Displays information about the available user protocols.

Synopsis

show user protocol [<name>]

Arguments

name

Unique name for the user protocol. Not case sensitive. Must begin with an ASCII letter or underscore (_) character, and must consist only of ASCII alphanumeric or underscore characters.

Output

transport

Transport layer's protocol.

extension

Name of the extension to add parsing and runtime handling of the protocol packets.

comment

Any comments associated with the protocol.

stateflag

devno

count

Was this article helpful?