Disabled interface



How can I enable an interface which is down on a VyOS router. I’m currently using VyOS on a virtual machine.
I detached a port and attached it again forcing the interface’s mac address to change, but
the link and admin states are down.

I’ve tried to use "set interfaces ethernet eth2 [enable/up/…] " but it isn’t allowed.

[code]vyos@vyos# run show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description

eth0 u/u
eth1 - u/u
eth2 - A/D
eth3 - u/u
lo u/u



If the MAC address changed you will need to fix that in your config. As it is now, ETH2 doesn’t exist