Verification – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 35

Advertising
background image

25

<AC1> system-view

[AC1] vlan 100

[AC1-vlan100] port gigabitethernet 1/0/2

[AC1-vlan100] quit

# Create VLAN 200, and assign port GigabitEthernet 1/0/3 to VLAN 200.

[AC1] vlan 200

[AC1-vlan200] port gigabitethernet 1/0/3

[AC1-vlan200] quit

# Configure port GigabitEthernet 1/0/4 as a trunk port, and assign it to VLANs 100 and 200,
enabling GigabitEthernet 1/0/4 to forward traffic of VLANs 100 and 200 to AC 2.

[AC1] interface gigabitethernet 1/0/4

[AC1-GigabitEthernet1/0/4] port link-type trunk

[AC1-GigabitEthernet1/0/4] port trunk permit vlan 100 200

Please wait... Done.

2.

Configure AC 2 as you configure AC 1.

3.

Configure Host A and Host C to be on the same IP subnet, for example, 192.168.100.0/24.
Configure Host B and Host D to be on the same IP subnet, for example, 192.168.200.0/24.

Verification

1.

Host A and Host C and ping each other successfully, but they both fail to ping Host B. Host B and

Host D and ping each other successfully, but they both fail to ping Host A.

2.

Check whether the configuration is successful by displaying relevant VLAN information.
# Display information about VLANs 100 and 200 on AC 1.

[AC1-GigabitEthernet1/0/4] display vlan 100

VLAN ID: 100

VLAN Type: static

Route Interface: not configured

Description: VLAN 0100

Name: VLAN 0100

Broadcast MAX-ratio: 100%

Tagged Ports:

GigabitEthernet1/0/4

Untagged Ports:

GigabitEthernet1/0/2

[AC1-GigabitEthernet1/0/4] display vlan 200

VLAN ID: 200

VLAN Type: static

Route Interface: not configured

Description: VLAN 0200

Name: VLAN 0200

Broadcast MAX-ratio: 100%

Tagged Ports:

GigabitEthernet1/0/4

Untagged Ports:

GigabitEthernet1/0/3

Advertising