Hello, everyone!
Today, I will continue to explain the VAN. In this article, I will write about VAN application scenario and configuration. This is the last article about this topic.
VAN is used in scenarios where services are isolated, and there are no restrictions with network scenarios. ONT level VANs can use and share ODN. On the same OLT PON port, different ONT services can be configured and managed. In the next figure, we can see VAN application scenario.

Figure 1. VAN application
(SmartAX MA5800 Multi-service Access Module, V100R018C00, Feature Guide)
In case OLT carries several different types of services, as shown in the following figure. Each of the services belongs to a specific VS.

Figure 2. OLT bears multiple types of services
(SmartAX MA5800 Multi-service Access Module, V100R018C00, Feature Guide)
In order to be able to configure a VAN on an OLT, you must first load the VAN license via NMS.
The configuration consists of several steps, but the three most important steps are:
create a resource profile
creating VS
configure the service for the appropriate VS.
After creating the service VS and configuring the service data, then ONTs can be added.
In the following figure, we can see the flowchart for configuration. Yellow steps are mandatory, and grey steps are optional.

Figure 3. Flowchart for VAN configuration
(SmartAX MA5800 Multi-service Access Module, V100R018C00, Feature Guide)
1. The command for creating a resource profile:
huawei(config)#virtual-system resource-template
{ res-template-name<S><Length 1-31> }: temp1
Command:
virtual-system resource-template temp1
Are you sure to create a new resource template? (y/n)[n]: y
huawei(resource-template-temp1)%resource
{ spec|switch }: spec
{ bind-ip|bind-mac|dba-profile|dyn-mac|flow|flow-bundle|ip-traffic|ont-count|
port-vlan|terminal-user|vlan|vlan-connect|vlanif }: vlanif
{ max-count<K> }: max-count
{ value<U><0,1024>}: 10
Command:
resource spec vlanif max-count 10
2. The command for display resource profile information:
huawei(config)#display virtual-system resource-template
{ <cr>|name<K>||<K> }:
Command:
display virtual-system resource-template
Name of the resource template: default-template
Bound the virtual system of the resource template:
----------------------------------------------------------------------
Resource Spec Value Default Flag
----------------------------------------------------------------------
terminal-user 5 Y
vlan 4078 Y
port-vlan 16384 Y
vlan-connect 16384 Y
flow 34816 Y
flow-bundle 8192 Y
ip-traffic 256 Y
vlanif 256 Y
bind-ip 4352 Y
bind-mac 2048 Y
dyn-mac 65536 Y
dhcp-option82 on Y
ont-count 4352 Y
dba-profile 125 Y
----------------------------------------------------------------------
Name of the resource template: temp1
Bound the virtual system of the resource template: -
----------------------------------------------------------------------
Resource Spec Value Default Flag
----------------------------------------------------------------------
terminal-user 5 Y
vlan 4078 Y
port-vlan 16384 Y
vlan-conn 16384 Y
flow 34816 Y
flow-bundle 8192 Y
ip-traffic 256 Y
vlanif 10 N
bind-ip 4352 Y
bind-mac 2048 Y
dyn-mac 65536 Y
dhcp-option82 on Y
ont-count 4352 Y
dba-profile 125 Y
----------------------------------------------------------------------
3. The command for creating a service VS (creating three service VSs: vs1, vs2 and vs3):
huawei(config)#virtual-system vs1 mode board resource-template defaulttemplate
Are you sure to create a new virtual system? (y/n)[n]: y
The operation is being processed. Please
wait............................
The operation is successful
huawei(config)#virtual-system vs2 mode port resource-template temp1
Are you sure to create a new virtual system? (y/n)[n]: y
The operation is being processed. Please wait....................
The operation is successful
huawei(config)#virtual-system vs3 mode port resource-template temp1
Are you sure to create a new virtual system? (y/n)[n]: y
The operation is being processed. Please wait....................
The operation is successful
4. The command for allocating hardware the resources (allocating board 0/1 to vs1, port 0/2/1 to vs2 and port 0/2/2 to vs3 in sharing mode):
huawei(van-vs1)%assign port 0/1/1
The operation is being processed. Please
wait...
The operation is successful
huawei(van-vs2)%assign port 0/2/1
The operation is being processed. Please
wait...
The operation is successful
huawei(van-vs3)%assign port share 0/2/2
The operation is being processed. Please
wait...
The operation is successful
5. The command for display allocated resources of a port (VS name and slot):
huawei(van-vs3)%display virtual-system assigned-port name vs3
{ <cr>||<K> }:
Command:
display virtual-system assigned-port name vs3
Virtual system name: vs3
------------------------------------------
F/ S/ P Mode
------------------------------------------
0/ 2/ 2 Shared
Total: 1
------------------------------------------
huawei(config)#display virtual-system assigned-port 0/2
{ <cr>||<K> }:
Command:
display virtual-system assigned-port 0/2
-------------------------------------------------------------------------
-
PortID Virtual system name
-------------------------------------------------------------------------
-
0 admin-vs
1 vs2
2 admin-vs, vs3
3 admin-vs
4 admin-vs
5 admin-vs
6 admin-vs
7 admin-vs
6. The command for switch virtual-system:
huawei(config)#switch virtual-system vs3
vs3>enable
vs3#display virtual-system
{ <cr>|assigned-port<K>|resource-template<K>||<K> }:
Command:
display virtual-system
----------------------------------------------------------------------------
Virtual system name : vs3
Status : running
Mode : port
Resource template : temp1
Resource information:
Spec resource
Name UsedNum AvailableNum
--------------------------------------------------------------------
terminal-user 1 4
vlan 1 4077
port-vlan 0 16384
vlan-connect 0 16384
flow 0 34816
flow-bundle 0 8192
ip-traffic 7 249
vlanif 0 10
bind-ip 0 4352
bind-mac 0 2048
dyn-mac - 65536
ont-count 0 4352
dba-profile 0 125
Switch resource
Name Switch value
--------------------------------------------------------------------
dhcp-option82 on
----------------------------------------------------------------------------
7. The command for save the configurations:
huawei(config)#save configuration all virtual-system
It will take several minutes to save configuration file, please wait...
huawei(config)#
Configuration file had been saved successfully
This is the end of this topic. I hope you learned something new!
Thank you!
Reference:
SmartAX MA5800 Multi-service Access Module, V100R018C00, Feature Guide

