NB! It seems this console command is not compatible with CS2.
Command Profile

CL_BOBUP

CS:GO

Adjusts how much your viewmodel & weapon bobs up when running.

Syntax
cl_bobup [Value]

Description

Adjusts how much your viewmodel & weapon bobs up when running.

Syntax And Arguments

cl_bobup [Value]
Value The value attached to your viewmodel bobbing up and down. The default is set at 0.5.