[Link Monitoring] Configuring an interface to detect errored codes is used as an

m7g
m7g  Diamond  (1)
7 years 6 months ago  View: 1237  Reply: 0
1F

        Monitoring Ethernet links is difficult if network performance deteriorates while traffic is being transmitted over physical links. To resolve this problem, configure the EFM link monitoring function that detects data link layer faults in various environments. EFM entities that are enabled with link monitoring exchange Event Notification OAMPDUs to monitor links.
        If an EFM entity receives a link event listed in Table 1-5, it sends an Event Notification OAMPDU to notify the remote EFM entity of the event and also sends a trap to an NMS. After receiving the trap on the NMS, an administrator can determine the network status and take remedial measures as needed.

Step 1

Enable EFM globally.

<Quidway>

system-view

[Quidway]

efm enable

Step 2

Enable EFM on an interface.

[Quidway]

interface gigabitethernet 1/0/1

[Quidway-GigabitEthernet1/0/1]

efm enable

[Quidway-GigabitEthernet1/0/1]

quit

Step 3

Configure GE1/0/1 to detect errored codes.

[Quidway-GigabitEthernet1/0/1]

efm error-code period 5

[Quidway-GigabitEthernet1/0/1]

efm error-code threshold 5

[Quidway-GigabitEthernet1/0/1]

efm error-code notification enable