(supported-platforms)= # Supported Platforms ```eval_rst .. contents:: Table of Contents :depth: 1 :local: ``` (platform-devices)= ## Supported Virtual Network Devices *netlab* supports these virtual network devices or their physical equivalents (when using *external* [virtualization provider](providers.md)). ```{features} show: all filter: not daemon device: caveats: device_caveats features: - title: netlab
device type text: _name - title: Support
level text: support.level missing: full ``` (platform-daemons)= *netlab* also supports the following daemons (control-plane software running in containers): ```{features} show: all filter: daemon device: caveats: device_caveats features: - title: netlab
device type text: _name - title: Support
level text: support.level missing: full ``` You can also run network management software and even some network services products (for example, NetScaler) as [custom Linux containers](tutorial-linux-custom). The support level of a platform is defined as: * **full** -- a core contributor is regularly implementing new features. We run a [full suite of integration tests](https://release.netlab.tools/) for every release that could impact the device behavior (for example, due to changes in configuration templates). * **best-effort** -- while a core contributor might still work on the platform, we don't run integration tests (usually due to limited availability of the VM/container image). YMMV. * **minimal** -- don't expect too much[^WTLTB]. What you see is pretty much what you'll get (and in many cases, it did not go through integration tests). * **obsolete** -- these platforms are still part of _netlab_ package because the storage prices keep falling. [^WTLTB]: Particularly on platforms that take way too long to boot, like Cisco IOS XR. We're all forced to deal with a limited lifespan. ```{tip} Use **netlab show devices** to display the up-to-date device list and device support levels. ``` (platform-host)= Most devices behave as routers (or layer-3 switches); the following devices can take multiple roles or behave as [IP hosts](node-router-host): ```{features} - title: router enabled: >- "router" in initial.roles and len(initial.roles) > 1 - title: host enabled: >- "host" in initial.roles - title: bridge enabled: >- "bridge" in initial.roles ``` **Notes:** * Use the **[netlab show devices](netlab-show-devices)** command to display the list of supported devices and daemons. * You can specify the device type in the **device** property of the [node data](node-attributes) or the topology-wide **[defaults.device](default-device-type)** setting. See [lab topology overview](topology-overview.md) for more details. * If you want to use an unsupported device in a *netlab*-managed lab, use [an unknown device](platform-unknown) or [contribute a new device implementation](dev/devices.md). * The daemons run on top of Ubuntu Linux and use the same scripts as Linux for initial device configuration. See *linux* device for initial configuration capabilities. ## Supported Virtualization Providers **netlab create** can generate configuration files for these [virtualization providers](providers.md): * [vagrant-libvirt](https://github.com/vagrant-libvirt/vagrant-libvirt), including support for *veryisolated* private networks and UDP point-to-point tunnels. * [Containerlab](https://containerlab.dev/) * External -- *meta* virtualization provider that allows you to configure external physical or virtual devices with *netlab* ```{warning} We're sunsetting the **libvirt** provider. [More details](libvirt-sunset). ``` You cannot use all supported network devices with all virtualization providers. These are the supported combinations (use **[netlab show images](netlab/show.md)** command to display the current system settings); daemons always run in containers. (platform-provider-support)= ```{features} - title: Vagrant
[Libvirt](labs/libvirt.md) enabled: libvirt.image link: libvirt.get('build_recipe') or libvirt.get('build') - title: '[Containerlab](labs/clab.md)' enabled: clab.image link: clab.get('build_recipe') or clab.get('build') ``` **Notes:** * *external* provider can be used with all devices supported by *netlab*. * See [libvirt provider documentation](platform-provider-vm-resources) for default memory/CPU/NIC VM settings. (platform-config-support)= ## Configuration Deployments _netlab_ can deploy configuration on all supported devices. It can also collect device configuration and reload it after a lab restart on these devices: ```{features} - title: Collect
configuration enabled: initial.collect - title: Reload
configuration enabled: initial.reload ``` ```{note} Use the **netlab initial -o** command to create configuration files in a custom directory. ``` (platform-config-mode)= ### Configuration Deployment Mechanisms _netlab_ can use a variety of device configuration deployment mechanisms: {.table-wrap} | Method | Description | |------|-------------| | daemon
configurations | Daemon configuration files are generated on the host and mapped into the containers running [daemons](platform-daemons) like *dnsmasq* or *bird* | | **ansible** | Starts an Ansible playbook that uses device-specific task lists executing Ansible device modules. Use **netlab install ansible** to install Ansible and the prerequisite Python libraries. | | **sh** | Uses **docker exec** command to execute shell scripts *mapped* into containers[^CMSH] | | **cp_sh** | Copies shell scripts into containers (using **docker cp**) and executes them with **docker exec** | | **ns** | Uses **ip netns exec** to execute shell scripts on the host within the container namespace[^CMNS] | | **netmiko** | Uses the *netmiko* library to send configuration commands over an SSH session, or to copy configuration scripts to Linux-based virtual machines (for example, FRR) and execute them. Use **netlab install netmiko** to install it. | | **startup** | Configuration files are merged into a partial startup configuration that is passed to the *containerlab* `startup-config` parameter. This experimental method works only for containers and [won't report device configuration errors](https://blog.ipspace.net/2026/02/netlab-startup-config-caveats/). | [^CMSH]: This method can be used in most native containers, but not in [containers running virtual machines](clab-vrnetlab). [^CMNS]: Used to configure networking parameters for containers that do not have the **ip** command _netlab_ uses Ansible playbooks and device-specific task lists to deploy device configuration snippets onto most devices. These devices use a different default deployment method: ```{features} - title: Default deployment method text: >- "**"+group_vars.netlab_config_mode+"**" if group_vars.netlab_config_mode else False ``` Other exceptions: {.table-wrap} | Device | Configuration deployment details | |--------|----------------------------------| | BIRD | Initial device configurations, VLANs, and link aggregation are configured with **bash** scripts. All other features are configured with the BIRD configuration files. | | dnsmasq | Initial device configurations, VLANs, static routes, and link aggregation are configured with **bash** scripts. All other features are configured with the dnsmasq configuration files. | | FRRouting | Configurations starting with a *shebang* are assumed to be Linux scripts; all other configurations are assumed to be **vtysh** scripts and get a `#!/usr/bin/vtysh -f` shebang prepended to them. On virtual machines, the scripts are deployed with **netmiko**. SONiC containers inherit the FRRouting configuration methods. | | Juniper cRPD | The configuration deployment uses a custom **bash** script that calls **cli** command to execute **load merge** followed by **commit**. The custom script is used as the *shebang* interpreter for the configuration snippets. | | KinD | **bash** scripts are copied into and executed in the containers. | | Linux | Initial device configurations, static routes, VLANs, and interface bonding are configured with host-side scripts executed in the container namespace. Custom configuration templates are assumed to be Linux scripts executed within the container ([more details](generic-linux-devices)). | | VPP | Initial device configuration is deployed with **bash** scripts executed within the container. VPP **startup.conf** is deployed as a node configuration file. The VPP startup configuration loads `/etc/vpp/config/setup.vpp`, a generated VPP CLI configuration file; the initial script creates `/etc/vpp/config/clab-interfaces.vpp`. The container waits for **netlab initial** to finish before starting VPP. | Several other devices can use configuration methods that might be faster than the device defaults. You have to set the **netlab_config_mode** device group variable[^NCMGV] or node parameter to use them: ```{features} - title: Alternate
deployment method text: >- [ x for x in initial.config_mode if x != group_vars.get('netlab_config_mode','') ] ``` **Notes:** * Use the **[netlab install netmiko](netlab-install)** command to install the *netmiko* library and enable netmiko-based configuration on supported devices. When the *netmiko* library is not installed, _netlab_ uses Ansible playbooks to configure devices that use *netmiko* by default (some devices, for example, Extreme VOSS, require *netmiko*). * When using the **sh** method on Arista cEOS containers, _netlab_ converts the device configurations into FastCli scripts and executes them as Linux scripts within the cEOS container. This method works on EOS software releases that have the **‌platform tfa phy control-frame disabled** interface configuration command (probably starting with EOS release 4.30) * The Cisco IOS XRd **sh** deployment method uses a custom **bash** script that calls the **xrapply** ZTP command to load and commit a configuration file. The custom script is used as the *shebang* interpreter for the configuration snippets. This deployment method *does not work* on XRd vRouter or XRv virtual machines packaged into *vrnetlab* containers. [^NCMGV]: For example, set the **defaults.devices.iol.clab.group_vars.netlab_config_mode** [topology default](topo-defaults) to **startup** to use startup configuration with Cisco IOL nodes. ## Initial Device Configurations The initial device configuration sets the hostname on all supported devices. The following system-wide features are configured on supported network operating systems and daemons as part of the initial device configuration: (platform-initial-config)= ```{features} - title: IPv4/IPv6
hosts enabled: initial.hosts - title: LLDP enabled: initial.lldp caveats: initial.caveats.lldp - title: Loopback
interface enabled: loopback_interface_name caveats: initial.caveats.loopback ``` **Notes:** * Some Linux-based devices also add interface names to the hosts table. See [/etc/hosts file on Linux](linux-hosts) for more details. * Cisco ASAv and Fortinet FortiOS nodes do not get a loopback interface unless you set the **loopback** node attribute to **true**. (platform-initial-interfaces)= Most devices configure interface descriptions as part of the initial device configuration. The support for other interface parameters varies: ```{features} - title: Interface
bandwidth enabled: initial.bandwidth caveats: initial.caveats.bandwidth - title: MTU text: "initial.mtu and (f'{initial.min_mtu}-{initial.max_mtu}' if 'min_mtu' in initial and 'max_mtu' in initial else True)" caveats: initial.caveats.mtu - title: Additional
loopbacks enabled: "'ifindex' in loopback_interface_name" caveats: initial.caveats.extra_loopbacks ``` **Notes:** * The MTU column shows the range of layer-3 MTU values accepted by _netlab_ when it knows the device limits. (platform-initial-addresses)= All platforms support IPv4 interface addresses. The support for other interface address types varies: ```{features} - title: IPv6
addresses enabled: initial.ipv6 - title: Unnumbered
IPv4 interfaces enabled: initial.ipv4.unnumbered and not isinstance(initial.ipv4.unnumbered,list) - title: LLA-only
IPv6 interfaces enabled: initial.ipv6.lla - title: Configurable
IPv6 RA enabled: initial.ra ``` **Notes:** * Some devices (for example, Linux hosts, BIRD, or VPP) support unnumbered IPv4 interfaces only on links with a single unnumbered peer. * Cisco IOSv and IOSvL2 support unnumbered IPv4 interfaces only on tunnel interfaces. * Use **netlab show modules -m initial \-\-feature ipv4.unnumbered** to display the unnumbered IPv4 interface support of individual devices. ```{tip} * Use **‌netlab show modules -m initial** to display optional initial configuration features supported by individual devices * See [Initial Configuration Integration Tests Results](https://release.netlab.tools/_html/coverage.initial) for up-to-date details. ``` (platform-initial-extra)= Some platforms can enable additional functionality during the initial device configuration: ```{features} - title: Debugging
attribute text: | [ f'**{k}.debug**' for k,v in attributes.node.items() if 'debug' in v ] ``` The [debugging attribute](node-debug-attribute) can be specified for a single node or globally, in which case the debugging is activated on all nodes using the specified device. ## Supported Configuration Modules (platform-routing-support)= Routing protocol [configuration modules](module-reference.md) are supported on these devices[^NSM] [^NSM]: Use **[netlab show module-support](netlab/show.md)** command to display the current system settings ```{features} - title: '[OSPF](module/ospf.md)' enabled: ospf caveats: ospf.caveats.ipv4 or ospf.caveats.ipv6 - title: '[IS-IS](module/isis.md)' enabled: isis caveats: isis.caveats - title: '[EIGRP](module/eigrp.md)' enabled: eigrp - title: '[BGP](module/bgp.md)' enabled: bgp caveats: bgp.caveats.core - title: '[RIPv2/ng](module/ripv2.md)' enabled: ripv2 caveats: ripv2.caveats.core ``` These devices support additional control-plane protocols or BGP address families: ```{features} - title: '[BFD](module/bfd.md)' enabled: bfd caveats: bfd.caveats - title: '[EVPN](module/evpn.md)' enabled: evpn caveats: evpn.caveats.core - title: '[MPLS/VPN](module/mpls.md)' enabled: mpls.vpn - title: '[FHRP](module/gateway.md)' enabled: gateway caveats: gateway.caveats.core ``` **Notes:** * FRHP = First-Hop Redundancy Protocol (anycast gateway or VRRP) (platform-layer-2-support)= The layer-2 control plane [configuration modules](module-reference.md) are supported on these devices[^NSM]: ```{features} - title: '[STP](module/stp.md)' enabled: stp caveats: stp.caveats.core - title: '[LAG](module/lag.md)' enabled: lag caveats: lag.caveats.core ``` (platform-dataplane-support)= The data plane [configuration modules](module-reference.md) are supported on these devices[^NSM]: ```{features} - title: '[VLAN](module/vlan.md)' enabled: vlan caveats: vlan.caveats.core - title: '[VRF](module/vrf.md)' enabled: vrf caveats: vrf.caveats.core - title: '[VXLAN](module/vxlan.md)' enabled: vxlan caveats: vxlan.caveats.core - title: '[MPLS](module/mpls.md)' enabled: mpls caveats: mpls.caveats.core - title: '[SR-MPLS](module/sr-mpls.md)' enabled: sr caveats: sr.caveats.core - title: '[SRv6](module/srv6.md)' enabled: srv6 caveats: srv6.caveats.core ``` (platform-services-support)= Network services [configuration modules](module-reference.md) are supported on these devices[^NSM] ```{features} - title: '[DHCP](module/dhcp.md)' enabled: dhcp caveats: dhcp.caveats.core - title: '[DHCPv6](module/dhcp.md)' enabled: >- initial.ipv6 and (dhcp.get('server') or dhcp.get('client',{}).get('ipv6') or dhcp.get('relay') is True or dhcp.get('relay',{}).get('ipv6')) ``` ```{tip} See [integration test results](https://release.netlab.tools/) for more details. ``` ## IPv6 Support Core *netlab* functionality and all multi-protocol routing protocol configuration modules fully support IPv6. However, you might not be able to configure IPv6 versions of some routing protocols (or assign SR-MPLS SIDs to IPv6 prefixes) on all platforms. ```{features} - title: '[OSPFv3](module/ospf.md)' enabled: ospf.ipv6 caveats: ospf.caveats.ipv6 - title: '[IS-IS](module/isis.md)
MT' enabled: isis.mt - title: '[EIGRP](module/eigrp.md)
IPv6 AF' enabled: eigrp.ipv6 - title: '[BGP](module/bgp.md)
IPv6 AF' enabled: bgp.ipv6 - title: '[RIPng](module/ripv2.md)' enabled: ripv2.ipv6 - title: '[SR-MPLS](module/sr-mpls.md)
IPv6 SID' enabled: "'ipv6' in sr.af" ``` (platform-unknown)= ## Unknown Devices You can use device type **unknown** to add unsupported devices to a *netlab*-managed virtual lab. *netlab* assumes an unknown device supports all configuration modules and will prepare the data structures and Ansible inventory you need to configure the device. Unknown devices are placed in the [**unprovisioned** group](group-special-names) and are not configured by the [**netlab up**](netlab/up.md) or [**netlab initial**](netlab/initial.md) commands. To add an unknown device to a lab: * Set **device** node attribute to **unknown**. * Specify Vagrant box name or container name with **image** node attribute. * Specify **clab.kind** node attribute according to [containerlab documentation](https://containerlab.dev/manual/kinds/) when using [containerlab virtualization provider](labs/clab.md).