HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Command - Page 28

cfd loopback

Page 28 highlights

Parameters size size-value: Specifies the size of the buffer used to store the auto-detection result, ranging from 1 to 100 (in terms of sending times). This value defaults to 5, which means the buffer stores the results of the recent five auto-detections. Description Use cfd linktrace auto-detection to enable the auto sending of linktrace messages. Use undo cfd linktrace auto-detection to disable this function. By default, this function is disabled. After LT messages automatic sending is enabled, if the source MEP fails to receive the CCMs from the target MEP within 3.5 times the sending interval, the link between the two is regarded as faulty and LTMs will be sent out. (The destination of the LTMs is the target MEP, and the TTL field value is 255.) Based on the LTRs that echo back, the fault source can be located. Once you disable LT messages automatic sending, the content stored in the buffer will be removed. Related commands: cfd linktrace. Examples # Enable automatic LT messages sending, and specify the size of the buffer used to store the auto-detection result to 100 (in terms of sending times). system-view [Sysname] cfd linktrace auto-detection size 100 cfd loopback Syntax View cfd loopback service-instance instance-id mep mep-id { target-mep target-mep-id | target-mac mac-address } [ number number ] Any view Default level 0: Visit level Parameters service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767. mep mep-id: Specifies the ID of a source MEP, ranging from 1 to 8191. target-mep target-mep-id: Specifies the ID of the target MEP, ranging from 1 to 8191. target-mac mac-address: Specifies the MAC address of the target MP, in the format of H-H-H. number number: Specifies the number of the LBMs packets sent, ranging from 1 to 10 and defaulting to 5. Description Use cfd loopback to enable LB function so that LBMs can be sent from the specified MEP to other MPs in the same service instance, and LBR messages can be received. By default, LB is not enabled. 23

  • 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
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159

23
Parameters
size
size-value
: Specifies the size of the buffer used to store the auto-detection result, ranging from 1 to
100 (in terms of sending times).
This value defaults to 5, which means the buffer stores the results of the recent five auto-detections.
Description
Use
cfd linktrace auto-detection
to enable the auto sending of linktrace messages.
Use
undo cfd linktrace auto-detection
to disable this function.
By default, this function is disabled.
After LT messages automatic sending is enabled, if the source MEP fails to receive the CCMs from the
target MEP within 3.5 times the sending interval, the link between the two is regarded as faulty and LTMs
will be sent out. (The destination of the LTMs is the target MEP, and the TTL field value is 255.) Based on
the LTRs that echo back, the fault source can be located.
Once you disable LT messages automatic sending, the content stored in the buffer will be removed.
Related commands:
cfd linktrace
.
Examples
# Enable automatic LT messages sending, and specify the size of the buffer used to store the
auto-detection result to 100 (in terms of sending times).
<Sysname> system-view
[Sysname] cfd linktrace auto-detection size 100
cfd loopback
Syntax
cfd loopback service-instance
instance-id
mep
mep-id
{
target-mep
target-mep-id
|
target-mac
mac-address
} [
number
number
]
View
Any view
Default level
0: Visit level
Parameters
service-instance
instance-id
: Specifies the service instance ID, ranging from 1 to 32767.
mep
mep-id
: Specifies the ID of a source MEP, ranging from 1 to 8191.
target-mep
target-mep-id
: Specifies the ID of the target MEP, ranging from 1 to 8191.
target-mac
mac-address
: Specifies the MAC address of the target MP, in the format of H-H-H.
number
number
: Specifies the number of the LBMs packets sent, ranging from 1 to 10 and defaulting to
5.
Description
Use
cfd loopback
to enable LB function so that LBMs can be sent from the specified MEP to other MPs in
the same service instance, and LBR messages can be received.
By default, LB is not enabled.