Manually initiating the fabric reconfiguration – H3C Technologies H3C S12500-X Series Switches User Manual
Page 60

51
# Enable FCoE for VLAN 10 and map VLAN 10 to VSAN 1.
[SwitchC] vlan 10
[SwitchC-vlan10] fcoe enable vsan 1
[SwitchC-vlan10] quit
4.
Configure Switch D:
# Configure Switch D to operate in advanced mode, save the configuration, and reboot Switch D.
(Skip this step if the switch is operating in advanced mode.)
[SwitchD] 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 D to operate in FCF mode, and enable the fabric configuration function in
VSAN 1 (optional, because the fabric configuration function is enabled by default).
[SwitchD] fcoe-mode fcf
[SwitchD] vsan 1
[SwitchD-vsan1] domain configure enable
# Configure the domain ID as 14.
[SwitchD-vsan1] domain-id 14 preferred
Non-disruptive reconfiguration or isolating the switch may be performed. Continu
e? [Y/N]:y
[SwitchD-vsan1] quit
# Enable LLDP globally.
[SwitchD] lldp global enable
# Enable LLDP on interface Ten-GigabitEthernet 1/0/2, and enable the interface to advertise
DCBX TLVs.
[SwitchD] interface ten-gigabitethernet 1/0/2
[SwitchD-Ten-GigabitEthernet1/0/2] lldp enable
[SwitchD-Ten-GigabitEthernet1/0/2] lldp tlv-enable dot1-tlv dcbx
[SwitchD-Ten-GigabitEthernet1/0/2] quit
# Create an Ethernet frame header ACL numbered 4000, and configure two rules in the ACL to
match FCoE frames (protocol type 0x8906) and FIP frames (protocol type 0x8914).
[SwitchD] acl number 4000
[SwitchD-acl-ethernetframe-4000] rule permit type 8906 ffff
[SwitchD-acl-ethernetframe-4000] rule permit type 8914 ffff
[SwitchD-acl-ethernetframe-4000] quit
# Create a class named app_c with the logic OR operator, and specify ACL 4000 as the match
criterion.
[SwitchD] traffic classifier app_c operator or
[SwitchD-classifier-app_c] if-match acl 4000
[SwitchD-classifier-app_c] quit
# Create a behavior named app_b, and configure the action of marking packets with 802.1p
priority 3.
[SwitchD] traffic behavior app_b
[SwitchD-behavior-app_b] remark dot1p 3
[SwitchD-behavior-app_b] quit