Configure VyOS via vtysh

Hello everyone,

How do I configure VyOS via vtysh, for example, creating a VLAN?

And if configuring through vtysh doesn’t require a commit and save?

If not needing to commit and save, I consider using vtysh.

Thank you.

You use configure mode in VyOS to create vlans etc:

hi @Apachez thanks for replay, I want to config using python script
my scipt not under configure level, but in /config/scripts/
do you hava solution?

Sure, have you read the manual regarding this chapter?