Function
The command is used to query the mapping relation between the GEM port and
the ONT-side service. Only the GEM port with the created mapping relation can
carry the service.
Parameters
Parameter | Description | Value |
---|---|---|
portid | Indicates the ID of the GPON port to which the ONT is connected. | Please see Differences Between Shelves. |
ontid ontid | Queries all the mapping relations of the specified ONT(such as HG8245H). | Numeral type. Range: varies with the board type. |
gemportid gemportid | Queries all the mapping relations of the specified GEM port. | Numeral type. Range: 128-3999. |
Usage Guidelines
- Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
- 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 decided by the capability of the
ONT itself. The system supports the following seven 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
- Mapping based on port ID + VLAN
- Mapping based on port ID + 802.1p priority
- Mapping based on port ID + VLAN + 802.1p priority
- In single-bridge mode:
Example
To query the service mapping relation for all GEM ports on gemportid 128 of
port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#display ont gemport mapping { portid<U><0,7> }:0 { gemportid<K>|ontid<K> }:gemportid { gemportid<U><128,3999> }:128 Command: display ont gemport mapping 0 gemportid 128 ----------------------------------------------------------------------------- F/S/P GEM ONT ONT ONT Bundle Vlan Priority Traffic Trans- port-ID ID port-type port-ID ID ID table index parent ------------------------------------------------------------------------------ 0/3/0 128 1 ETH 1 - 22 - - enable ------------------------------------------------------------------------------ Notes: Run the display traffic table ip command to query traffic table configuration ------------------------------------------------------------------------------ The number of mappings: 1To query the service mapping relation for all GEM ports on ONT 0 of port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#display ont gemport mapping { portid<U><0,7> }:0 { gemportid<K>|ontid<K> }:ontid { ontid<U><0,63> }:0 Command: display ont gemport mapping 0 ontid 0 ------------------------------------------------------------------------------ F/S/P GEM ONT ONT ONT Bundle Vlan Priority Traffic Trans- port-ID ID port-type port-ID ID ID table index parent ------------------------------------------------------------------------------ 0/3/0 128 1 ETH 1 - 22 - - enable ------------------------------------------------------------------------------ Notes: Run the display traffic table ip command to query traffic table configuration ------------------------------------------------------------------------------ The number of mappings: 1
System Response
- The system displays the queried result when the command runs successfully.
- The following table describes the parameters in response to this
command.
Parameter Description F/S/P Indicates the numbers of the shelf, slot, and port to which the ONT is connected. GEM port-ID Indicates the ID of the GEM port where the mapping relation is created. ONT-ID Indicates the ID of the ONT where the mapping relation is created. ONT port-type Indicates the ONT port type. The value is available when the mapping relation for the port is created. The port falls into six types: ETH, MOCA, IPHOST , E1 , ippath.and TDM-VCL. ONT Port-ID Indicates to map to the ID of the specified GEM port when the mapping mode includes the port mapping. Bundle-ID Indicates the bundle group ID of the ONT. Vlan-ID Indicates to map to the VLAN of the specified GEM port when the mapping mode includes the VLAN mapping. Vlan-Priority Indicates to map to the 802.1p priority of the specified GEM port when the mapping mode includes the priority mapping. Traffic table index Indicates the index of traffic table. Transparent Indicates the function of flow transparent. - 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