Device(config-if)# exit Device(config)# app-hosting appid iox_app Device(config-app-hosting)# app-vnic AppGigabitEthernet trunk Device(config-config-app-hosting-trunk)# vlan 10 guest-interface 2 Device(config-config-app-hosting-vlan-access-ip)# guest-ipaddress 192.168.0.1 netmask 255.255.255.0 Device(config-config-app-hosting-vlan access-ip)# end Example: Configuring Application Hosting on Front-Panel Trunk Ports This example shows how to configure application hosting on front-panel trunk ports.
Device# configure terminal Device(config)# interface AppGigabitEthernet 3/0/1 Device(config-if)# switchport trunk allowed vlan 10-12,20 Device(config-if)# switchport mode trunk Device(config-if)# exit Device(config)# app-hosting appid iox_app Device(config-app-hosting)# app-vnic AppGigabitEthernet trunk Device(config-config-app-hosting-trunk)# guest-interface 2 Device(config-config-app-hosting-trunk)# end Example: Installing an Application from disk0: The following example shows how to install an application from disk0: Device> enable Device# app-hosting install appid iperf3 package disk0:iperf3.tar Installing package 'disk0:iperf3.tar' for 'iperf3'. Use 'show app-hosting list' for progress.
Device# show app-hosting list App id State --------------------------------------------------------- iperf3 DEPLOYED Switch#app-hosting activate appid iperf3 iperf3 activated successfully Current state is: ACTIVATED Switch# Switch#show app-hosting list App id State --------------------------------------------------------- iperf3 ACTIVATED Switch#app-hosting start appid iperf3 iperf3 started successfully Current state is: RUNNING Switch#show app-hosting list App id State --------------------------------------------------------- iperf3 RUNNING Device# Application Hosting Example: Configuring Application Hosting on Front-Panel Trunk Ports Application Hosting 39