Configuring VLANs
Commands for Device D
Device D is at the other end of path and separates the channels back into individual VLANs. The tag type must be the same as tag type configured on the other core device (Device C). In addition, VLAN aggregation also must be enabled.
HP9300D(config)# tag-type 9100
HP9300D(config)# aggregated-vlan
HP9300D(config)# vlan 101 by port
HP9300D(config-vlan-101)# tagged ethernet 4/1
HP9300D(config-vlan-101)# untagged ethernet 3/1
HP9300D(config-vlan-101)# exit
HP9300D(config)# vlan 102 by port
HP9300D(config-vlan-102)# tagged ethernet 4/1
HP9300D(config-vlan-102)# untagged ethernet 3/2
HP9300D(config-vlan-102)# exit
HP9300D(config)# write memory
Commands for Device E
Since the configuration in Figure 16.17 on page 16-45is symmetrical, the commands for configuring device E are identical to the commands for configuring device A.
HP9300E(config)# vlan 101 by port
HP9300E(config-vlan-101)# tagged ethernet 2/1
HP9300E(config-vlan-101)# untagged ethernet 1/1
HP9300E(config-vlan-101)# exit
HP9300E(config)# vlan 102 by port
HP9300E(config-vlan-102)# tagged ethernet 2/1
HP9300E(config-vlan-102)# untagged ethernet 1/2
HP9300E(config-vlan-102)# exit
HP9300E(config)# vlan 103 by port
HP9300E(config-vlan-103)# tagged ethernet 2/1
HP9300E(config-vlan-103)# untagged ethernet 1/3
HP9300E(config-vlan-103)# exit
HP9300E(config)# vlan 104 by port
HP9300E(config-vlan-104)# tagged ethernet 2/1
HP9300E(config-vlan-104)# untagged ethernet 1/4
HP9300E(config-vlan-104)# exit
HP9300E(config)# vlan 105 by port
HP9300E(config-vlan-105)# tagged ethernet 2/1
HP9300E(config-vlan-105)# untagged ethernet 1/5
HP9300E(config-vlan-105)# exit
HP9300E(config)# write memory
Commands for Device F
The commands for configuring device F are identical to the commands for configuring device E. In this example, since the port numbers on each side of the configuration in Figure 16.17 on page 16-45are symmetrical, the configuration of device F is also identical to the configuration of device A and device B.
HP9300F(config)# vlan 101 by port
HP9300F(config-vlan-101)# tagged ethernet 2/1
HP9300F(config-vlan-101)# untagged ethernet 1/1
HP9300F(config-vlan-101)# exit
HP9300F(config)# vlan 102 by port
HP9300F(config-vlan-102)# tagged ethernet 2/1
HP9300F(config-vlan-102)# untagged ethernet 1/2
HP9300F(config-vlan-102)# exit
HP9300F(config)# vlan 103 by port
HP9300F(config-vlan-103)# tagged ethernet 2/1
HP9300F(config-vlan-103)# untagged ethernet 1/3