Configuration procedure, Configuration restrictions and guidelines – H3C Technologies H3C S12500-X Series Switches User Manual

Page 136

Advertising
background image

125

Figure 35 Network diagram

Configuration procedure

1.

Configure Device B:
# Configure VLAN 5 and VLAN 10 as primary VLANs.

<DeviceB> system-view

[DeviceB] vlan 5

[DeviceB-vlan5] private-vlan primary

[DeviceB-vlan5] quit

[DeviceB] vlan 10

[DeviceB-vlan10] private-vlan primary

[DeviceB-vlan10] quit

# Create VLANs 2, 3, 6, and 8, which are to be configured as secondary VLANs.

[DeviceB] vlan 2 to 3

[DeviceB] vlan 6

[DeviceB-vlan6] quit

[DeviceB] vlan 8

[DeviceB-vlan8] quit

# Configure the uplink port Ten-GigabitEthernet 1/0/1 to operate in trunk promiscuous mode in

VLANs 5 and 10.

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

[DeviceB-Ten-GigabitEthernet1/0/1] port private-vlan 5 10 trunk promiscuous

[DeviceB-Ten-GigabitEthernet1/0/1] quit

# Assign the downlink port Ten-GigabitEthernet 1/0/2 to VLAN 2, and configure the port to

operate in host mode. Assign the downlink port Ten-GigabitEthernet 1/0/3 to VLAN 3, and
configure the port to operate in host mode.

[DeviceB] interface ten-gigabitethernet 1/0/2

[DeviceB-Ten-GigabitEthernet1/0/2] port access vlan 2

[DeviceB-Ten-GigabitEthernet1/0/2] port private-vlan host

[DeviceB-Ten-GigabitEthernet1/0/2] quit

XG

E1

/0/2

XGE1/0/

8

Advertising
This manual is related to the following products: