cisco — Configuring Application Hosting on the Management Port

Application Hosting Configuring Application Hosting on the Management Port Command or Action Purpose Device# configure terminal Step 3 interface gigabitethernet0/0 Example: Device(config)# interface gigabitethernet0/0 Configures an interface and enters interface configuration mode. • On Cisco Catalyst 9000 Series Switches, the management interface is GigabitEthernet0/0. Step 4 vrf forwarding vrf-name Example: Device(config-if)# vrf forwarding Mgmt-vrf Associates a Virtual Routing and Forwarding (VRF) instance or a virtual network with an interface or subinterface. • Mgmt-vrf is automatically set for the management interface on the Cisco Catalyst 9000 Series Switch.

Step 5 ip address ip-address mask Example: Device(config-if)# ip address 198.51.100.1 255.255.255.254 Configures an IP address for the interface. Step 6 exit Example: Device(config-if)# exit Exits interface configuration mode and returns to global configuration mode. Step 7 app-hosting appid name Example: Device(config)# app-hosting appid iox app _ Configures an application and enters application-hosting configuration mode. Step 8 app-vnic management guest-interface network-interface Example: Device(config-app-hosting)# app-vnic management guest-interface 1 Connects the guest interface to the management port, and enters application-hosting management-gateway configuration mode.

• The management keyword specifies the Cisco IOS management GigabitEthernet0/0 interface that is connected to the container. • The guest-interface network-interface keyword-argument pair specifies the container's internal Ethernet interface number that is connected to the Cisco IOS management interface. The example provided here uses guest-interface 1 for the container's Ethernet 1 interface. Step 9 end Example: Device(config-app-hosting-mgmt-gateway)# end Exits application-hosting management-gateway configuration mode and returns to privileged EXEC mode. Application Hosting 24