Function
This command is used to query the real time traffic on a GEM port used by a
GPON port. GEM is the acronym for GPON encapsulation mode, and GPON is the
acronym for gigabit-capable passive optical network. After this command is
executed successfully, the system displays the real time traffic received and
sent by a GEM port.
Format
In distributed and GPON mode:
display gemport traffic portid gemportid gemportid
In distributed and privilege mode:
display gemport traffic frameid/slotid/portid gemportid gemportid
In profile and GPON mode:
display gemport traffic portid ontid gemindex gemindex
In profile and privilege mode:
display gemport traffic frameid/slotid/portid ontid gemindex gemindex
display gemport traffic portid gemportid gemportid
In distributed and privilege mode:
display gemport traffic frameid/slotid/portid gemportid gemportid
In profile and GPON mode:
display gemport traffic portid ontid gemindex gemindex
In profile and privilege mode:
display gemport traffic frameid/slotid/portid ontid gemindex gemindex
Parameters
Parameter | Description | Value |
---|---|---|
frameid/slotid/portid | Indicates the shelf ID, slot ID, and port ID. This parameter is supported only in privilege mode. | Please see Differences Between Shelves. |
portid | Indicates the ID of the port to be queried. This parameter is supported only in GPON mode. | Please see Differences Between Shelves. |
ontid | Indicates the ID of the optical network terminal (ONT). | Numeral type. Range: varies with the board type. |
gemportid gemportid | Indicates the ID of the GEM port to be queried. This parameter is supported only in distributed mode. | Numeral type. Range: 128-3999. |
gemindex gemindex | Indicates the GEM port ID. This parameter is supported only in profile mode. | Numeral type. Range: 0-1023. |
Usage Guidelines
- Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
- The real time traffic on a GEM port can be queried only when the board and optical port are functional, and a GEM port is configured for the ONT.
Example
In distributed and GPON mode, to query the real time traffic on port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#display gemport traffic { portid<U><0,7> }:0 { gemportid<K>}:gemportid { gemportid_value<U><128,3999> }:128 Command: display gemport traffic 0 gemportid 128 ---------------------------------------------------------------- Gemport Traffic Information ---------------------------------------------------------------- Up traffic (kbps) : 0 Down traffic (kbps) : 0 ----------------------------------------------------------------In profile and GPON mode, to query the real time traffic on port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#display gemport traffic { portid<U><0,7> }:0 { ontid<U><0,63>}:0 { gemindex<K>}:gemindex { gemindex_value<U><0,1023>}:0 Command: display gemport traffic 0 0 gemindex 0 ---------------------------------------------------------------- Gemport Traffic Information ---------------------------------------------------------------- Up traffic (kbps) : 0 Down traffic (kbps) : 0 ----------------------------------------------------------------In distributed and privilege mode, to query the real time traffic on port 0/3/0, do as follows:
huawei#display gemport traffic { frameid/slotid/portid<S><Length 5-15> }:0/3/0 { gemportid<K>}:0 { gemportid_value<U><128,3999>}:128 Command: display gemport traffic 0/3/0 gemportid 128 ---------------------------------------------------------------- Gemport Traffic Information ---------------------------------------------------------------- Up traffic (kbps) : 0 Down traffic (kbps) : 0 ----------------------------------------------------------------In profile and privilege mode, to query the real time traffic on port 0/3/0, do as follows:
huawei#display gemport traffic { frameid/slotid/portid<S><Length 5-15 >}:0/3/0 { ontid<U><0,127>}:0 { gemindex<K>}:gemindex { gemindex_value<U><0,1023>}:0 Command: display gemport traffic 0/3/0 0 gemindex 0 ---------------------------------------------------------------- Gemport Traffic Information ---------------------------------------------------------------- Up traffic (kbps) : 0 Down traffic (kbps) : 0 ----------------------------------------------------------------
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 Up traffic Indicates the upstream traffic, which is the traffic transmitted to the network side. Unit: kbit/s. Down traffic Indicates the downstream traffic, which is the traffic transmitted to the user side. Unit: kbit/s.
More related:
No comments:
Post a Comment