CLI Configuration
This chapter describes the different ways to configure PicOS and demonstrates the CLI configuration.
There are 2 CLI's used to configure PicOS:
- The Linux CLI
- The PicOS CLI
The Linux CLI is a standard debian based bash shell.
A good Bash tutorial can be found at this address:
http://www.tldp.org/LDP/Bash-Beginners-Guide/html/
PicOS added some commands to the standard Bash shell:
Version - This is to provide the PicOS version running on the switch
admin@XorPlus:~$ version Copyright (C) 2009-2022 Pica8, Inc. =================================== Hardware Model : N3248PXE-ON Linux System Version/Revision : 2.5/17907 Linux System Released Date : 10/14/2021 L2/L3 Version/Revision : 2.5/17907 L2/L3 Released Date : 10/14/2021 OVS/OF Version/Revision : 2.5/17907 OVS/OF Released Date : 10/14/2021
cli - command to move to the PicOS command or launch PicOS CLI commands from the Linux shell.
admin@XorPlus$cli Synchronizing configuration...OK. Welcome to PicOS L2/L3 on XorPlus admin@XorPlus>
In the above example, the cli command is used to move to the PicOS CLI.
admin@XorPlus$cli -c "show version" Synchronizing configuration...OK. Welcome to PicOS L2/L3 on XorPlus admin@XorPlus> Execute command: show version . Copyright (C) 2009-2022 Pica8, Inc. =================================== Hardware Model : N3248PXE-ON Linux System Version/Revision : 2.5/17907 Linux System Released Date : 10/14/2021 L2/L3 Version/Revision : 2.5/17907 L2/L3 Released Date : 10/14/2021 OVS/OF Version/Revision : 2.5/17907 OVS/OF Released Date : 10/14/2021
In the command above, the cli command is used to launch commands of the PicOS CLI from the Linux shell.
Copyright © 2024 Pica8 Inc. All Rights Reserved.