Managing the Guest Shell Using Application Hosting This section is applicable to Cisco routing platforms. VirtualPortGroups are not supported on Cisco Catalyst Switching platforms. Note IOx must be configured, and running for Guest Shell access to work. If IOx is not configured, the following message is displayed on the device console. iox feature is not enabled. Removing IOx removes access to the Guest Shell, but the rootfs remains unaffected. Note Use this procedure (Managing the Guest Shell Using Application Hosting) to enable the Guest Shell in Cisco IOS XE Fuji 16.7.1 and later releases.
For Cisco IOS XE Everest 16.6.x and previous releases, use the procedure in Managing the Guest Shell, on page 13 .
Device(config)# interface GigabitEthernet1 Device(config-if)# ip address dhcp Device(config-if)# ip nat outside Device(config-if)# exit Device(config-if)# interface VirtualPortGroup0 Device(config-if)# ip address 192.168.35.1 255.255.255.0 Device(config-if)# ip nat inside Device(config-if)# exit Device(config)# ip nat inside source list GS_NAT_ACL interface GigabitEthernet1 overload Device(config)# ip access-list standard GS_NAT_ACL Device(config)# permit 192.168.0.0 0.0.255.255 Device(config)# app-hosting appid guestshell Device(config-app-hosting)# app-vnic gateway1 virtualportgroup 0 guest-interface 0 Device(config-app-hosting-gateway)# guest-ipaddress 192.168.35.2 netmask 255.255.255.0 Device(config-app-hosting-gateway)# exit Device(config-app-hosting)# app-default-gateway 192.168.35.1 guest-interface 0 Device(config-app-hosting)# end Device# guestshell enable Device# guestshell run python Guest Shell Managing the Guest Shell Using Application Hosting Command or Action Purpose Device# guestshell disable Step 6 guestshell destroy Example:
Device# guestshell destroy Deactivates and uninstalls the Guest Shell service. Guest Shell 15