Skip to content

Instantly share code, notes, and snippets.

@abbbi
Created March 10, 2022 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abbbi/e7fbab1c05b1226a035f561e7d3f3028 to your computer and use it in GitHub Desktop.
Save abbbi/e7fbab1c05b1226a035f561e7d3f3028 to your computer and use it in GitHub Desktop.
fs.com type switches, model S5850 run regular linux.
Secret command "start shell" can be used to spawn regular shell on switch for debugging.
Password for this: !@#
Example:
$ show version
FSOS Software, S5850, Version 7.2.1
Copyright (C) 2020 by FS.COM. All rights reserved.
The current running image is flash:/boot/FSOS-S5850-32-2-v7.2.1.r.bin
<hostname> uptime is 499 days, 2 hours, 28 minutes
Hardware Type is 32S2Q
Hardware Version is 2.0
SDRAM size 1024M
Flash size 2048M
EPLD Version is 1.2
BootRom Version is 8.1.3
System serial number is CG1912264188N0009
Current Web Version is
hostname # start shell
Password: !@#
[root@hostname /mnt/flash]$ pwd
/mnt/flash
[root@hostname /mnt/flash]$ ps axw
PID TTY STAT TIME COMMAND
1 ? Ss 0:29 init
2 ? S 0:06 [kthreadd]
3 ? S 3:19 [ksoftirqd/0]
4 ? S 521:19 [events/0]
5 ? S 0:00 [khelper]
8 ? S 0:00 [netns]
9 ? S 0:00 [async/mgr]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment