|
43 | 43 | * [Console config commands](#console-config-commands)
|
44 | 44 | * [Console connect commands](#console-connect-commands)
|
45 | 45 | * [Console clear commands](#console-clear-commands)
|
| 46 | + * [DPU serial console utility](#dpu-serial-console-utility) |
46 | 47 | * [CMIS firmware upgrade](#cmis-firmware-upgrade)
|
47 | 48 | * [CMIS firmware version show commands](#cmis-firmware-version-show-commands)
|
48 | 49 | * [CMIS firmware upgrade commands](#cmis-firmware-upgrade-commands)
|
|
229 | 230 |
|
230 | 231 | | Version | Modification Date | Details |
|
231 | 232 | | --- | --- | --- |
|
| 233 | +| v9 | Sep-19-2024 | Add DPU serial console utility | |
232 | 234 | | v8 | Oct-09-2023 | Add CMIS firmware upgrade commands |
|
233 | 235 | | v7 | Jun-22-2023 | Add static DNS show and config commands |
|
234 | 236 | | v6 | May-06-2021 | Add SNMP show and config commands |
|
@@ -2825,7 +2827,7 @@ Optionally, you can display configured console ports only by specifying the `-b`
|
2825 | 2827 | 1 9600 Enabled - - switch1
|
2826 | 2828 | ```
|
2827 | 2829 |
|
2828 |
| -## Console config commands |
| 2830 | +### Console config commands |
2829 | 2831 |
|
2830 | 2832 | This sub-section explains the list of configuration options available for console management module.
|
2831 | 2833 |
|
@@ -3001,6 +3003,88 @@ Optionally, you can clear with a remote device name by specifying the `-d` or `-
|
3001 | 3003 |
|
3002 | 3004 | Go Back To [Beginning of the document](#) or [Beginning of this section](#console)
|
3003 | 3005 |
|
| 3006 | +### DPU serial console utility |
| 3007 | + |
| 3008 | +**dpu-tty.py** |
| 3009 | + |
| 3010 | +This command allows user to connect to a DPU serial console via TTY device with |
| 3011 | +interactive CLI program: picocom. The configuration is from platform.json. The |
| 3012 | +utility works only on smart switch that provides DPU UART connections through |
| 3013 | +/dev/ttyS* devices. |
| 3014 | + |
| 3015 | +- Usage: |
| 3016 | + ``` |
| 3017 | + dpu-tty.py (-n|--name) <DPU_NAME> [(-b|-baud) <BAUD_RATE>] [(-t|-tty) <TTY>] |
| 3018 | + ``` |
| 3019 | + |
| 3020 | +- Example: |
| 3021 | + ``` |
| 3022 | + root@MtFuji:/home/cisco# dpu-tty.py -n dpu0 |
| 3023 | + picocom v3.1 |
| 3024 | +
|
| 3025 | + port is : /dev/ttyS4 |
| 3026 | + flowcontrol : none |
| 3027 | + baudrate is : 115200 |
| 3028 | + parity is : none |
| 3029 | + databits are : 8 |
| 3030 | + stopbits are : 1 |
| 3031 | + escape is : C-a |
| 3032 | + local echo is : no |
| 3033 | + noinit is : no |
| 3034 | + noreset is : no |
| 3035 | + hangup is : no |
| 3036 | + nolock is : no |
| 3037 | + send_cmd is : sz -vv |
| 3038 | + receive_cmd is : rz -vv -E |
| 3039 | + imap is : |
| 3040 | + omap is : |
| 3041 | + emap is : crcrlf,delbs, |
| 3042 | + logfile is : none |
| 3043 | + initstring : none |
| 3044 | + exit_after is : not set |
| 3045 | + exit is : no |
| 3046 | +
|
| 3047 | + Type [C-a] [C-h] to see available commands |
| 3048 | + Terminal ready |
| 3049 | +
|
| 3050 | + sonic login: admin |
| 3051 | + Password: |
| 3052 | + Linux sonic 6.1.0-11-2-arm64 #1 SMP Debian 6.1.38-4 (2023-08-08) aarch64 |
| 3053 | + You are on |
| 3054 | + ____ ___ _ _ _ ____ |
| 3055 | + / ___| / _ \| \ | (_)/ ___| |
| 3056 | + \___ \| | | | \| | | | |
| 3057 | + ___) | |_| | |\ | | |___ |
| 3058 | + |____/ \___/|_| \_|_|\____| |
| 3059 | +
|
| 3060 | + -- Software for Open Networking in the Cloud -- |
| 3061 | +
|
| 3062 | + Unauthorized access and/or use are prohibited. |
| 3063 | + All access and/or use are subject to monitoring. |
| 3064 | +
|
| 3065 | + Help: https://sonic-net.github.io/SONiC/ |
| 3066 | +
|
| 3067 | + Last login: Mon Sep 9 21:39:44 UTC 2024 on ttyS0 |
| 3068 | + admin@sonic:~$ |
| 3069 | + Terminating... |
| 3070 | + Thanks for using picocom |
| 3071 | + root@MtFuji:/home/cisco# |
| 3072 | + ``` |
| 3073 | + |
| 3074 | +Optionally, user may overwrite baud rate for experiment. |
| 3075 | + |
| 3076 | +- Example: |
| 3077 | + ``` |
| 3078 | + root@MtFuji:/home/cisco# dpu-tty.py -n dpu1 -b 9600 |
| 3079 | + ``` |
| 3080 | + |
| 3081 | +Optionally, user may overwrite TTY device for experiment. |
| 3082 | + |
| 3083 | +- Example: |
| 3084 | + ``` |
| 3085 | + root@MtFuji:/home/cisco# dpu-tty.py -n dpu2 -t ttyS4 |
| 3086 | + ``` |
| 3087 | + |
3004 | 3088 | ## CMIS firmware upgrade
|
3005 | 3089 |
|
3006 | 3090 | ### CMIS firmware version show commands
|
|
0 commit comments