Step 8
Enable the MAC-layer SD alarm function, configure alarm generation and clearing thresholds,
and associate bit error alarms with E-PW APS switching.
1.
Enable AIS on the PEs globally.
# Configure PE1.
[PE1]
mpls-tp ais enable
# Configure PE2.
[PE2]
mpls-tp ais enable
# Configure PE3.
[PE3]
mpls-tp ais enable
2.
Enable the MAC-layer SD alarm function, configure alarm generation and clearing
thresholds, and associate bit error alarms with E-PW APS switching.
# Configure PE1.
[PE1]
interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1]
trap-threshold crc-error mac-fcs-sd alarm-threshold
3 7 resume-threshold 5 5 trigger-lsp
# Configure PE2.
[PE2]
interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2]
trap-threshold crc-error mac-fcs-sd alarm-threshold
3 7 resume-threshold 5 5 trigger-lsp
# Configure PE3.
[PE3]
interface gigabitethernet 1/0/0
[PE3-GigabitEthernet1/0/0]
trap-threshold crc-error mac-fcs-sd alarm-threshold
3 7 resume-threshold 5 5 trigger-lsp
Step 9
Verify the configuration.
# Run the
display port-error-info
command in the view of PE1's GE 1/0/1. The command
output shows that
alarm status
is
YES
.
[PE1]
interface gigabitethernet1/0/1
[PE1-GigabitEthernet1/0/1]
display this interface
GigabitEthernet1/0/1 port-error information
================================================================================
input-error | output-error
--------------------------------------------------------------------------------
trap enable : Yes | trap enable : Yes
trigger down : No | trigger down : No
alarm status : No | alarm status : No
threshold high : 1000 | threshold high : 1000
threshold low : 100 | threshold low : 100
interval : 10 sec. | interval : 10 sec.
stat(h) : 0 | stat(h) : 0
stat(l) : 0 | stat(l) : 0
================================================================================
crc-error | symbol-error
--------------------------------------------------------------------------------
trap enable : No | trap enable : Yes
trigger down : No | trigger down : No
alarm status : No | alarm status : No
threshold high : 3 | threshold high : 1000
threshold low : 3 | threshold low : 100
percent : 0 | N/A : N/A
interval : 10 sec. | interval : 10 sec.
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
10 Bit-Error-Triggered Protection Switching Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1120