Command Line Reference
DCB Configuration
PFC Watch Dog
9 min
pfcwd view pfcwd view table 1 pfcwd view table 1 pfcwd view command purpose show pfcwd configuration display pfcwd configuration information show pfcwd stats display pfcwd statistics information show pfcwd configuration show pfcwd configuration \[command] show pfcwd configuration \[purpose] display pfcwd configuration information \[view] privileged user view \[use cases] sonic# show pfcwd configuration port action detection time restoration time \ show pfcwd stats show pfcwd stats \[command] show pfcwd configuration \[purpose] display pfcwd statistics information \[view] privileged user view \[use cases] sonic# show pfcwd stats queue status storm detected/restored tx ok/drop rx ok/drop tx last ok/drop rx last ok/drop \ pfcwd config pfcwd config table 2 pfcwd config table 2 pfcwd config command purpose pfcwd enable { all | interface name } detection time d time \[ action pfcwd action | restoration time r time ] enable pfcwd pfcwd counter poll enable pfcwd counter polling pfcwd interval poll interval set the pfcwd polling interval pfcwd start default start pfc wd by default configurations pfcwd enable {all| pfcwd enable {all| interface name } detection time d time \[action pfcwd action | restoration time r time ] \[command] pfcwd enable { all | interface name } detection time d time \[ action pfcwd action | restoration time r time ] \[purpose] enable pfcwd \[parameters] parameter description all applies to all interfaces interface name specify the interface, for example 0/0 d time detection time, range is \[100,5000] pfcwd action action after detection of pfc pause storms, optional parameters are drop , forward , alert r time recovery time, range is \[100,60000] \[view] global configuration view \[notes] run command pfcwd disable { all | interface name } to disable pfcwd \[use cases] sonic# configure sonic(config)# pfcwd enable all detection time 100 action drop restoration time 400 pfcwd counter poll pfcwd counter poll \[command] pfcwd counter poll \[purpose] enable pfcwd counter polling \[view] global configuration view \[notes] run command no pfcwd counter poll to disable pfcwd counter polling \[use cases] sonic# configure sonic(config)# pfcwd counter poll pfcwd interval pfcwd interval poll interval \[command] pfcwd interval poll interval \[purpose] set the pfcwd polling interval \[parameters] parameter description poll interval polling interval in ms, range \[100,3000] \[view] global configuration view \[use cases] sonic# configure sonic(config)# pfcwd interval 100 pfcwd start default pfcwd start default \[command] pfcwd counter poll \[purpose] start pfc wd by default configurations \[view] global configuration view \[use cases] sonic# configure sonic(config)# pfcwd start default
