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

Configuring Switch B, Verifying the configurations

Page 99 highlights

[SwitchA-Vfc1] fc mode f [SwitchA-Vfc1] quit [SwitchA] interface vfc 2 [SwitchA-Vfc2] fc mode f [SwitchA-Vfc2] quit Configuring Switch B # Configure Switch B to operate in advanced mode, save the configuration, and reboot Switch B. (Skip this step if the switch is operating in advanced mode.) system-view [SwitchB] 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 B to operate in NPV mode. Create VSAN 1. system-view [SwitchB] fcoe-mode npv [SwitchB] vsan 1 [SwitchB-vsan1] quit # Create interface VFC 3, and configure it to operate in F mode. [SwitchB] interface vfc 3 [SwitchB-Vfc3] fc mode f # 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 # Configure Ten-GigabitEthernet 1/1/7 to allow VLAN 10. [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 Verifying the configurations # Display the nodes on downlink interfaces and their mapped uplink interfaces. [SwitchA] display npv login Server External Interface VSAN FCID Port WWN Node WWN Interface Vfc1 1 0x010001 20:00:00:15:40:94:00:00 20:00:00:15:40:94:00:00 Vfc3 Vfc2 1 0x010002 20:00:00:42:40:94:00:01 20:00:00:42:40:94:00:01 Vfc3 # Display the status of Switch A. [SwitchA] display npv status 93

  • 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

93
[SwitchA-Vfc1] fc mode f
[SwitchA-Vfc1] quit
[SwitchA] interface vfc 2
[SwitchA-Vfc2] fc mode f
[SwitchA-Vfc2] quit
Configuring Switch B
# Configure Switch B to operate in advanced mode, save the configuration, and reboot Switch B. (Skip
this step if the switch is operating in advanced mode.)
<SwitchB> system-view
[SwitchB] 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 B to operate in NPV mode. Create VSAN 1.
<SwitchB> system-view
[SwitchB] fcoe-mode npv
[SwitchB] vsan 1
[SwitchB-vsan1] quit
# Create interface VFC 3, and configure it to operate in F mode.
[SwitchB] interface vfc 3
[SwitchB-Vfc3] fc mode f
# 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
# Configure Ten-GigabitEthernet 1/1/7 to allow VLAN 10.
[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
Verifying the configurations
# Display the nodes on downlink interfaces and their mapped uplink interfaces.
[SwitchA] display npv login
Server
External
Interface VSAN FCID
Port WWN
Node WWN
Interface
Vfc1
1
0x010001 20:00:00:15:40:94:00:00 20:00:00:15:40:94:00:00 Vfc3
Vfc2
1
0x010002 20:00:00:42:40:94:00:01 20:00:00:42:40:94:00:01 Vfc3
# Display the status of Switch A.
[SwitchA] display npv status