
1.
Configure EFM OAM between Switch B and Switch C.
2.
On Switch B, configure association between an EFM OAM module and Eth 0/0/1.
Procedure
Step 1
Configure EFM OAM between Switch B and Switch C.
# Configure Switch B.
<Quidway>
system-view
[Quidway]
sysname SwitchB
[SwitchB]
efm enable
[SwitchB]
interface ethernet 0/0/2
[SwitchB-Ethernet0/0/2]
bpdu enable
[SwitchB-Ethernet0/0/2]
efm mode passive
[SwitchB-Ethernet0/0/2]
efm enable
[SwitchB-Ethernet0/0/2]
quit
# Configure Switch C.
<Quidway>
system-view
[Quidway]
sysname SwitchC
[SwitchC]
efm enable
[SwitchC]
interface ethernet 0/0/2
[SwitchC-Ethernet0/0/2]
bpdu enable
[SwitchC-Ethernet0/0/2]
efm enable
[SwitchC-Ethernet0/0/2]
quit
Run the
display efm session interface
command on Switch B to check the EFM OAM status,
and you can find that EFM OAM is in
detect
state.
[SwitchB]
display efm session interface ethernet 0/0/2
Interface EFM State Loopback Timeout
--------------------------------------------------------------------
Ethernet0/0/2
detect
--
Step 2
Configure association between an EFM OAM module with an interface.
# Enable Eth 0/0/1 on Switch B and the EFM OAM module between Switch B and Switch C to
report faults to each other.
[SwitchB]
oam-mgr
[SwitchB-oam-mgr]
oam-bind efm interface ethernet 0/0/2 trigger if-down interface
ethernet 0/0/1
[SwitchB-oam-mgr]
quit
Step 3
Verify the configuration.
After Eth 0/0/2 on Switch B is shut down, the EFM OAM module reports the fault to Eth 0/0/1.
Then Eth 0/0/1 is triggered to go Down.
[SwitchB]
display interface ethernet 0/0/1
Ethernet0/0/1 current state :
TRIGGER DOWN
(3AH)
Line protocol current state : DOWN
Description:HUAWEI, Quidway Series, Ethernet0/0/1 Interface
Switch Port,PVID : 1,The Maximum Frame Length is 1600
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0018-8211-1111
Port Mode: COMBO AUTO
Current Work Mode: COPPER
Speed : 1000, Loopback: NONE
Duplex: FULL, Negotiation: ENABLE
Mdi : AUTO
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input peak rate 0 bits/sec,Record time: -
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
4 Ethernet OAM Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
234