Function
This command is used to bind a GEM port to a T-CONT and configure the related
attributes in an ONT line profile to create the GEM port that can carry
services. Before creating a service port, you need to run this command to bind
the GEM port and the T-CONT. The ONT can carry services only after the mapping
relationship between the corresponding GEM port and the T-CONT and the
corresponding GEM port and the service stream are configured.
Format
gem add gem-index service-type tcont
tcontid [
encrypt encrypt
| cascade cascade | priority-queue
priority-queue |
downstream-priority-queue { downstream-priority-queue |
adapt } | gem-car {
traffic-table-index | traffic-table-name
traffic-table-name } ] *
Parameters
Parameter | Description | Value |
---|---|---|
gem-index | Indicates the index of a GEM port. | Numeral type. Range: 0-1023. |
service-type |
Indicates the type of service to be borne. When the GEM index is to carry ETH
or TDM services, the service type must be ETH or TDM. When adding a GEM index, you must select the correct attribute according to the service type. When you need to use Internet, voice, and IPTV services, select ETH type; when you need to use TDM over GEM (TDMoGEM), select TDM type. |
Enumerated type. Options: eth and tdm. |
tcont tcontid | Indicates the ID of a specified T-CONT. | Numeral type. Range: 0-127. |
encrypt encrypt | Configures the encryption function for a specified GEM port. If the encryption function is enabled and the ONU supports the upstream encryption function, the system automatically enables the upstream encryption function. When the encryption function is enabled, the device encrypts the services on the GEM port to enhance the user data security. The line encryption algorithms used in GPON systems neither increase overhead nor decrease bandwidth usages. |
Enumerated type. Options: on and off. Default value: off.
NOTE:
To enhance the data security, the encryption type is recommended to open.
|
cascade cascade |
Configures the subtending attribute for a specified GEM port. When you need
to enable or disable the subtending service for a specified GEM port, use this
parameter. In FTTB scenario, if an OLT only needs to aggregate ONU traffic, the OLT can enable the cascading function of the GEM index connecting to the ONU. After the function is enabled, the OLT cannot switch the VLAN ID of packets sent by an ONU nor process protocol packets sent by the ONU (except ARP, IGMP, and DHCP packets). Enabling the function reduces the packet processing workload on the OLT. |
Enumerated type. Options: on and off. Default value: off. |
priority-queue priority-queue |
Configures the upstream PQ queue priority for a specified GEM port in a
T-CONT. When this parameter is used, the mode parameter in the qos-mode(gpon profile) command must be priority-queue. By default, there are eight queues in the system with ID ranging from 0 to 7. The greater the value, the greater the priority. Queue 7 has the highest priority and therefore the traffic of queue 7 must be transmitted with the highest priority. The maximum traffic is determined by the DBA profile bound to the T-CONT. This parameter must match the ONT capability. If the ONT supports only four queues, values 0-3 are valid and values 4-7 are invalid. |
Numeral type. Range: 0-7. Default value: 0. |
gem-car traffic-table-index |
Binds a traffic table to a specified GEM port. When this parameter is used, the mode parameter in the qos-mode(gpon profile) command must be gem-car. The maximum traffic is determined by the DBA profile bound to the GEM port. |
Numeral type. Range: 0-1023. |
traffic-table-name traffic-table-name | Binds a traffic profile to a specified GEM port. The traffic profile name is used to specify the traffic profile. When this parameter is used, the mode parameter in the qos-mode(gpon profile) command must be gem-car. The maximum traffic is determined by the traffic profile bound to the GEM port. | Character string type, a string of 1–32 characters. |
downstream-priority-queue downstream-priority-queue |
Configures the downstream PQ queue priority for a GEM port used by an ETH
port. When the PQ queue priority mode is configured, users specify the queue for sending the downstream data of the GEM port used by the ETH port. Data needs to be sent strictly based on the PQ queue priority. By default, the system supports eight queues ranging from 0 to 7. 7 indicates the highest priority. Transmission of traffic with the highest priority is ensured preferentially. If queues from 4 to 7 are configured, configuration fails when ONT supports four queues with IDs ranging from 0 to 3.
NOTE:
When the mapping-mode is vlan, priority, vlan-priority,
iptos, or vlan-iptos, the system does not support configuring the downstream PQ
queue priority for a GEM port.
|
Numeral type. Range: 0-7. |
adapt | Configures the downstream PQ queue priority for a GEM port used by an ETH port as the adapt mode. It indicates OLT does not specify the queue sending the downstream data of the GEM port. The queue is determined by the ONT. | - |
Usage Guidelines
- Run the config command to enter global config mode, and then run the ont-lineprofile gpon command to enter the GPON ONT line profile mode.
- Before running this command to bind a GEM port to a T-CONT and configure the related attributes in an ONT line profile, run the tcont command to bind the T-CONT with the DBA profile and ensure that the DBA profile is created.
- Assume that a GEM port is bound to a T-CONT, and other parameters are not configured. If the QoS mode of the profile is PQ, the PQ queue priority in the T-CONT is 0 by default. If the QoS mode of the profile is GEM-CAR, traffic table Index is bound to the GEM port.
- Each GEM port can be bound to only one T-CONT. Each T-CONT can be bound with multiple GEM ports.
- The maximum number of GEM ports in each ONT line profile is 1024.
- After running this command, you need to run the commit command. Then, the configuration performed through this command can take effect.
- The index of the GEM port in different ONT line profile can be the same.
- The downstream PQ priority mode takes effect after the mapping between the downstream PQ priority mode and the ONT ETH port is specified by running the gem mapping command.
Example
To bind GEM port 1 to T-CONT 2 in ONT line profile 10 for carrying ETH
services, and specify the upstream PQ queue priority to 3 and the downstream PQ
queue priority to adapt, do as follows:
huawei(config-gpon-lineprofile-10)#gem add { gem-index<U><0,1023> }:1 { service-type<E><eth,tdm> }:eth { tcont<K> }:tcont { tcont-id<U><0,127> }:2 { <cr>|cascade<K>|encrypt<K>|gem-car<K>|priority-queue<K>|downstream-priority-queue<K> }:priority-queue { priority-queue<U><0,7> }:3 { <cr>|cascade<K>|encrypt<K>|downstream-priority-queue<K> }:downstream-priority-queue { downstream-priority-queue<U><0,7>|adapt<K> }:adapt Command: gem add 1 eth tcont 2 priority-queue 3 downstream-priority-queue adapt huawei(config-gpon-lineprofile-10)#commit
No comments:
Post a Comment