Configuring VLANs

HP9300-A(config-vlan-4)# tag ethernet 4/1 to 4/2

HP9300-A(config-vlan-4)# spanning-tree

HP9300-A(config-vlan-4)# spanning-tree priority 500

HP9300-A(config-vlan-4)# router-interface ve5

HP9300-A(config-vlan-4)# int ve5

HP9300-A(config-vif-5)# ip address 1.1.3.1/24

HP9300-A(config-vif-5)# ip ospf area 0.0.0.0

HP9300-A(config-vif-5)# ipx network 3 ethernet_802.3

HP9300-A(config-vif-5)#

It is time to configure a separate port-based VLAN for each of the routed backbone ports (Ethernet 25 and 26).

If you do not create a separate tagged port-based VLAN for each point-to-point backbone link, you need to include tagged interfaces for Ethernet 25 and 26 within VLANs 2, 3, and 8. This type of configuration makes the entire backbone a single STP domain for each VLAN 2, 3, and 8. This is the configuration used in the example in “Configuring IP Sub-net, IPX Network and Protocol-Based VLANs” on page 16-20.In this scenario, the virtual interfaces within port-based VLANs 2, 3, and 8 will be accessible using only one path through the network. The path that is blocked by STP is not available to the routing protocols until it is in the STP FORWARDING state.

HP9300-A(config-vif-5)# vlan 5 name Rtr_BB_to_Bldg.2

HP9300-A(config-vlan-5)# tag e4/1

HP9300-A(config-vlan-5)# no spanning-tree

HP9300-A(config-vlan-5)# router-interface ve6

HP9300-A(config-vlan-5)# vlan 6 name Rtr_BB_to_Bldg.1

HP9300-A(config-vlan-6)# tag ethernet 4/2

HP9300-A(config-vlan-6)# no spanning-tree

HP9300-A(config-vlan-6)# router-interface ve7

HP9300-A(config-vlan-6)# int ve6

HP9300-A(config-vif-6)# ip addr 1.1.4.1/24

HP9300-A(config-vif-6)# ip ospf area 0.0.0.0

HP9300-A(config-vif-6)# ipx network 4 ethernet_802.3

HP9300-A(config-vif-6)# int ve7

HP9300-A(config-vif-7)# ip addr 1.1.5.1/24

HP9300-A(config-vif-7)# ip ospf area 0.0.0.0

HP9300-A(config-vif-7)# ipx network 5 ethernet_802.3

HP9300-A(config-vif-7)#

This completes the configuration for 9304 A. The configuration for 9304 B and C is very similar except for a few issues.

IP sub-nets and IPX networks configured on 9304 B and 9304 C must be unique across the entire network, except for the backbone port-based VLANs 5, 6, and 7 where the sub-net is the same but the IP address must change.

There is no need to change the default priority of STP within VLAN 4.

16 - 25