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

On Switch A, use the, Con the domain ID as 2.

Page 103 highlights

[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 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 [SwitchB] vsan 1 [SwitchB-vsan1] domain configure enable # Configure the domain ID as 2. [SwitchB-vsan1] domain-id 2 static Non-disruptive reconfiguration or isolating the switch may be performed. Continu e? [Y/N]:y [SwitchA-vsan1] quit # Create interface VFC 1, and configure it to operate in E mode. [SwitchB] interface vfc 1 [SwitchB-Vfc1] fc mode e # Bind interface VFC 1 to interface Ten-GigabitEthernet 1/1/5, and assign it to VSAN 1 as a trunk port. [SwitchB-Vfc1] bind interface ten-gigabitethernet 1/1/5 [SwitchB-Vfc1] port trunk vsan 1 [SwitchB-Vfc1] quit # Assign interface Ten-GigabitEthernet 1/1/5 to VLAN 10 as a trunk port. [SwitchB] interface Ten-GigabitEthernet 1/1/5 [SwitchB-Ten-GigabitEthernet1/1/5] port link-type trunk [SwitchB-Ten-GigabitEthernet1/1/5] port trunk permit vlan 10 [SwitchB-Ten-GigabitEthernet1/1/5] quit # Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1. [SwitchA] vlan 10 [SwitchA-vlan10] fcoe enable vsan 1 [SwitchA-vlan10] quit # Configure a static route. [SwitchB] vsan 1 [SwitchB-vsan1] fc route-static 010000 8 vfc 1 [SwitchB-vsan1] quit Verifying the configurations Check whether Switch A and Switch B can reach each other. # On Switch A, use the fcping command to ping Switch B and check whether Switch B is reachable. [SwitchA] fcping fcid fffc02 vsan 1 FCPING fcid 0xfffc02: 128 data bytes, press CTRL_C to break. Reply from 0xfffc02: bytes = 128 time = 23 ms Reply from 0xfffc02: bytes = 128 time = 9 ms Reply from 0xfffc02: bytes = 128 time = 19 ms 97

  • 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

97
[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 FCF mode, and enable the fabric configuration function in
VSAN 1 (optional, because this function is enabled by default).
<SwitchB> system-view
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 1
[SwitchB-vsan1] domain configure enable
# Configure the domain ID as 2.
[SwitchB-vsan1] domain-id 2 static
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
e? [Y/N]:y
[SwitchA-vsan1] quit
# Create interface VFC 1, and configure it to operate in E mode.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] fc mode e
# Bind interface VFC 1 to interface Ten-GigabitEthernet 1/1/5, and assign it to VSAN 1 as a trunk
port.
[SwitchB-Vfc1] bind interface ten-gigabitethernet 1/1/5
[SwitchB-Vfc1] port trunk vsan 1
[SwitchB-Vfc1] quit
# Assign interface Ten-GigabitEthernet 1/1/5 to VLAN 10 as a trunk port.
[SwitchB] interface Ten-GigabitEthernet 1/1/5
[SwitchB-Ten-GigabitEthernet1/1/5] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/1/5] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/1/5] quit
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchA] vlan 10
[SwitchA-vlan10] fcoe enable vsan 1
[SwitchA-vlan10] quit
# Configure a static route.
[SwitchB] vsan 1
[SwitchB-vsan1] fc route-static 010000 8 vfc 1
[SwitchB-vsan1] quit
Verifying the configurations
Check whether Switch A and Switch B can reach each other.
# On Switch A, use the
fcping
command to ping Switch B and check whether Switch B is reachable.
[SwitchA] fcping fcid fffc02 vsan 1
FCPING fcid 0xfffc02: 128 data bytes, press CTRL_C to break.
Reply from 0xfffc02: bytes = 128 time = 23 ms
Reply from 0xfffc02: bytes = 128 time = 9 ms
Reply from 0xfffc02: bytes = 128 time = 19 ms