Tuesday, November 29, 2016

GPON ONT Line Profile Configuration(mapping-mode(gpon profile))

mapping-mode(gpon profile)

Function

This command is used to configure the mapping mode of the ONT in the GPON ONT line profile. When you run the gem mapping command to create the mapping between the GEM ports and user services, ensure that the mapping mode is consistent with the mapping mode configured by running this command. The VLAN mapping is the default mapping mode.

Format

mapping-mode { vlan | priority | vlan-priority | port | port-vlan | port-priority | port-vlan-priority | iptos | vlan-iptos }

Parameters

Parameter Description
Mapping Mode Mandatory Configuration Items for the gem mapping Command
vlan Indicates the VLAN mapping. vlan
priority Indicates the 802.1p priority mapping. priority
vlan-priority Indicates the VLAN + 802.1p priority mapping. vlan and priority
port Indicates the port ID mapping. ont-portid
port-vlan Indicates the port ID+VLAN mapping. ont-portid and vlan
port-priority Indicates the port ID+802.1p priority mapping. ont-portid and priority
port-vlan-priority Indicates the port ID+VLAN+802.1p priority mapping. ont-portid, vlan, and priority
iptos Indicates the IP ToS field mapping. IP Tos is the ToS priority of the IP packet header. This mapping is based on the priority of the ToS domain and is considered as the extension of the 802.1p priority. priority
vlan-iptos Indicates the VLAN+IP Tos field mapping. vlan and priority

Modes

GPON ONT line profile config mode, MA5683T, MA5680T

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the ont-lineprofile gpon command to enter GPON ONT line profile config mode.
  • After running this command, you need to run the commit command. Then, the configuration performed through this command can take effect.
  • You can run the display ont-lineprofile gpon command to query the ONT mapping mode configured in the GPON ONT line profile.
  • ONT mapping modes can be divided into the following types:
    • vlan, priority, and vlan-priority
    • port, port-vlan, port-priority, and port-vlan-priority
    • iptos
    • vlan-iptos
    These mapping modes of different types cannot be configured on an ONT at the same time. However, mapping modes of the same type can be configured on an ONT at the same time. For example, when the ONT mapping mode is set to VLAN mapping, the actual mapping mode can only be VLAN mapping, priority mapping, or VLAN+priority mapping when you run the gem mapping command to set the mapping relationships between GEM ports and user services.

Example

To configure the mapping mode of the ONT that is bound to line profile 30 to vlan, do as follows:
huawei(config-gpon-lineprofile-30)#mapping-mode
{ iptos<K>|port-priority<K>|port-vlan-priority<K>|port-vlan<K>|port<K>|priority<
K>|vlan-iptos<K>|vlan-priority<K>|vlan<K> }:vlan
                                                                                
  Command:                                                                      
          mapping-mode vlan  

huawei(config-gpon-lineprofile-10)#commit

No comments:

Post a Comment