beautypg.com

Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual

Page 174

background image

140

Figure 43 Network diagram

Configuration procedure

1.

Configure Device C:
# Associate IP subnet 192.168.5.0/24 with VLAN 100.

system-view

[DeviceC] vlan 100

[DeviceC-vlan100] ip-subnet-vlan ip 192.168.5.0 255.255.255.0

[DeviceC-vlan100] quit

# Associate IP subnet 192.168.50.0/24 with VLAN 200.

[DeviceC] vlan 200

[DeviceC-vlan200] ip-subnet-vlan ip 192.168.50.0 255.255.255.0

[DeviceC-vlan200] quit

# Configure GigabitEthernet 1/0/11 as a hybrid port, and assign it to VLAN 100 as a tagged
VLAN member.

[DeviceC] interface gigabitethernet 1/0/11

[DeviceC-GigabitEthernet1/0/11] port link-type hybrid

[DeviceC-GigabitEthernet1/0/11] port hybrid vlan 100 tagged

[DeviceC-GigabitEthernet1/0/11] quit

# Configure GigabitEthernet1/0/12 as a hybrid port, and assign it to VLAN 200 as a tagged

VLAN member.

[DeviceC] interface gigabitethernet 1/0/12

[DeviceC-GigabitEthernet1/0/12] port link-type hybrid

[DeviceC-GigabitEthernet1/0/12] port hybrid vlan 200 tagged

[DeviceC-GigabitEthernet1/0/12] quit