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

Configuration procedure, Configuring Switch

Page 96 highlights

Figure 25 Network diagram Configuration procedure Configuring Switch A # Configure Switch A to operate in advanced mode, save the configuration, and reboot Switch A. (Skip this step if the switch is operating in advanced mode.) system-view [SwitchA] 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 A to operate in NPV mode. Create VSAN 1. system-view [SwitchA] fcoe-mode npv [SwitchA] vsan 1 [SwitchA-vsan1] quit # Enable LLDP globally. [SwitchA] lldp global enable # Enable LLDP on interfaces Ten-GigabitEthernet 1/1/5 and Ten-GigabitEthernet 1/1/6, and enable the interfaces to advertise DCBX TLVs. [SwitchA] interface ten-gigabitethernet 1/1/5 [SwitchA-Ten-GigabitEthernet1/1/5] lldp enable [SwitchA-Ten-GigabitEthernet1/1/5] lldp tlv-enable dot1-tlv dcbx [SwitchA-Ten-GigabitEthernet1/1/5] quit [SwitchA] interface ten-gigabitethernet 1/1/6 [SwitchA-Ten-GigabitEthernet1/1/6] lldp enable [SwitchA-Ten-GigabitEthernet1/1/6] lldp tlv-enable dot1-tlv dcbx [SwitchA-Ten-GigabitEthernet1/1/6] quit # Create an Ethernet frame header ACL numbered 4000, and configure two rules to match FCoE frames (protocol type 0x8906) and FIP frames (protocol type 0x8914). [SwitchA] acl number 4000 [SwitchA-acl-ethernetframe-4000] rule permit type 8906 ffff [SwitchA-acl-ethernetframe-4000] rule permit type 8914 ffff [SwitchA-acl-ethernetframe-4000] quit 90

  • 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

90
Figure 25
Network diagram
Configuration procedure
Configuring Switch A
# Configure Switch A to operate in advanced mode, save the configuration, and reboot Switch A. (Skip
this step if the switch is operating in advanced mode.)
<SwitchA> system-view
[SwitchA] 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 A to operate in NPV mode. Create VSAN 1.
<SwitchA> system-view
[SwitchA] fcoe-mode npv
[SwitchA] vsan 1
[SwitchA-vsan1] quit
# Enable LLDP globally.
[SwitchA] lldp global enable
# Enable LLDP on interfaces Ten-GigabitEthernet 1/1/5 and Ten-GigabitEthernet 1/1/6, and enable
the interfaces to advertise DCBX TLVs.
[SwitchA] interface ten-gigabitethernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] lldp enable
[SwitchA-Ten-GigabitEthernet1/1/5] lldp tlv-enable dot1-tlv dcbx
[SwitchA-Ten-GigabitEthernet1/1/5] quit
[SwitchA] interface ten-gigabitethernet 1/1/6
[SwitchA-Ten-GigabitEthernet1/1/6] lldp enable
[SwitchA-Ten-GigabitEthernet1/1/6] lldp tlv-enable dot1-tlv dcbx
[SwitchA-Ten-GigabitEthernet1/1/6] quit
# Create an Ethernet frame header ACL numbered 4000, and configure two rules to match FCoE frames
(protocol type 0x8906) and FIP frames (protocol type 0x8914).
[SwitchA] acl number 4000
[SwitchA-acl-ethernetframe-4000] rule permit type 8906 ffff
[SwitchA-acl-ethernetframe-4000] rule permit type 8914 ffff
[SwitchA-acl-ethernetframe-4000] quit