networkingPorts

Last Updated : Jun 21, 2023 |
This API is used to set the range for AES networking ports, and enable or disable them.
Prolog information
Syntax
networkingPorts cvlan -uact [action] -eact [action] -e [portno]*
networkingPorts tsapi -uact [action] -eact [action] -umin [portno]* -umax [portno]* -emin [portno]* -emax [portno]*
networkingPorts dmcc -uact [action] -u [portno]* -eact [action] -e [portno]* -tact [action] -tr87 [portno]*
networkingPorts h323 -tmin [portno] -lumin [portno] -lumax [portno] -smact [action] -rlumin [portno]* -rlumax [portno]*
networkingPorts sms -min [portno] -max [portno]
For example, networkingPorts cvlan -eact enabled -e 9990
where:
Argument
Sub-argument
Description
action
-
Allowed values are
  • .
  • portno
    -
    Can have values between 1024 and 65535.
    (*)
    -
    Indicates that the editing of port value is permitted only if action before it is “enabled”.
    cvlan
    -uact
    Unencrypted port action.
    -eact
    Encrypted port action.
    -e
    Encrypted port number.
    tsapi
    -uact
    Unencrypted port action.
    -eact
    Encrypted port action.
    -umin
    Unencrypted TLINK port no. minimum value.
    -umax
    Unencrypted TLINK port no. maximum value.
    -emin
    Encrypted TLINK port no. minimum value.
    -emax
    Encrypted TLINK port no. maximum value.
    dmcc
    -uact
    Unencrypted port action.
    -u
    Unencrypted port number.
    -eact
    Encrypted port action.
    -e
    Encrypted port number.
    -tact
    Tr87 port action.
    -tr87
    Tr87 port number.
    h323
    -tmin
    TCP minimum port number.
    -lumin
    TCP maximum port number.
    -lumax
    Local UDP minimum port number.
    -smact
    Local UDP maximum port number.
    -rlumin
    RTP local UDP minimum port number.
    -rlumax
    RTP local UDP maximum port number.
    sms
    -max
    Minimum proxy port number.
    -min
    Maximum proxy port number.
    Return codes:
    Return code
    Description
    4
    Port number or port range value should be between 1024 and 65535.
    5
    The action value is invalid. It should be enabled or disabled.
    6
    To change port value the respective action should be enabled.
    7
    Exception occurred while trying to save SMS proxy ports to the configuration file. Either the file could not be found or you do not have write permissions. SMS changes have not been saved.
    For return code 7, all other values except SMS are saved successfully. For debugging purposes, please check and confirm for the below value.
    ll /etc/sms.ini
    lrwxrwxrwx 1 root 25 Mar 13 12:00 /etc/sms.ini -> /opt/mvap/web/sms/saw.ini