Huawei 5680 OLT native vlan configuration method

Huawei 5680 OLT native vlan configuration method

Huawei 5680 OLT native vlan configuration

Divided into 2 parts

1. Configured to ONU port 

2. Configured to OLT port

1. Take effect on the ONU port

ont port native -vlan(profile-mode

Command Function

This command is used to configure the default VLAN of the ONT port. When the native VLAN function of the ONT is enabled, the native VLAN is added to the inbound untagged packets. For the outbound packets, if the packet VLAN is equal to the native VLAN, the VLAN is stripped.

Example: Set the native VLAN of ETH port 1 of ONT 0 under GPON port 0/3/1 to 100.

Command :

ont port native-vlan 1 0 eth 1 vlan 100

2. It takes effect on the OLT connection port

Command Function

This command is used to configure the native VLAN of the Ethernet port. When the native VLAN function is enabled, for outgoing packets, you can determine whether the packets carry VLAN tags by comparing whether the VLAN IDs carried in the packets passing through the Ethernet port are consistent with the native VLAN IDs of the ports. The specific determination method is as follows:

When the VLAN ID carried in the packet is the same as the ID of the native VLAN, the packet does not contain a VLAN tag (that is, untag).

When the VLAN ID carried in the packet is different from the ID of the native VLAN, the packet contains a VLAN tag.

For inbound Untag packets, add a Native VLAN. By default, the native VLAN of an Ethernet port is 1

Example: Set the Native VLAN of Ethernet port 0/19/0 to 2.

Command:

native-vlan 0 vlan 2

The upstream rules of ONU ports may have

Various:

1. pvid     //Untag packets in the inbound direction—Put pvid, and tag packets in the outbound direction. If they are consistent with pvid, they will be stripped 

2. single tag

3. double tag

4. untag

The downstream rules are generally processed in the reverse direction of the upstream rules (if not configured)

SNMP configuration on Huawei OLT