5-10Figure 5-2 Network diagram for Ethernet OAM configurationConfiguration procedure1) Configure Device A# Configure GigabitEthernet 1/0/1 to operate in passive Ethernet OAM mode and enable EthernetOAM for it. system-view[DeviceA] interface gigabitethernet 1/0/1[DeviceA-GigabitEthernet1/0/1] oam mode passivez[DeviceA-GigabitEthernet1/0/1] oam enable[DeviceA-GigabitEthernet1/0/1] quit# Set the errored frame detection interval to 20 seconds and set the errored frame event triggeringthreshold to 10.[DeviceA] oam errored-frame period 20[DeviceA] oam errored-frame threshold 102) Configure Device B# Configure GigabitEthernet 1/0/1 to operate in active Ethernet OAM mode (the default) and enableEthernet OAM for it. system-view[DeviceB] interface gigabitethernet 1/0/1[DeviceA-GigabitEthernet1/0/1] oam mode active[DeviceB-GigabitEthernet1/0/1] oam enable[DeviceB-GigabitEthernet1/0/1] quit3) Verify the configurationUse the display oam configuration command to display the Ethernet OAM configuration. Forexample:# Display the Ethernet OAM configuration on Device A.[DeviceA] display oam configurationConfiguration of the link event window/threshold :--------------------------------------------------------------------------Errored-symbol Event period(in seconds) : 1Errored-symbol Event threshold : 1Errored-frame Event period(in seconds) : 20Errored-frame Event threshold : 10Errored-frame-period Event period(in ms) : 1000Errored-frame-period Event threshold : 1Errored-frame-seconds Event period(in seconds) : 60Errored-frame-seconds Event threshold : 1According to the above output information, the detection period of errored frame events is 20 seconds,the detection threshold is 10 seconds, and all the other parameters use the default values.