HP FlexFabric 12900 Series Configuration Manual page 154

Layer 2-lan switching
Hide thumbs Also See for FlexFabric 12900 Series:
Table of Contents

Advertisement

# Assign the port Ten-GigabitEthernet 1/0/4 to VLAN 11.
[DeviceB] interface ten-gigabitethernet 1/0/4
[DeviceB-Ten-GigabitEthernet1/0/4] port access vlan 11
[DeviceB-Ten-GigabitEthernet1/0/4] quit
# Assign the port Ten-GigabitEthernet 1/0/3 to VLAN 21.
[DeviceB] interface ten-gigabitethernet 1/0/3
[DeviceB-Ten-GigabitEthernet1/0/3] port access vlan 21
[DeviceB-Ten-GigabitEthernet1/0/3] quit
3.
Configure Device C:
# Create VLANs 10 and 20.
<DeviceC> system-view
[DeviceC] vlan 10
[DeviceC-vlan10] quit
[DeviceC] vlan 20
[DeviceC-vlan20] quit
# Configure Ten-GigabitEthernet1/0/5 as a hybrid port, and assign it to VLANs 10 and 20 as a
tagged VLAN member.
[DeviceC] interface ten-gigabitethernet 1/0/5
[DeviceC-Ten-GigabitEthernet1/0/5] port link-type hybrid
[DeviceC-Ten-GigabitEthernet1/0/5] port hybrid vlan 10 20 tagged
[DeviceC-Ten-GigabitEthernet1/0/5] quit
Verifying the configuration
# Display the configuration of primary VLAN 10 on Device A.
[DeviceA] display private-vlan 10
Primary VLAN ID: 10
Secondary VLAN ID: 11-12
VLAN ID: 10
VLAN type: Static
Private-vlan type: Primary
Route interface: Not configured
Description: VLAN 0010
Name: VLAN 0010
Tagged
Ten-GigabitEthernet1/0/2
Untagged ports:
Ten-GigabitEthernet1/0/3
VLAN ID: 11
VLAN type: Static
Private-vlan type: Secondary
Route interface: Not configured
Description: VLAN 0011
Name: VLAN 0011
Tagged
Ten-GigabitEthernet1/0/2
Untagged ports: None
ports:
ports:
Ten-GigabitEthernet1/0/5
Ten-GigabitEthernet1/0/5
146

Advertisement

Table of Contents
loading

Table of Contents