VLAN configuration is widely required in practical switch deployment. It can isolate broadcast domains, improve network security, support flexible networking, and simplify network management. For example, when one switch connects multiple departments, VLAN division can logically isolate traffic between different departments.
        The VLAN configuration commands on Nokia switches running the SR OS system differ from those of traditional Cisco and Huawei devices. Moduletek Laboratory takes the Nokia 7250 IXR-e switch with SR OS system version 23.10.R1 as an example, and shares the standard VLAN configuration procedure in detail.
Table 1 VLAN Creation and Configuration Steps
Item
Procedure
Specific Configuration/Command
Create a VLAN
1. Enter mixed mode in CLI and save settings
A:NS2203C6306#configure system management-interface configuration-mode mixed
Applying Changes to Model-Driven Database ... OK
A:NS2203C6306#admin save
2. Create VLAN 10
A:NS2203C6306#configure service vpls 10 customer 1 create
Applying Changes to Model-Driven Database ... OK
Configure Interface
3. Enter the interface configuration view
*A:NS2203C6306>config>service>vpls$/configure port 1/1/c33/1
4. Configure the port as access mode
*A:NS2203C6306>config>port#ethernet mode access
5. Configure 802.1Q encapsulation (only the tag field is required for TM)
*A:NS2203C6306>config>port#ethernet encap-type dot1q
6. Enable the interface
*A:NS2203C6306>config>port#no shutdown
7. Verify interface configuration
*A:NS2203C6306>config>port#info
Add Interface to VLAN and MTU Configuration 
8. Enter the service configuration view
*A:NS2203C6306#configure service
9. Enter the configuration view of VLAN 10
*A:NS2203C6306>config>service#vpls 10
10. Assign the specified port to VLAN 10, activate the configuration, save and exit
*A:NS2203C6306>config>service>vpls# sap 1/1/c33/1:* create
*A:NS2203C6306>config>service>vpls>sap$& no shutdown
*A:NS2203C6306>config>service>vpls>sap$ exit
*A:NS2203C6306>config>service# exit
A:NS2203C6306# admin save
11. Enter port configuration, set MTU to the maximum value, save and exit
A:NS2203C6306#configure port 1/1/c33/1
A:NS2203C6306>config>port# ethernet mtu 9800
*A:NS2203C6306>config>port# exit
A:NS2203C6306# admin save
View VLAN Configuration 
12. Check VLAN service status
*A:NS2203C6306>config>service>vpls# show service service-using
13. Check VLAN member port information
*A:NS2203C6306>config>service>vpls#show service sap-using
        ModuleTek Limited is at your service !
        For further inquiries about the above content, please contact us at: sales@moduletek.com