Device# guestshell enable Example: Guest Shell Usage From the Guest Shell prompt, you can run Linux commands. The following example shows the usage of some Linux commands. [guestshell@guestshell~]$ pwd /home/guestshell [guestshell@guestshell~]$ whoami guestshell [guestshell@guestshell~]$ uname -a Linux guestshell 5.4.85 #1 SMP Tue Dec 22 10:50:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Cisco 4000 Series Integrated Services Routers use the dohost provided by CentOS Linux release 7.1.1503. The dohost command requires the ip http server command to be configured on the device. Note Example: Guest Shell Networking Configuration The following is a sample Guest Shell networking configuration.
• Configure Domain Name System (DNS) • Configure proxy settings • Configure YUM or PIP to use proxy settings Sample DNS Configuration for Guest Shell The following is a sample DNS configuration for Guest Shell: [guestshell@guestshell cat/etc/resolv.conf nameserver 192.0.2.1 Other Options: [guestshell@guestshell cat/etc/resolv.conf domain cisco.com search cisco.com nameserver 192.0.2.1 search cisco.com nameserver 198.51.100.1 nameserver 172.16.0.6 domain cisco.com Guest Shell Example: Guest Shell Usage Guest Shell 25