HP 6125XLG R2306-HP 6125XLG Blade Switch FCoE Command Reference - Page 37

Syntax, Default, Views, Predefined user roles, Parameters, Usage guidelines, Examples

Page 37 highlights

Use undo fc wwn default-fc4-type to delete the default FC4 information of a node. Syntax fc wwn wwn-value default-fc4-type { type-value feature feature-map | scsi-fcp feature { feature-map | both | initiator | target } } undo fc wwn wwn-value default-fc4-type { type-value | scsi-fcp } Default No default FC4 information is configured. Views System view Predefined user roles network-admin mdc-admin Parameters wwn-value: Specifies a node by its WWN in the format of xx:xx:xx:xx:xx:xx:xx:xx (hexadecimal). type-value: Specifies a supported FC4-Type by its value in the range of 0 to 255. The FC4-Type field is 256 bits, each of which represents an FC4-Type. If a bit is set to 1, the FC4-Type that the bit represents is supported. Only one bit can be set to 1 at the same time. scsi-fcp: Specifies the supported FC4-Type as SCSI-FCP, which has a type-value of 8. feature feature-map: Specifies the Feature value for the supported FC4-Type. The value range for feature-map is 0 to 15. The Feature field is 4 bits, each of which represents a Feature. If a bit is set to 1, the Feature that the bit represents is supported. More than one bit can be set to 1 at the same time. For example, if the value is set to 15, the node supports four features of the FC4-Type. If the value is set to 0, the node supports none of the four features. When you specify supported FC4-Type as SCSI-FCP, you can configure the following keywords: • initiator: Specifies support for the initiator feature, which has a feature-map of 2. • target: Specifies support for the target feature, which has a feature-map of 1. • both: Specifies support for both initiator and target features, which has a feature-map of 3. Usage guidelines If a node does not register FC4 information and the switch fails to obtain SCSI-FCP information from the node, the switch records the default FC4 information in the name service database for that node. When a node registers FC4 information or the switch obtains the SCSI-FCP information, the switch replaces the default FC4 information with the registered FC4 information or obtained SCSI-FCP information. This command can be used to configure only one combination of FC4-Type and Feature at a time. Examples # Configure the default FC4 information for the node with WWN 00:00:00:11:22:33:44:55. system-view [Sysname] fc wwn 00:00:00:11:22:33:44:55 default-fc4-type scsi-fcp feature target [Sysname] fc wwn 00:00:00:11:22:33:44:55 default-fc4-type 9 feature 7 32

  • 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

32
Use
undo
fc wwn default-fc4-type
to delete the default FC4 information of a node.
Syntax
fc wwn
wwn-value
default-fc4-type
{
type-value
feature
feature-map
| scsi-fcp feature
{
feature-map
|
both | initiator | target
} }
undo fc wwn
wwn-value
default-fc4-type
{
type-value
| scsi-fcp
}
Default
No default FC4 information is configured.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
wwn-value
: Specifies a node by its WWN in the format of
xx:xx:xx:xx:xx:xx:xx:xx
(hexadecimal).
type-value
: Specifies a supported FC4-Type by its value in the range of 0 to 255. The FC4-Type field is
256 bits, each of which represents an FC4-Type. If a bit is set to 1, the FC4-Type that the bit represents
is supported. Only one bit can be set to 1 at the same time.
scsi-fcp
: Specifies the supported FC4-Type as SCSI-FCP, which has a
type-value
of 8.
feature
feature-map
: Specifies the Feature value for the supported FC4-Type. The value range for
feature-map
is 0 to 15. The Feature field is 4 bits, each of which represents a Feature. If a bit is set to 1,
the Feature that the bit represents is supported. More than one bit can be set to 1 at the same time. For
example, if the value is set to 15, the node supports four features of the FC4-Type. If the value is set to 0,
the node supports none of the four features. When you specify supported FC4-Type as SCSI-FCP, you can
configure the following keywords:
initiator
: Specifies support for the initiator feature, which has a
feature-map
of 2.
target
: Specifies support for the target feature, which has a
feature-map
of 1.
both
: Specifies support for both initiator and target features, which has a
feature-map
of 3.
Usage guidelines
If a node does not register FC4 information and the switch fails to obtain SCSI-FCP information from the
node, the switch records the default FC4 information in the name service database for that node. When
a node registers FC4 information or the switch obtains the SCSI-FCP information, the switch replaces the
default FC4 information with the registered FC4 information or obtained SCSI-FCP information.
This command can be used to configure only one combination of FC4-Type and Feature at a time.
Examples
# Configure the default FC4 information for the node with WWN 00:00:00:11:22:33:44:55.
<Sysname> system-view
[Sysname] fc wwn 00:00:00:11:22:33:44:55 default-fc4-type scsi-fcp feature target
[Sysname] fc wwn 00:00:00:11:22:33:44:55 default-fc4-type 9 feature 7