beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 32

background image

1-25

[Sysname-Ten-GigabitEthernet1/3/0/25] undo shutdown

# Specify the priority of Device A as 10 to make sure that it is elected as the master when the IRF virtual

device is established, and save the configuration.

[Sysname-Ten-GigabitEthernet1/3/0/25] quit

[Sysname] irf member 1 priority 10

[Sysname] save

# Configure Device B.

system-view

[Sysname] chassis convert mode irf

This command will convert the device to IRF mode and the device will reboot. Are you sure?

[Y/N]: y

The device reboots automatically to switch its operating mode. After logging in to the device again,

change the member ID of the device to 2.

system-view

[Sysname] irf member 1 renumber 2

Warning: Renumbering the switch number may result in configuration change or loss. Continue?

[Y/N]:y

[Sysname] quit

reboot

The device reboots automatically to make the configuration of member ID take effect. After logging in to

the device again, create IRF-port2/1 of the device, and bind it to the physical IRF port

Ten-GigabitEthernet 2/3/0/25, and then save the configurations.

system-view

[Sysname] interface ten-gigabitethernet 2/3/0/25

[Sysname-Ten-GigabitEthernet2/3/0/25] shutdown

[Sysname-Ten-GigabitEthernet2/3/0/25] quit

[Sysname] irf-port 2/1

[Sysname-irf-port 2/1] port group interface ten-gigabitethernet 2/3/0/25

[Sysname-irf-port 2/1] quit

[Sysname] interface ten-gigabitethernet 2/3/0/25

[Sysname-Ten-GigabitEthernet2/3/0/25] undo shutdown

[Sysname-Ten-GigabitEthernet2/3/0/25] save

2) Power off the two devices. Connect them as shown in

Figure 1-10

with IRF cables. Power them on,

and the IRF is established.

3) Configure BFD MAD detection

# Create VLAN 3, and add port 1/3/0/1 on Device A (with the member ID of 1) and port 2/3/0/1 on Device

B (with the member ID of 2) to VLAN 3.

system-view

[Sysname] vlan 3

[Sysname-vlan3] port gigabitethernet 1/3/0/1 gigabitethernet 2/3/0/1

[Sysname-vlan3] quit

# Create VLAN-interface 3 and configure the MAD IP address for the interface.

[Sysname] interface vlan-interface 3

[Sysname-Vlan-interface3] mad bfd enable

[Sysname-Vlan-interface3] mad ip add 192.168.2.1 24 chassis 1

[Sysname-Vlan-interface3] mad ip add 192.168.2.2 24 chassis 2

[Sysname-Vlan-interface3] quit

This manual is related to the following products: