✨ New: Try our AI‑powered Search (Ctrl + K) — Read more

Creating VLAN

Prev Next

This article describes the creation of VLAN on bridges (CUST1, CUST2, and CUST3) and assigning of member ports for the created VLAN.

CLI Configurations

At CUST1, CUST2, and CUST3

  • Create VLAN and assign member ports for this VLAN
    your product(config)# vlan 2
    your product(config-vlan)# vlan active
    your product(config-vlan)# ports
    gigabitethernet 0/1-3
    your product(config-vlan)# exit

SNMP Configurations

At CUST1, CUST2, and CUST3

  • Create VLAN and assign member ports for this VLAN
    [Index: ContextID = 0, VlanId=2]
    % snmp0 set {{fsDot1qVlanStaticRowStatus.0.2 createAndWait }}
    [Index: ContextID = 0, VlanId=2, Interface Number = 1]
    % snmp0 set {{fsDot1qVlanStaticPort.0.2.1 addTagged }}
    [Index: ContextID = 0, VlanId=2, Interface Number = 2]
    % snmp0 set {{fsDot1qVlanStaticPort.0.2.2 addTagged }}
    [Index: ContextID = 0, VlanId=2, Interface Number = 3]
    % snmp0 set {{fsDot1qVlanStaticPort.0.2.3 addTagged }}
    [Index: ContextID = 0, VlanId=2]
    % snmp0 set {{fsDot1qVlanStaticRowStatus.0.2 active }}

© 2026 Cisco and/or its affiliates. All rights reserved.

For more information about trademarks, please visit:
Cisco trademarks 
For more information about legal terms, please visit:
Cisco legal terms