HP 6125XLG R2306-HP 6125XLG Blade Switch High Availability Command Reference - Page 40

cfd loopback, Examples, Related commands, Syntax, Default, Views, Predefined user roles, Parameters

Page 40 highlights

Once you disable LT message automatic sending, the content stored in the buffer will be removed. Examples # Enable automatic LT messages sending, and set 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 Related commands • cfd linktrace • display cfd linktrace-reply auto-detection cfd loopback Use cfd loopback to enable LB function so that LBMs can be sent from the source MEP to the target MP, and LBR messages can be received. Syntax cfd loopback service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ] Default LB is not enabled. Views Any view Predefined user roles network-admin Parameters service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767. mep mep-id: Specifies the ID of the source MEP, in the range of 1 to 8191. target-mac mac-address: Specifies the destination MAC address of the MP, in the format of H-H-H. target-mep target-mep-id: Specifies the ID of the target MEP, in the range of 1 to 8191. number number: Specifies the number of the LBMs packets sent, in the range of 1 to 10. The default is 5. Examples # Enable LB to check the status of the link between MEP 1101 and MEP 2001 in service instance 1 (assume that the link status is normal). cfd loopback service-instance 1 mep 1101 target-mep 2001 Loopback to 0010-fc00-6512 with the sequence number start from 1101-43404: Reply from 0010-fc00-6512: sequence number=1101-43404 time=5ms Reply from 0010-fc00-6512: sequence number=1101-43405 time=5ms Reply from 0010-fc00-6512: sequence number=1101-43406 time=5ms Reply from 0010-fc00-6512: sequence number=1101-43407 time=5ms Reply from 0010-fc00-6512: sequence number=1101-43408 time=5ms Send:5 Received:5 Lost:0 35

  • 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

35
Once you disable LT message automatic sending, the content stored in the buffer will be removed.
Examples
# Enable automatic LT messages sending, and set 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
Related commands
cfd linktrace
display cfd linktrace-reply auto-detection
cfd loopback
Use
cfd loopback
to enable LB function so that LBMs can be sent from the source MEP to the target MP,
and LBR messages can be received.
Syntax
cfd loopback service-instance
instance-id
mep
mep-id
{
target-mac
mac-address
|
target-mep
target-mep-id
} [
number
number
]
Default
LB is not enabled.
Views
Any view
Predefined user roles
network-admin
Parameters
service-instance
instance-id
: Specifies the service instance ID in the range of 1 to 32767.
mep
mep-id
: Specifies the ID of the source MEP, in the range of 1 to 8191.
target-mac
mac-address
: Specifies the destination MAC address of the MP, in the format of H-H-H.
target-mep
target-mep-id
: Specifies the ID of the target MEP, in the range of 1 to 8191.
number
number
: Specifies the number of the LBMs packets sent, in the range of 1 to 10. The default is 5.
Examples
# Enable LB to check the status of the link between MEP 1101 and MEP 2001 in service instance 1
(assume that the link status is normal).
<Sysname> cfd loopback service-instance 1 mep 1101 target-mep 2001
Loopback to 0010-fc00-6512 with the sequence number start from 1101-43404:
Reply from 0010-fc00-6512: sequence number=1101-43404 time=5ms
Reply from 0010-fc00-6512: sequence number=1101-43405 time=5ms
Reply from 0010-fc00-6512: sequence number=1101-43406 time=5ms
Reply from 0010-fc00-6512: sequence number=1101-43407 time=5ms
Reply from 0010-fc00-6512: sequence number=1101-43408 time=5ms
Send:5
Received:5
Lost:0