HP 5920 SERIES Fc And Fcoe Configuration Manual page 94

Hide thumbs Also See for 5920 SERIES:
Table of Contents

Advertisement

# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, and assign the port to VLAN 10.
[SwitchB] interface ten-gigabitethernet 1/0/1
[SwitchB-Ten-GigabitEthernet1/0/1] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/0/1] quit
# Create interface VFC 2.
[SwitchB] interface vfc 2
# Configure the mode of VFC 2 as E.
[SwitchB-Vfc2] fc mode e
# Bind VFC 2 to interface Ten-GigabitEthernet 1/0/2.
[SwitchB-Vfc2] bind interface ten-gigabitethernet 1/0/2
# Assign VFC 2 to VSAN 1 as a trunk port.
[SwitchB-Vfc2] port trunk vsan 1
[SwitchB-Vfc2] quit
# Configure Ten-GigabitEthernet 1/0/2 as a trunk port, and assign the port to VLAN 10.
[SwitchB] interface ten-gigabitethernet 1/0/2
[SwitchB-Ten-GigabitEthernet1/0/2] port link-type trunk
[SwitchB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 10
[SwitchB-Ten-GigabitEthernet1/0/2] 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
# Configure two static routes in VSAN 1.
[SwitchB] vsan 1
[SwitchB-vsan1] fc route-static 010000 8 vfc 1
[SwitchB-vsan1] fc route-static 030000 8 vfc 2
3.
Configure Switch C:
# Configure the switch to operate in advanced mode. (Skip this step if the switch is operating in
advanced mode.)
<SwitchC> system-view
[SwitchC] 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.
# Save the configuration.
[SwitchC] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[SwitchC] quit
# Reboot the switch.
<SwitchC> reboot
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents