Example: Configuring Application Hosting on the Management Port This example shows how to manually configure the IP address for an application. Device# configure terminal Device(config)# interface gigabitethernet 0/0 Device(config-if)# vrf forwarding Mgmt-vrf Device(config-if)# ip address 198.51.100.1 255.255.255.254 Device(config-if)# exit Device(config)# app-hosting appid iox_app Device(config-app-hosting)# app-vnic management guest-interface 1 Device(config-app-hosting-mgmt-gateway)# end Example: Overriding App Resource Configuration This example shows how to override an app resource configuration.
Device# configure terminal Device(config)# app-hosting appid iox_app Device(config-app-hosting)# app-resource profile custom Device(config-app-resource-profile-custom)# cpu 7400 Device(config-app-resource-profile-custom)# memory 2048 Device(config-app-resource-profile-custom)# vcpu 2 Device(config-app-resource-profile-custom)# end Example: Configuring ERSPAN Support on an AppGigabitEthernet Port These examples show how to configure ERSPAN on an AppGigabitEthernet port. Example: Configuring an ERSPAN Source Session This example shows how to configure an ERSPAN source session:
Device> enable Device# configure terminal Device(config)# monitor session 2 type erspan-source Device(config-mon-erspan-src)# source interface gigabitethernet 1/0/3 Device(config-mon-erspan-src)# no shutdown Device(config-mon-erspan-src-dst)# ip address 10.1.1.5 Device(config-mon-erspan-src-dst)# origin ip address 10.1.1.2 Device(config-mon-erspan-src-dst)# erspan-id 5 Device(config-mon-erspan-src-dst)# end Examples: Configuring ERSPAN Through an AppGigabitEthernet Interface This example shows how to configure ERSPAN through an AppGigabitEthernet interface: Layer 3 port used for ERSPAN traffic: Note Application Hosting Example:
Configuring Application Hosting on the Management Port Application Hosting 41