port optical-alarm-profile
Function
The port optical-alarm-profile command is
used to bind an optical alarm profile (containing optical parameter thresholds)
to the PON port. The optical alarm profile consists of a series of alarm
threshold parameters. It is used to monitor the performance of the optical
module. After this command is executed, the optical alarm profile can be used to
activate the PON port for monitoring the performance of this port.
The undo port optical-alarm-profile command is used to unbind an optical alarm profile from the PON port.
The undo port optical-alarm-profile command is used to unbind an optical alarm profile from the PON port.
Format
port optical-alarm-profile {
all | portid } {
profile-id profile-id | profile-name
profile-name }
undo port optical-alarm-profile { all | portid }
undo port optical-alarm-profile { all | portid }
Parameters
Parameter | Description | Value |
---|---|---|
all | Binds an optical alarm profile to all PON ports. | - |
portid | Binds an optical alarm profile to the specified PON port. | Please see Differences Between Shelves. |
profile-id profile-id | Binds the optical alarm profile with the specified ID to the PON port. | Numeral type. Range: 1-256. |
profile-name profile-name | Binds the optical alarm profile with the specified name to the PON port. | Character string type, a string of 1-32 characters. |
Usage Guidelines
- Run the config command to enter the global config mode, and then run the interface gpon command to enter the GPON mode, or run the interface epon command to enter the EPON mode.
- You can run the display optical-alarm-profile command to query the information of the optical alarm profile, and run the display port optical-alarm-profile to query the bind information of the optical alarm profile.
Example
To bind optical alarm profile 5 to GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#port optical-alarm-profile { all<K>|portid<U><0,7> }:0 { profile-id<K>|profile-name<K> }:profile-id { profile-id<U><1,256> }:5 Command: port optical-alarm-profile 0 profile-id 5To bind optical alarm profile 5 to all the EPON ports on board 0/3, do as follows:
huawei(config-if-epon-0/3)#port optical-alarm-profile { all<K>|portid<U><0,7> }:all { profile-id<K>|profile-name<K> }:profile-id { profile-id<U><1,256> }:5 Command: port optical-alarm-profile all profile-id 5 Bind optical alarm profile, succeed: 4, failed: 0To unbind the optical alarm profile from GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#undo port optical-alarm-profile { all<K>|portid<U><0,7> }:0 Command: undo port optical-alarm-profile 0To unbind optical alarm profiles from all the EPON ports that are currently bound to profiles on board 0/3, do as follows:
huawei(config-if-epon-0/3)#undo port optical-alarm-profile { all<K>|portid<U><0,7> }:all Command: undo port optical-alarm-profile all Unbind optical alarm profile, succeed: 4, failed: 0
System Response
- The system does not display any message after an optical alarm profile is bound to or unbound from a single PON port successfully.
- The system displays the message "Bind optical alarm profile, success: "x", failed: "y" ", after the optical alarm profile is bound to all the PON ports on a board successfully. "x" indicates the number of the ports with successful binding, "y" indicates the number of the ports with unsuccessful binding.
- The system displays the message "Unbind optical alarm profile, success: "x", failed: "y" ", after the optical alarm profile is unbound to all the PON ports on a board successfully. "x" indicates the number of the ports with successful unbinding, "y" indicates the number of the ports with unsuccessful binding.
MORE:
No comments:
Post a Comment