Fortinet white logo
Fortinet white logo

Handbook

6.0.0

Disabling a session helper

Disabling a session helper

In some cases you may need to disable a session helper. Disabling a session helper just means removing it from the session-helper list so that the session helper is not listening on a port. You can completely disable a session helper by deleting all of its entries from the session helper list. If there are multiple entries for a session helper on the list you can delete one of the entries to prevent the session helper from listening on that port.

To disable the mgcp session helper from listening on UDP port 2427
  1. Enter the following command to find the mgcp session helper entry that listens on UDP port 2427:
  2. show system session-helper

    .

    .

    .

    edit 19

    set name mgcp

    set port 2427

    set protocol 17

    next

    .

    .

    .

  3. Enter the following command to delete session-helper list entry number 19 to disable the mgcp session helper from listening on UDP port 2427:
  4. config system session-helper

    delete 19

By default the mgcp session helper listens on UDP ports 2427 and 2727. The previous procedure shows how to disable the mgcp protocol from listening on port 2427. The following procedure completely disables the mgcp session helper by also disabling it from listening on UDP port 2727.

To completely disable the mgcp session helper
  1. Enter the following command to find the mgcp session helper entry that listens on UDP port 2727:
  2. show system session-helper

    .

    .

    .

    edit 20

    set name mgcp

    set port 2727

    set protocol 17

    next

    .

    .

    .

  3. Enter the following command to delete session-helper list entry number 20 to disable the mgcp session helper from listening on UDP port 2727:
  4. config system session-helper

    delete 20

Disabling a session helper

Disabling a session helper

In some cases you may need to disable a session helper. Disabling a session helper just means removing it from the session-helper list so that the session helper is not listening on a port. You can completely disable a session helper by deleting all of its entries from the session helper list. If there are multiple entries for a session helper on the list you can delete one of the entries to prevent the session helper from listening on that port.

To disable the mgcp session helper from listening on UDP port 2427
  1. Enter the following command to find the mgcp session helper entry that listens on UDP port 2427:
  2. show system session-helper

    .

    .

    .

    edit 19

    set name mgcp

    set port 2427

    set protocol 17

    next

    .

    .

    .

  3. Enter the following command to delete session-helper list entry number 19 to disable the mgcp session helper from listening on UDP port 2427:
  4. config system session-helper

    delete 19

By default the mgcp session helper listens on UDP ports 2427 and 2727. The previous procedure shows how to disable the mgcp protocol from listening on port 2427. The following procedure completely disables the mgcp session helper by also disabling it from listening on UDP port 2727.

To completely disable the mgcp session helper
  1. Enter the following command to find the mgcp session helper entry that listens on UDP port 2727:
  2. show system session-helper

    .

    .

    .

    edit 20

    set name mgcp

    set port 2727

    set protocol 17

    next

    .

    .

    .

  3. Enter the following command to delete session-helper list entry number 20 to disable the mgcp session helper from listening on UDP port 2727:
  4. config system session-helper

    delete 20