PSCAN
Control uKernel port scanning.
- PSCAN
Control port scanning (“pscan”) done by an application on the switch’s embedded microcontrollers, as opposed to the SDK’s own
LINKscan.Sub-commands are case-sensitive, must be typed in full in lower case, and need exactly the arguments shown; anything else prints the usage.
<port>is a port number, not a port name. Numbers may be decimal or0xhex. With no argument the command prints the usage. On a chip without microcontroller support the command fails without a message.On a SONiC Trident 3 switch the microcontroller runs the LED and linkscan firmware, not a pscan application, so these commands may simply fail.
Every sub-command changes the state of the microcontroller application. It is not useful under SONiC; avoid it on a production switch.
Unvalidated
drivshell> pscan init- PSCAN init
Initialise the pscan application.
Unvalidated
drivshell> pscan init
- PSCAN delay <usec>
Set the scan delay in microseconds.
Unvalidated
drivshell> pscan delay 10000
- PSCAN enable <port>
Start scanning one port.
Unvalidated
drivshell> pscan enable 1
- PSCAN disable <port>
Stop scanning one port.
Unvalidated
drivshell> pscan disable 1
- PSCAN config <port> <flags>
Set the flags of one port.
Unvalidated
drivshell> pscan config 1 0x1
- PSCAN update
Ask the application to apply the configuration.
Unvalidated
drivshell> pscan update
Built-in help
Parameters: Control the pscan on the Uc. init delay <usec> enable <port> disable <port> config <port> <flags> update