Skip to main content

Cisco ISR 4000 - Running the NetBeez Agent as a Virtual Service

Deploy and register the NetBeez OVA virtual service agent on Cisco ISR 4000 Series routers running IOS-XE and verify it in NetBeez NextGen.

Written by Panickos Neophytou

Cisco Integrated Services Routers (ISR 4000 / 44xx Series) running Cisco IOS-XE support hosting third-party KVM/OVA applications directly on the router control/services plane. By deploying the NetBeez virtual service OVA on a Cisco ISR router, you can monitor WAN, branch, and SaaS network experience from existing router infrastructure without deploying separate hardware sensors.

In this article:

Compatibility and Prerequisites

Before starting, verify the following hardware, software, and dashboard requirements (if you are deploying on a Cisco Catalyst 9000 switch instead of an ISR router, see Cisco Catalyst Docker App Hosting or Cisco Catalyst Center Deployment):

  • Supported Router Hardware: Cisco ISR 4000 / 44xx Series routers with sufficient available flash storage, RAM, and CPU resources for virtual services.

  • Supported Operating System: Cisco IOS-XE Software Version 03.17 (15.6(1)S1) or later.

  • Network Firewall Access: Outbound connectivity from the virtual service to your NetBeez NextGen server (see Network Firewall Settings).

  • NetBeez Server Secret Key: An Administrator can copy the Server Secret Key from Settings → Information & Health under the Server Information card (see Secret Key).

Router Resources Overview

To provide IP reachability to the NetBeez virtual service inside Cisco IOS-XE, you configure four networking components on the ISR router:

  • VirtualPortGroup Interface: Connects IOS-XE routing to the virtual NIC (eth0) inside the NetBeez virtual service.

  • IOS-XE DHCP Pool: Dynamically assigns an internal IP address, default gateway, and DNS server to the virtual service's eth0 interface.

  • NAT Translation Rules: Translates traffic between the internal VirtualPortGroup subnet (ip nat inside) and your routed WAN/LAN interface (ip nat outside).

  • Routed Uplink Interface: An external interface (for example, GigabitEthernet0/0/0) with a valid default route toward your NetBeez server and monitoring targets.

Step-by-Step Virtual Service Installation

  1. Connect to your Cisco ISR router via SSH (or console) with privileged EXEC access.

  2. Download the NetBeez ISR OVA package onto bootflash: (or another local storage device with adequate free space):

    copy https://storage.googleapis.com/netbeez-public/netbeez-cisco-isr.ova bootflash:
  3. Allow unsigned virtual services to run on the Cisco ISR router:

    configure terminal
      virtual-service
        signing level unsigned
        exit
      exit
  4. Install the NetBeez OVA package as a named virtual service (match the exact OVA filename stored on bootflash:):

    virtual-service install name netbeez package bootflash:netbeez-cisco-isr.ova

    Wait for IOS-XE to finish unpacking the OVA image (you can monitor installation progress with show virtual-service list).

  5. Create a VirtualPortGroup interface to act as the gateway for the virtual service (adjust IP addressing to avoid overlapping with your production subnets):

    configure terminal
      interface VirtualPortGroup0
        ip address 10.1.1.1 255.255.255.0
        exit
  6. Create an IOS-XE DHCP pool to assign an IP address, default router, and DNS server to the NetBeez virtual service:

      ip dhcp pool NB-POOL
        network 10.1.1.0 255.255.255.0
        default-router 10.1.1.1
        dns-server 8.8.8.8
        exit
  7. Configure NAT rules between VirtualPortGroup0 and your outbound router interface (adjust interface names and IP addresses to match your topology):

      interface GigabitEthernet0/0/0
        ip nat outside
        exit
      interface VirtualPortGroup0
        ip nat inside
        exit
      ip nat inside source static 10.1.1.2 192.168.1.10
      exit
  8. Attach the virtual NIC gateway to VirtualPortGroup0 and activate the NetBeez virtual service:

    configure terminal
      virtual-service netbeez
        vnic gateway VirtualPortGroup0
        exit
        activate
      end

Registering the Agent with NetBeez NextGen

  1. Open the NetBeez virtual service console from IOS-XE EXEC mode:

    virtual-service connect name netbeez console

    Sign in with the default credentials netbeez / netbeez (and change the default password after registration in accordance with your security policy). To exit the virtual service console and return to IOS-XE at any time, press Ctrl+C three times.

  2. Inside the virtual service shell, download the NetBeez agent setup script:

    curl -L -O https://raw.githubusercontent.com/netbeez/agent-installation/master/agent_setup.sh
  3. Run the setup script as sudo, replacing <secret_key> with the Server Secret Key copied from Settings → Information & Health (or copy the pre-populated command as an Administrator from Agents → Network Agents → Install Network Agent → Software):

    sudo bash agent_setup.sh --secret=<secret_key>
  4. In your NetBeez NextGen dashboard, navigate to Agents → Network Agents to confirm the new ISR virtual service agent is online, then assign Agent Groups, Targets, and Scheduled Tests.

Sample IOS-XE Running Configuration

The following excerpt shows a completed Cisco ISR 4451-X configuration running the NetBeez virtual service:

!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
no platform punt-keepalive disable-kernel-core
!
hostname ISR4451x
!
boot-start-marker
boot system flash bootflash:isr4400-universalk9.03.17.01.S.156-1.S1-std.SPA.bin
boot-end-marker
!
ip dhcp pool NB-POOL
 network 10.1.1.0 255.255.255.0
 default-router 10.1.1.1
 dns-server 8.8.8.8
!
interface VirtualPortGroup0
 ip address 10.1.1.1 255.255.255.0
 ip nat inside
!
interface GigabitEthernet0/0/0
 description To Primary VLAN
 ip address 192.168.1.1 255.255.192.0
 ip nat outside
 media-type rj45
 negotiation auto
!
virtual-service
 signing level unsigned
!
virtual-service netbeez
 vnic gateway VirtualPortGroup0
 activate
!
ip nat inside source static 10.1.1.2 192.168.1.10
!
Did this answer your question?