Friday, August 26, 2016

ont gemport mapping

Function

The ont gemport mapping command is used to set up the mapping between the GEM port and the services on the ONT, or the mapping between a GEM port and the upstream data stream of the user port on the ONT. You can flexibly select a proper service stream transmission mode based on the mapping mode supported by the ONT. After the command is executed successfully, the mapping is set up. In this case, the GEM port can carry services.
The undo ont gemport mapping command is used to cancel the mapping between the GEM port and the services on the ONT.

Format

ont gemport mapping portid ontid gemportid { { [ eth ont-portid | eth-bundle bundle-index ] [ vlan vlanid | priority priority ] * } | { vdsl ont-portid [ vlan vlanid | priority priority ] * } | { moca ont-portid [ vlan vlanid | priority priority ] * } | { e1 ont-portid | { vlan vlanid | priority priority } * [ flow-car { traffic-table-index | traffic-table-name traffic-table-name } ] [ transparent switch ] } | tdm-vcl }
ont gemport mapping portid ontid gemportid vlan untag [ flow-car { traffic-table-index | traffic-table-name traffic-table-name } ]
ont gemport mapping portid ontid gemportid { iphost } [ vlan vlan-id ] [ priority priority ] [transparent switch ]
ont gemport mapping portid ontid gemportid ippath [ ip-index ] [ vlan vlan-id ] [ priority priority ] [transparent switch ]
undo ont gemport mapping portid ontid gemportid { { [ eth ont-portid | eth-bundle bundle-index ] [ vlan vlanid | priority priority ] * } | { vdsl ont-portid [ vlan vlanid | priority priority ] * } | { moca ont-portid [ vlan vlanid | priority priority ] * } | { e1 ont-portid | { vlan vlanid | priority priority } * } | tdm-vcl }
undo ont gemport mapping portid ontid gemportid ippath [ ip-index ] [ vlan vlan-id ] [ priority priority ]
undo ont gemport mapping portid ontid gemportid { iphost | veth } [ vlan vlan-id ] [ priority priority ]
undo ont gemport mapping portid ontid gemportid vlan untag

Parameters

Parameter Description Value
portid Indicates the ID of the GPON port to which the ONT to be configured is connected. Please see Differences Between Shelves.
ontid Indicates the ID of the ONT to be configured. Numeral type. Range: varies with the board type.
gemportid Indicates the ID of the GEM port for which the mapping is to be set up. Numeral type. Range: 128-3999.
eth
Indicates the port mapping mode in which you map the services on an Ethernet port on the ONT to a specified GEM port.
  • If the port is specified and then the VLAN is specified, use the port ID+VLAN ID mapping mode.
  • If the port is specified and then the priority is specified, use the port+priority mapping mode.
  • If the port and VLAN are specified and then the priority is specified, use the port ID+VLAN ID+priority mapping mode.
-
eth-bundle bundle-index Indicates the mapping mode of Ethernet ports. When you need to manage multiple users of the same level and type carried on the Ethernet port in a centralized mode and map the service streams of multiple Ethernet ports to a specified GEM port, use this parameter.
NOTE:
  • You can configure the binding function for the ONT port by running the port-bundle command.
  • A bundle group can be used only in the port mapping, port ID+VLAN ID mapping, port ID+802.1p priority mapping, or port ID+VLAN ID+802.1p priority mapping mode. Ports between bundle groups and ports between a bundle group and a non-boudle group cannot be mapped to the same GEM port.
If the bundle group is specified and then the VLAN is specified, use the port ID+VLAN ID mapping mode.
If the bundle group is specified and then the priority is specified, use the port ID+priority mapping mode.
If the bundle group and the VLAN are specified and then the priority is specified, use the port ID+VLAN ID+priority mapping mode.
Numeral type. Range: 0-7.
vdsl
Indicates the port mapping mode in which you map the services on a VDSL port on the ONT to a specified GEM port.
  • If the port is specified and then the VLAN is specified, use the port ID+VLAN ID mapping mode.
  • If the port is specified and then the priority is specified, use the port+priority mapping mode.
  • If the port and VLAN are specified and then the priority is specified, use the port ID+VLAN ID+priority mapping mode.
-
moca Indicates the port mapping mode in which you map the service stream of a MOCA port to a specified GEM port. The MOCA port is an interface that supports the North America communication protocols. The MOCA port is used to transmit data and video signals concurrently through the coaxial cable, and splits the signals after the signals are transmitted to the user terminal.
If the port is specified and then the VLAN is specified, use the port ID+VLAN ID mapping mode.
If the port is specified and then the priority is specified, use the port ID+priority mapping mode.
If the port and the VLAN are specified and then the priority is specified, use the port ID+VLAN ID+priority mapping mode.
-
vlan vlanid Indicates the VLAN mapping mode in which you map the service stream of a specified VLAN to a GEM port. When you need to run the mapping-mode(gpon profile) command to configure the mapping mode to the VLAN mapping or combined mapping associated with VLAN and map the VLAN service stream to a specified GEM port, use this parameter.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the VLAN mapping mode, you need to configure this parameter only.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the VLAN ID+802.1p priority mode, you must configure this parameter and the PQ queue priority.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the port ID+VLAN ID mapping mode, you must configure this parameter and the actual port ID.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the port ID+VLAN ID+802.1p priority mode, you must configure this parameter, PQ queue priority, and actual port ID.
Numeral type. Range: 0-4095.
vlan untag Indicates the VLAN mapping mode. To map service streams without a VLAN tag to a specified GEM port, use this parameter. A service stream without a VLAN tag exclusively uses a GEM port, and other service streams with a different VLAN tag are not allowed to use this GEM port. -
priority priority Indicates the priority mapping mode in which you map the service stream of a specified 802.1p priority to a GEM port. The larger the value, the higher the priority.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the 802.1p priority, you need to configure this parameter only.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the VLAN ID+802.1p priority mode, you must configure this parameter and the VLAN mapping.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the port ID+802.1p priority mode, you must configure this parameter and the actual port ID.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the port ID+VLAN ID+802.1p priority mode, you must configure this parameter, VLAN mapping, and actual port ID.
  • When running the mapping-mode(gpon profile) command to configure the mapping to the IP ToS field mapping mode, you need to configure this parameter only.
Numeral type. Range: 0-7.
flow-car traffic-table-index Indicates the index of the traffic table that is bound to the GEM port.
When using this parameter, you must enter flow-car for the qos-mode command. The maximum traffic is determined by the traffic profile that is bound to the service stream. Before configuring the traffic profile, ensure that a required traffic profile is created by running the traffic table ip command.
NOTE:
The service stream refers to the service channel from the ONT to the OLT, which is different from the service stream created by running the service-port command.
Numeral type. Range: 0-1023.
traffic-table-name traffic-table-name
When using this parameter, you must enter flow-car for the qos-mode command. The maximum traffic is determined by the traffic profile that is bound to the service stream. Before configuring the traffic profile, ensure that a required traffic profile is created by running the traffic table ip command.
NOTE:
The service stream refers to the service channel from the ONT to the OLT, which is different from the service stream created by running the service-port command.
Character string type, a string of 1–32 characters.
iphost Maps the service stream of a specified IPHOST port to a GEM port. The IPHOST port is used to carry voice services. When you need to map the service stream carried on the IPHOST port to a specified GEM port, use this parameter.
The IPHOST is a special port. You can configure only one IPHOST port. Run the ont gemport mapping command to configure the mapping, which is not restricted by the mapping mode of the ONT.
-
ont-portid Specifies an ONT port. Numeral type. Range: 1-8.
e1 ont-portid Maps the service stream of a specified E1 port to a GEM port. As a special port, the E1 port is not restricted by the ONT mapping mode.
To map the service stream carried on the E1 port to a specified GEM port, you must configure the attribute of the GEM port to TDM.
Numeral type. Range: 1-16.
ippath ip-index Indicates the IP path port. It identifies the IP address port configured by running the ont ipconfig command. The IPPATH port is used to carry voice services.
Numeral type. The valid range is as follows:
  • SCUN/SCUB/SCUL/SCUF control board:
    • OLT mode: 0-3
    • MSAN mode: 0-1
  • SCUH/SCUV/MCUD/MCUE control board: 0-3
transparent switch Enables or disables the transparent transmission function in the mapping mode. After this function is enabled, the ONT transparently transmits all services in the mapping to the OLT. The OLT does not capture or process the services.
When configuring the mapping mode, if the attribute of transparent transmission is not specified, the parameter will not be configured by default, which is displayed as an en dash (-).
Enumerated type. Options: enable and disable.
Default value: disable.
tdm-vcl Maps the service flow on the TDM VCL port to a GEM port. -

Modes

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
  • Before setting up the mapping between the GEM port and the services on the ONT, ensure that the GEM port is bound to the ONT T-CONT.
  • Each ONT can be in only one mapping mode, which is configured in the bound ONT capability set profile.
  • The mapping modes supported by the ONT are determined by the capability of the ONT itself. The system supports the following four mapping modes:
    • In single-bridge mode:
      • Mapping based on VLAN
      • Mapping based on 802.1p priority
      • Mapping based on VLAN+802.1p priority
    • In multi-bridge mode: Mapping based on port ID
  • If the ONT has only one Ethernet UNI port, the transparent transmission function in all mapping modes can be configured. If the ONT has multiple Ethernet UNI ports, the transparent transmission function can be configured only in the following mapping modes: mapping based on port ID, mapping based on port ID+VLAN, mapping based on port ID+VLAN+802.1p priority, and mapping based on port ID+802.1p priority.
  • On the same ONT, mapping based on 802.1p priority and mapping based on VLAN or mapping based on VLAN+802.1p priority cannot be configured at the same time.
  • On the same ONT port, mapping based on port ID+802.1p priority and mapping based on port ID, mapping based on port ID+VLAN, or mapping based on port ID+VLAN+802.1p priority cannot be configured at the same time.
  • You can run the display ont gemport mapping command to query the mapping between the GEM port and the service on the ONT.

Example

On port 0/3/1, to map the service stream with user VLAN 100 and ONT 0 to GEM port 128, and enable the transparent transmission function and to enable the GEM port to carry services after the mapping is set up, do as follows:
huawei(config-if-gpon-0/3)#ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:100
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:transparent
{switch<enable,disable>}:enable

  Command:
          ont gemport mapping 1 0 128 vlan 100 transparent enable
                                              
  Add the GEM port mapping successfully
On port 0/3/1, to map the service stream with a user-side untagged VLAN and ONT 0 to GEM port 128, and to enable the GEM port to carry services after the mapping is set up, do as follows:
huawei(config-if-gpon-0/3)#ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:untag
{ <cr>|flow-car<K> }:
  Command:
          ont gemport mapping 1 0 128 vlan untag
                                              
  Add the GEM port mapping successfully
On port 0/3/1, to map the service stream with Ethernet bundle group 2 and ONT 0 to GEM port 128 and to enable the GEM port to carry services after the mapping is set up, do as follows:
huawei(config-if-gpon-0/3)#ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:eth-bundle 
{ bundle-index<U><0,7> }:2
{ <cr>|priority<K>|vlan<K>|transparent<K> }:

  Command:
          ont gemport mapping 1 0 128 eth-bundle 2 
                                              
  Add the GEM port mapping successfully
To map the service flow on the TDM VCL port of ONT 0 connected to port 0/3/1 to GEM port 128, do as follows (after mapping, this GEM port carries services):
huawei(config-if-gpon-0/3)#ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:tdm-vcl

  Command:
          ont gemport mapping 1 0 128 tdm-vcl 
                                              
  Add the GEM port mapping successfully
On port 0/3/1, to delete all service mapping between ONT 0 and GEM port 128, do as follows:
huawei(config-if-gpon-0/3)#undo ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ <cr>|e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:

  Command:
          undo ont gemport mapping 1 0 128
  Delete the GEM port mapping successfully
On port 0/3/1, to delete the untag VLAN mapping between ONT 0 and GEM port 128, do as follows:
huawei(config-if-gpon-0/3)#undo ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ <cr>|e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:vlan
{ untag<K>|vlan-id<U><0,4095> }:untag

  Command:
          undo ont gemport mapping 1 0 128 vlan untag
  Delete the GEM port mapping successfully
To demap the service flow on the TDM VCL port of ONT 0 connected to port 0/3/1 from GEM port 128, do as follows:
huawei(config-if-gpon-0/3)#undo ont gemport mapping
{ portid<U><0,7> }:1
{ ontid<U><0,63>  }:0
{ gemportid<U><128,3999> }:128
{ <cr>|e1<K>|eth-bundle<K>|eth<K>|iphost<K>|ippath<K>|moca<K>|priority<K>|tdm-vcl<K>|vdsl<K>|vlan<K> }:tdm-vcl

  Command:
          undo ont gemport mapping 1 0 128 tdm-vcl
  Delete the GEM port mapping successfully

System Response

  • The system displays the message "Add the GEM port mapping successfully" after the mapping between the GEM port and the services on the ONT is set up successfully.
  • The system displays the message "Delete the GEM port mapping successfully" after the mapping between the GEM port and the services on the ONT is deleted successfully.
  • For more information about the error message that the system displays against a command entered with incorrect syntax

MORE BLOG:

No comments:

Post a Comment