beautypg.com

Configuration procedure, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual

Page 106

background image

95

Figure 41 Network diagram

Configuration procedure

# On Switch A, assign Ten-GigabitEthernet 1/0/5 to VLAN 10, and Ten-GigabitEthernet 1/0/6 to

VLAN 20.

system-view

[SwitchA] vlan 10

[SwitchA-vlan10] port Ten-GigabitEthernet 1/0/5

[SwitchA-vlan10] quit

[SwitchA] vlan 20

[SwitchA-vlan20] port Ten-GigabitEthernet 1/0/6

[SwitchA-vlan20] quit

# On Switch A, configure IP addresses for VLAN-interface 10 and VLAN-interface 20.

[SwitchA] interface vlan-interface 10

[SwitchA-Vlan-interface10] ip address 10.1.1.1 24

[SwitchA-Vlan-interface10] quit

[SwitchA] interface vlan-interface 20

[SwitchA-Vlan-interface20] ip address 20.1.1.1 24

[SwitchA-Vlan-interface20] quit

# On Switch B, assign Ten-GigabitEthernet 1/0/5 to VLAN 10, and Ten-GigabitEthernet 1/0/6 to
VLAN 20.

system-view

[SwitchB] vlan 10

[SwitchB-vlan10] port Ten-GigabitEthernet 1/0/5

[SwitchB-vlan10] quit

[SwitchB] vlan 20

[SwitchB-vlan20] port Ten-GigabitEthernet 1/0/6

[SwitchB-vlan20] quit

# On Switch B, configure IP addresses for VLAN-interface 10 and VLAN-interface 20.

[SwitchB] interface vlan-interface 10

[SwitchB-Vlan-interface10] ip address 10.1.1.2 24

[SwitchB-Vlan-interface10] quit

[SwitchB] interface vlan-interface 20

[SwitchB-Vlan-interface20] ip address 20.1.1.2 24

[SwitchB-Vlan-interface20] quit

# On Switch A, configure two static routes to the destination IP address.

system-view

[SwitchA] ip route-static 1.2.3.4 24 10.1.1.2

[SwitchA] ip route-static 1.2.3.4 24 20.1.1.

[SwitchA] quit

This manual is related to the following products: