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

Verifying the configurations

Page 75 highlights

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. Enable the fabric configuration function in VSAN 2. system-view [SwitchB] fcoe-mode fcf [SwitchB] vsan 2 [SwitchB-vsan2] domain configure enable # Configure the domain ID as 2. [SwitchB-vsan2] domain-id 2 static Non-disruptive reconfiguration or isolating the switch may be performed. Continu e? [Y/N]:y # Enable FSPF globally. [SwitchB-vsan2] fspf enable [SwitchB-vsan2] 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 2 as a trunk port. [SwitchB-Vfc1] bind interface ten-gigabitethernet 1/1/5 [SwitchB-Vfc1] port trunk vsan 2 [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 2. [SwitchA] vlan 10 [SwitchA-vlan10] fcoe enable vsan 2 [SwitchA-vlan10] quit # Enable FSPF for interface VFC 1. [SwitchB] interface vfc 1 [SwitchB-Vfc1] undo fspf silent vsan 2 [SwitchB-Vfc1] quit Verifying the configurations # Display FSPF neighbor information on Switch A. [SwitchA] display fspf neighbor FSPF neighbor information of VSAN 2(01): Interface NbrDomain IfIndex NbrIfIndex Vfc1 2 0x68 0x68 Dead Time 00:01:06 # Display information about the FC routing table on Switch A. [SwitchA] display fc routing-table vsan 2 State Full 69

  • 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

69
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. Enable the fabric configuration function in VSAN
2.
<SwitchB> system-view
[SwitchB] fcoe-mode fcf
[SwitchB] vsan 2
[SwitchB-vsan2] domain configure enable
# Configure the domain ID as 2.
[SwitchB-vsan2] domain-id 2 static
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
e? [Y/N]:y
# Enable FSPF globally.
[SwitchB-vsan2] fspf enable
[SwitchB-vsan2] 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 2 as a trunk
port.
[SwitchB-Vfc1] bind interface ten-gigabitethernet 1/1/5
[SwitchB-Vfc1] port trunk vsan 2
[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 2.
[SwitchA] vlan 10
[SwitchA-vlan10] fcoe enable vsan 2
[SwitchA-vlan10] quit
# Enable FSPF for interface VFC 1.
[SwitchB] interface vfc 1
[SwitchB-Vfc1] undo fspf silent vsan 2
[SwitchB-Vfc1] quit
Verifying the configurations
# Display FSPF neighbor information on Switch A.
[SwitchA] display fspf neighbor
FSPF neighbor information of VSAN 2(01):
Interface
NbrDomain
IfIndex
NbrIfIndex
Dead Time
State
Vfc1
2
0x68
0x68
00:01:06
Full
# Display information about the FC routing table on Switch A.
[SwitchA] display fc routing-table vsan 2