• No results found

Dynamic fabric building configuration example

In document HPE FlexFabric 5930 Switch Series (Page 73-78)

Network requirements

As shown in Figure 26, use the dynamic method to build a fabric.

Figure 26 Network diagram

Configuration procedure

This section describes only fabric building configurations.

1. Configure Switch A:

# Configure the switch to operate in advanced mode. (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.

# Save the configuration.

[SwitchA] 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.

[SwitchA] quit

# Reboot the switch.

<SwitchA> reboot

Start to check configuration with next startup configuration file, please wait...DONE!

This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...

# Configure the switch to operate in FCF mode.

<SwitchA> system-view [SwitchA] fcoe-mode fcf

# Enable the fabric configuration feature in VSAN 1. By default, the fabric configuration feature is enabled.

[SwitchA] vsan 1

[SwitchA-vsan1] domain configure enable

# Set the domain ID to 11 in VSAN 1.

[SwitchA-vsan1] domain-id 11 preferred

Non-disruptive reconfiguration or isolating the switch may be performed. Continue?

[Y/N]:y

2. Configure Switch B:

# Configure the switch to operate in advanced mode. (Skip this step if the switch is operating in advanced mode.)

<SwitchB> system-view

[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.

# Save the configuration.

[SwitchB] 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.

[SwitchB] quit

# Reboot the switch.

<SwitchB> reboot

Start to check configuration with next startup configuration file, please wait...DONE!

This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...

# Configure the switch to operate in FCF mode.

<SwitchB> system-view [SwitchB] fcoe-mode fcf

# Enable the fabric configuration feature in VSAN 1. By default, the fabric configuration feature is enabled.

[SwitchB] vsan 1

[SwitchB-vsan1] domain configure enable

# Set the priority value to 1, so that Switch B can be selected as the principal switch.

[SwitchB-vsan1] priority 1

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

Start to check configuration with next startup configuration file, please wait...DONE!

This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...

# Configure the switch to operate in FCF mode.

<SwitchC> system-view [SwitchC] fcoe-mode fcf

# Enable the fabric configuration feature in VSAN 1. By default, the fabric configuration feature is enabled.

[SwitchC] vsan 1

[SwitchC-vsan1] domain configure enable

# Set the domain ID to 13 in VSAN 1.

[SwitchC-vsan1] domain-id 13 preferred

Non-disruptive reconfiguration or isolating the switch may be performed. Continue?

[Y/N]:y

4. Configure Switch D:

# Configure the switch to operate in advanced mode. (Skip this step if the switch is operating in advanced mode.)

<SwitchD> system-view

[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.

# Save the configuration.

[SwitchD] 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.

[SwitchD] quit

# Reboot the switch.

<SwitchD> reboot

Start to check configuration with next startup configuration file, please wait...DONE!

This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait...

# Configure the switch to operate in FCF mode.

<SwitchD> system-view

[SwitchD] fcoe-mode fcf

# Enable the fabric configuration feature in VSAN 1. By default, the fabric configuration feature is enabled.

[SwitchD] vsan 1

[SwitchD-vsan1] domain configure enable

# Set the domain ID to 14 in VSAN 1.

[SwitchD-vsan1] domain-id 14 preferred

Non-disruptive reconfiguration or isolating the switch may be performed. Continue?

[Y/N]:y

Verifying the configuration

1. Verify the configuration on Switch A:

# Display the domain information of VSAN 1.

[SwitchA-vsan1] display fc domain vsan 1 Domain Information of VSAN 1:

Running time information:

State: Stable

Switch WWN: 48:33:43:2d:46:43:1A:1A Fabric name: 48:33:43:2d:46:43:1B:1B Priority: 128

Domain ID: 11

Configuration information:

Domain configure: Enabled

Domain auto-reconfigure: Disabled Fabric name: 48:33:43:2d:46:43:1A:1A Priority: 128

Domain ID: 11 (preferred)

Principal switch running time information:

Priority: 1

Path Interface Upstream Fc1/1/1 Downstream Fc1/1/2

The output shows that:

{ The domain configuration was complete.

{ The principal switch assigned domain ID 11 to Switch A.

# Display the domain ID list of VSAN 1.

[SwitchA-vsan1] display fc domain-list vsan 1 Domain list of VSAN 1:

Number of domains: 4

Domain ID WWN

0x01(1) 48:33:43:2d:46:43:1B:1B [Principal]

0x0b(11) 48:33:43:2d:46:43:1A:1A [Local]

0x0d(13) 48:33:43:2d:46:43:1C:1C 0x0e(14) 48:33:43:2d:46:43:1D:1D

The output shows that Switch B became the principal switch and assigned the smallest domain ID 1 to itself.

In document HPE FlexFabric 5930 Switch Series (Page 73-78)