NOKIA switch SR OS system VLAN configuration method
Time: 2025-05-21
Switches in practical applications usually need to configure VLANs for separating broadcast domains, enhancing network security, flexible networking and simplifying network management, etc.; for example, when the same switch is connected to multiple departments, different departments usually need to isolate data between them, and traffic isolation can be achieved by dividing different departments into different logical networks through VLANs.
The method of configuring VLANs in NOKIA switch SR OS system is different from the regular CISCO or HUAWEI commands. Next, ModuleTek Limited Laboratory shares the configuration method with the actual case of NOKIA 7250 IXR-e switch SR OS system version 23.10.R1:
Table 1 Specific configuration for creating VLANs
Item
|
Procedure
|
Specific Configuration/Command
|
Create VLAN
|
1. Enter mix mode in CLI mode and save the
|
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 the interface
|
3. Enter the interface configuration
|
*A:NS2203C6306>config>service>vpls$/configure port 1/1/c33/1
|
4. Configure port access mode
|
*A:NS2203C6306>config>port#ethernet mode access
|
|
5. Configure encap dot1q(only traffic meter with tag field is needed)
|
*A:NS2203C6306>config>port#ethernet encap-type dot1q
|
|
6. Activate the interface
|
*A:NS2203C6306>config>port#no shutdown
|
|
7. View the interface configuration
|
*A:NS2203C6306>config>port#info
|
|
Configure the interface to VLAN
|
8. Enter the service configuration
|
*A:NS2203C6306#configure service
|
9. Enter VLAN 10
|
*A:NS2203C6306>config>service#vpls 10
|
|
10. Configure specific ports to vlan 10, activate and save to 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 the port and configure mtu to the maximum value, save the configuration 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. view vlan status
|
*A:NS2203C6306>config>service>vpls# show service service-using
|
13. View vlan members
|
*A:NS2203C6306>config>service>vpls#show service sap-using
|
ModuleTek Limited is at your service
If you have any questions about the above content, you can contact us by Email : web@moduletek.com.