HP 6125XLG R2306-HP 6125XLG Blade Switch FCoE Configuration Guide - Page 46

Con Switch C, Con Switch C to operate in FCF mode

Page 46 highlights

# Create interface VFC 2, and configure it to operate in E mode. [SwitchB] interface vfc 2 [SwitchB-Vfc2] fc mode e # Bind interface VFC 2 to interface Ten-GigabitEthernet 1/1/6, and assign it to VSAN 1 as a trunk port. [SwitchB-Vfc2] bind interface ten-gigabitethernet 1/1/6 [SwitchB-Vfc2] port trunk vsan 1 [SwitchB-Vfc2] quit # Assign interface Ten-GigabitEthernet 1/1/6 to VLAN 10 as a trunk port. [SwitchB] interface ten-gigabitethernet 1/1/6 [SwitchB-Ten-GigabitEthernet1/1/6] port link-type trunk [SwitchB-Ten-GigabitEthernet1/1/6] port trunk permit vlan 10 [SwitchB-Ten-GigabitEthernet1/1/6] quit # Create interface VFC 3, and configure it to operate in E mode. [SwitchB] interface vfc 3 [SwitchB-Vfc3] fc mode e # Bind interface VFC 3 to interface Ten-GigabitEthernet 1/1/7, and assign it to VSAN 1 as a trunk port. [SwitchB-Vfc3] bind interface ten-gigabitethernet 1/1/7 [SwitchB-Vfc3] port trunk vsan 1 [SwitchB-Vfc3] quit # Assign interface Ten-GigabitEthernet 1/1/7 to VLAN 10 as a trunk port. [SwitchB] interface ten-gigabitethernet 1/1/7 [SwitchB-Ten-GigabitEthernet1/1/7] port link-type trunk [SwitchB-Ten-GigabitEthernet1/1/7] port trunk permit vlan 10 [SwitchB-Ten-GigabitEthernet1/1/7] quit # Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1. [SwitchB] vlan 10 [SwitchB-vlan10] fcoe enable vsan 1 [SwitchB-vlan10] quit 3. Configure Switch C: # Configure Switch C to operate in advanced mode, save the configuration, and reboot Switch C. (Skip this step if the switch is operating in advanced mode.) system-view [SwitchC] system-working-mode advance Do you want to change the system working mode? [Y/N]:y The system working mode is changed, please save the configuration and reboot the system to make it effective. # Configure Switch C to operate in FCF mode, and enable the fabric configuration function in VSAN 1 (optional, because this function is enabled by default). system-view [SwitchB] fcoe-mode fcf [SwitchC] vsan 1 [SwitchC-vsan1] domain configure enable # Configure the domain ID as 13. [SwitchC-vsan1] domain-id 13 preferred 40

  • 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

40
# Create interface VFC 2, and configure it to operate in E mode.
[SwitchB] interface vfc 2
[SwitchB-Vfc2] fc mode e
# Bind interface VFC 2 to interface Ten-GigabitEthernet 1/1/6, and assign it to VSAN 1 as a trunk
port.
[SwitchB-Vfc2] bind interface ten-gigabitethernet 1/1/6
[SwitchB-Vfc2] port trunk vsan 1
[SwitchB-Vfc2] quit
# Assign interface Ten-GigabitEthernet 1/1/6 to VLAN 10 as a trunk port.
[SwitchB] interface ten-gigabitethernet 1/1/6
[SwitchB-Ten-GigabitEthernet1/1/6] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/1/6] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/1/6] quit
# Create interface VFC 3, and configure it to operate in E mode.
[SwitchB] interface vfc 3
[SwitchB-Vfc3] fc mode e
# Bind interface VFC 3 to interface Ten-GigabitEthernet 1/1/7, and assign it to VSAN 1 as a trunk
port.
[SwitchB-Vfc3] bind interface ten-gigabitethernet 1/1/7
[SwitchB-Vfc3] port trunk vsan 1
[SwitchB-Vfc3] quit
# Assign interface Ten-GigabitEthernet 1/1/7 to VLAN 10 as a trunk port.
[SwitchB] interface ten-gigabitethernet 1/1/7
[SwitchB-Ten-GigabitEthernet1/1/7] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/1/7] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/1/7] quit
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchB] vlan 10
[SwitchB-vlan10] fcoe enable vsan 1
[SwitchB-vlan10] quit
3.
Configure Switch C:
# Configure Switch C to operate in advanced mode, save the configuration, and reboot Switch C.
(Skip this step if the switch is operating in advanced mode.)
<SwitchC> system-view
[SwitchC] system-working-mode advance
Do you want to change the system working mode? [Y/N]:y
The system working mode is changed, please save the configuration and reboot the
system to make it effective.
# Configure Switch C to operate in FCF mode, and enable the fabric configuration function in
VSAN 1 (optional, because this function is enabled by default).
<SwitchC> system-view
[SwitchB] fcoe-mode fcf
[SwitchC] vsan 1
[SwitchC-vsan1] domain configure enable
# Configure the domain ID as 13.
[SwitchC-vsan1] domain-id 13 preferred