HP 6125XLG R2306-HP 6125XLG Blade Switch High Availability Configuration Guide - Page 14

Configuring Ethernet OAM remote loopback, Configuration guidelines

Page 14 highlights

Step 1. Enter system view. 2. Enter Ethernet interface view. 3. Configure the action the port takes after it receives an Ethernet OAM event from the remote end. Command system-view interface interface-type interface-number oam remote-failure { connection-expired | critical-event | dying-gasp | link-fault } action error-link-down Remarks N/A N/A By default, the port only logs the Ethernet OAM event it receives from the remote end. Configuring Ethernet OAM remote loopback CAUTION: Use this function with caution, because enabling Ethernet OAM remote loopback impacts other services. When you enable Ethernet OAM remote loopback on a port, the port sends Loopback Control OAMPDUs to a remote port, and the remote port enters the loopback state. The port then sends test frames to the remote port. By observing how many of these test frames return, you can calculate the packet loss ratio on the link and evaluate the link performance. You can enable Ethernet OAM remote loopback on a specific port in user view, system view, or Ethernet interface view. The configuration effects are the same. Configuration guidelines • Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established, and can be performed only by Ethernet OAM entities operating in active Ethernet OAM mode. • Remote loopback is available only on full-duplex links that support remote loopback at both ends. • Ethernet OAM remote loopback must be supported by both the remote port and the sending port. • Enabling Ethernet OAM remote loopback interrupts data communications. After Ethernet OAM remote loopback is disabled, all the ports involved will shut down and then come up. Ethernet OAM remote loopback can be disabled by any of the following events: disabling Ethernet OAM, disabling Ethernet OAM remote loopback, and Ethernet OAM connection timing out. • Enabling internal loopback test on a port in remote loopback test can terminate the remote loopback test. For more information about loopback test, see Layer 2-LAN Switching Configuration Guide. Enabling Ethernet OAM remote loopback on a specific port Step Command 1. (Optional.) Enter system view. system-view 2. Enable Ethernet OAM remote oam remote-loopback start loopback on a specific port. interface interface-type interface-number Remarks N/A By default, Ethernet OAM remote loopback is disabled. This command can be executed in user view or system view. 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144

9
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view.
interface
interface-type
interface-number
N/A
3.
Configure the action the port
takes after it receives an
Ethernet OAM event from the
remote end.
oam remote-failure
{
connection-expired
|
critical-event
|
dying-gasp
|
link-fault
}
action error-link-down
By default, the port only logs the
Ethernet OAM event it receives
from the remote end.
Configuring Ethernet OAM remote loopback
CAUTION:
Use this function with caution, because enabling Ethernet OAM remote loopback impacts other services.
When you enable Ethernet OAM remote loopback on a port, the port sends Loopback Control
OAMPDUs to a remote port, and the remote port enters the loopback state. The port then sends test
frames to the remote port. By observing how many of these test frames return, you can calculate the
packet loss ratio on the link and evaluate the link performance.
You can enable Ethernet OAM remote loopback on a specific port in user view, system view, or Ethernet
interface view. The configuration effects are the same.
Configuration guidelines
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established,
and can be performed only by Ethernet OAM entities operating in active Ethernet OAM mode.
Remote loopback is available only on full-duplex links that support remote loopback at both ends.
Ethernet OAM remote loopback must be supported by both the remote port and the sending port.
Enabling Ethernet OAM remote loopback interrupts data communications. After Ethernet OAM
remote loopback is disabled, all the ports involved will shut down and then come up. Ethernet OAM
remote loopback can be disabled by any of the following events: disabling Ethernet OAM,
disabling Ethernet OAM remote loopback, and Ethernet OAM connection timing out.
Enabling internal loopback test on a port in remote loopback test can terminate the remote
loopback test. For more information about loopback test, see
Layer 2—LAN Switching
Configuration Guide
.
Enabling Ethernet OAM remote loopback on a specific port
Step
Command
Remarks
1.
(Optional.) Enter system view.
system-view
N/A
2.
Enable Ethernet OAM remote
loopback on a specific port.
oam remote-loopback start
interface
interface-type
interface-number
By default, Ethernet OAM remote
loopback is disabled.
This command can be executed in
user view or system view.