Skip to content

startup-config overwritten #3201

Description

@ewall-cauc

Description

I am encountering an issue where no shutdown commands inside a startup-config (.partial) file are ignored by Cisco IOL nodes in Containerlab.

Despite explicitly configuring the interfaces to be enabled, they remain in an administratively down state after deployment.

Steps to Reproduce

  1. I defined an initial config snippet in router-1.partial:

interface Ethernet0/2
description test
no shutdown

2.I referenced this file in my Containerlab topology YAML under startup-config.

3.After doing a clab deploy, I logged into the router's console.

When running show ip interface brief, the interface Ethernet0/2 is down:
Interface IP-Address OK? Method Status Protocol
Ethernet0/2 unassigned YES unset administratively down down

And checking show running-config reveals that the interface is explicitly shutdown:

interface Ethernet0/2
description test
shutdown

It seems like the no shutdown command is being overwritten or ignored during the boot/provisioning phase. Has anyone encountered this with Cisco IOL images in clab? Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions