How to Create/Modify VLAN ?

How to Create/Modify VLAN ?

sudo config vlan add vlan-id – (To create a new vlan)

sudo config vlan del vlan-id - (To delete an existing vlan)

sudo config vlan member add vlan-id interface – (To add interface into a vlan)

    • Related Articles

    • Creating and Modifying VLANs on Broadcom SONiC

      Creating a New VLAN To create a new VLAN, use the following command: sudo config vlan add vlan-id vlan-id: Specify the ID for the new VLAN (e.g., 10, 20, etc.). Deleting an Existing VLAN To delete an existing VLAN, execute the command below: sudo ...
    • Where can I get the Configuration guide for SONiC

      Attached document provides the details about the Configuration of SONiC
    • How to configure Sub Interface

      Sub interfaces divide the parent interface into two or more virtual interfaces on which you can assign unique Layer 3 parameters such as IP addresses and dynamic routing protocols. The IP address for each sub interface should be in a different subnet ...
    • Interface Configuration in SONiC

      To manage interface settings in SONiC, use the following commands. Change Interface Speed To modify the speed of an interface, use the command: sudo config interface speed <interface> <speed_in_Mbps> Example: sudo config interface speed ethernet10 ...
    • What is Static Routing and how to configure it

      Static routing is a form of routing that occurs when a router uses a manually configured routing entry, rather than information from dynamic routing traffic. In many cases, static routes are manually configured by a network administrator by adding in ...