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 ...
    • MAC Address table configurations in Broadcom SoNiC

      1.To configure MAC address-table Command: mac address-table <mac-address> { vlan { <phy-if-name> | PortChannel } } 2.To set the MAC aging time Command: mac address-table aging-time <mac-time> 3. To set the MAC move dampening threshold interval ...