802.3ah OAM Loopback Control (efm_oam_loopback_control)
- Layer: L2 (data link)
- Header: 5 octets (fixed)
- Notes: PTP / ESMC / CFM / R-APS / 802.3ah OAM (P2)
Reached from
| Lower layer | Selector | Value |
|---|---|---|
ethernet2 | First 8 bits of the payload when ethertype = 34825 (0x8809) | 3 (0x03) |
efm_oam | code | 4 (0x04) (re-decodes this layer) |
Fields
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
subtype | uint(8) | 3 | Slow Protocols subtype (3 = OAM). | |
flags | flags(16) | 0x50 | Flags: link fault, dying gasp, critical event, local / remote evaluating and stable. | |
code | enum(8) | 4 (loopback_control) | OAMPDU code: 0x00 Information, 0x01 Event Notification, 0x02 Variable Request, 0x03 Variable Response, 0x04 Loopback Control, 0xfe Organization Specific. | |
remote_loopback_command | enum(8) | 1 (enable) | Remote loopback command: 1 enable, 2 disable. |
flags
| Bit | Mask | Name |
|---|---|---|
| 0 | 1 (0x0001) | link_fault |
| 1 | 2 (0x0002) | dying_gasp |
| 2 | 4 (0x0004) | critical_event |
| 3 | 8 (0x0008) | local_evaluating |
| 4 | 16 (0x0010) | local_stable |
| 5 | 32 (0x0020) | remote_evaluating |
| 6 | 64 (0x0040) | remote_stable |
code
| Value | Name |
|---|---|
| 0 (0x00) | information |
| 1 (0x01) | event_notification |
| 2 (0x02) | variable_request |
| 3 (0x03) | variable_response |
| 4 (0x04) | loopback_control |
| 254 (0xfe) | organization_specific |
remote_loopback_command
| Value | Name |
|---|---|
| 1 (0x01) | enable |
| 2 (0x02) | disable |
Sample templates
- efm-oam-loopback —
templates/protocols/oam/efm-oam-loopback.wpg.yaml