beautypg.com

Configuring switch b, Configuring switch c – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 168

background image

157

# Enter the view of VSAN 100, and configure the members in the default zone to access each

other.

[SwitchA] vsan 100

[SwitchA-vsan100] zone default-zone permit

[SwitchA-vsan100] quit

Configuring Switch B

Configure Switch B is a similar way Switch A is configured. The differences are that:

The aggregate interface configured on Switch A is Layer 2 aggregate interface 1.

The aggregate interface configured on Switch B is Layer 2 aggregate interface 2.

Configuring Switch C

1.

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

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.

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

2.

Configure VLANs and interfaces:
# Create 4001, which is intended to transmit storage traffic.

system-view

[SwitchC] vlan 4001

[SwitchC-vlan4001] description ToSAN

[SwitchC-vlan4001] quit

# Configure interface Ten-GigabitEthernet 1/0/1 as a hybrid port.

[SwitchC] interface ten-gigabitethernet 1/0/1

[SwitchC-Ten-GigabitEthernet1/0/1] port link-type hybrid

# Assign the interface to VLAN 4001 as a tagged member.

[SwitchC-Ten-GigabitEthernet1/0/1] port hybrid vlan 4001 tagged

# Configure VLAN 4001 as the PVID of Ten-GigabitEthernet 1/0/1.

[SwitchC-Ten-GigabitEthernet1/0/1] port hybrid pvid vlan 4001