Figure 3: Managing the Guest Shell using Application Hosting For front panel networking, you must configure the GigabitEthernet and VirtualPortGroup interfaces as shown above. The Guest Shell uses a Virtualportgroup as the source interface to connect to the outside network through NAT. The following commands are used to configure inside NAT. They allow the Guest Shell to reach the internet; for example, to obtain Linux software updates: ip nat inside source list ip access-list standard permit The guestshell run command in the example above, runs a python executable.
You can also use the guestshell run command to run other Linux executables; for example, see the example guestshell run bash command, which starts a Bash shell or the guestshell disable command which shuts down and disables the Guest Shell. If the system is later reloaded, the Guest Shell remains disabled. Configuring the AppGigabitEthernet Interface for Guest Shell The following task is applicable only to Catalyst switches that have the AppGigabitEthernet interface. All other Catalyst switches use the management port. Note SUMMARY STEPS 1. enable 2. configure terminal 3. interface AppGigabitEthernet interface-number 4. switchport mode trunk 5. exit 6. app-hosting appid name 7.
app-vnic AppGigabitEthernet trunk 8. vlan vlan-ID guest-interface guest-interface-number 9. guest-ipaddress ip-address netmask netmask 10. exit Shells and Scripting Configuring the AppGigabitEthernet Interface for Guest Shell Programmability Configuration Guide, Cisco IOS XE 17.16.x 118