Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

show real port number

vigyu
Altocumulus
Altocumulus

Hello!

I would like to see the real port numbers in tmsh with list security firewall policy command.

        ports {

          facsys-ntp {

            app-service none

            description none

          }

facsys-ntp service name means 2514 port number.

1 ACCEPTED SOLUTION

JRahm
Community Manager
Community Manager

Hi @vigyu and @PeteWhite, this can be done by setting the cli global settings service to number:

 

tmsh modify cli global-settings service number

 

View solution in original post

4 REPLIES 4

PeteWhite
F5 Employee
F5 Employee

From Bash prompt:

grep facsys-ntp /etc/services

This is used to change port numbers to names.

JRahm
Community Manager
Community Manager

Hi @vigyu and @PeteWhite, this can be done by setting the cli global settings service to number:

 

tmsh modify cli global-settings service number

 

Thanks @JRahm Every day's a school day!

JRahm
Community Manager
Community Manager

it is indeed!