sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

Default value of global passkey in TACACS and RADIUS to be removed in show command output

Open saravanan-i opened this issue 2 years ago • 0 comments

What I did

Removed the displaying of default passkey in TACACS and RADIUS

How I did it

As there is no default value for global passkey (in TACACS and RADIUS), displaying the passkey as "EMPTY_STRING" is misleading. Hence removed them from show command output.

How to verify it

Execute show tacacs/show radius commands

Previous command output (if the output of a command-line utility has changed)

admin@sonic:~$ show radius

RADIUS global auth_type pap (default)
RADIUS global retransmit 3 (default)
RADIUS global timeout 5 (default)
RADIUS global passkey <EMPTY_STRING> (default)

admin@sonic:~$ show tacacs
TACPLUS global auth_type pap (default)
TACPLUS global timeout 5 (default)
TACPLUS global passkey <EMPTY_STRING> (default)

New command output (if the output of a command-line utility has changed)

RADIUS global auth_type pap (default)
RADIUS global retransmit 3 (default)
RADIUS global timeout 5 (default)

admin@sonic:~$ show tacacs
TACPLUS global auth_type pap (default)
TACPLUS global timeout 5 (default)

saravanan-i avatar Nov 16 '23 06:11 saravanan-i