HP 9304m Installation And Getting Started Manual page 222

Procurve routing switches
Table of Contents

Advertisement

Configuring Virtual LANs (VLANs)
HP9304-A(config-vlan-3)# untag e 1/9 to 1/16
HP9304-A(config-vlan-3)# no spanning-tree
HP9304-A(config-vlan-3)# ip-subnet 1.1.1.0/24
HP9304-A(config-vlan-ip-subnet)# static e 1/9 to 1/12
HP9304-A(config-vlan-ip-subnet)# router-interface ve3
HP9304-A(config-vlan-ip-subnet)# ipx-network 1 ethernet_802.3
HP9304-A(config-vlan-ipx-network)# static e 1/13 to 1/16
HP9304-A(config-vlan-ipx-network)# router-interface ve4
HP9304-A(config-vlan-ipx-network)# other-proto name block-other-protocols
HP9304-A(config-vlan-other-proto)# exclude e 1/9 to 1/16
HP9304-A(config-vlan-other-proto)# no dynamic
HP9304-A(config-vlan-other-proto)# interface ve 3
HP9304-A(config-vif-3)# ip addr 1.1.1.1/24
HP9304-A(config-vif-3)# ip ospf area 0.0.0.0
HP9304-A(config-vif-3)# int ve4
HP9304-A(config-vif-4)# ipx network 1 ethernet_802.3
HP9304-A(config-vif-4)#
Now configure VLAN 4. Remember this is a flat segment that, in the previous example, obtained its IP default
gateway and IPX router services from an external HP 9304M. In this example, HP9304-A will provide the routing
services for VLAN 4. You also want to configure the STP priority for VLAN 4 to make HP9304-A the root bridge for
this VLAN.
HP9304-A(config-vif-4)# vlan 4 name Bridged_ALL_Protocols
HP9304-A(config-vlan-4)# untag ethernet 1/17 to 1/24
HP9304-A(config-vlan-4)# tag ethernet 1/25 to 1/26
HP9304-A(config-vlan-4)# spanning-tree
HP9304-A(config-vlan-4)# spanning-tree priority 500
HP9304-A(config-vlan-4)# router-interface ve5
HP9304-A(config-vlan-4)# int ve5
HP9304-A(config-vif-5)# ip address 1.1.3.1/24
HP9304-A(config-vif-5)# ip ospf area 0.0.0.0
HP9304-A(config-vif-5)# ipx network 3 ethernet_802.3
HP9304-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 7-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.
HP9304-A(config-vif-5)# vlan 5 name Rtr_BB_to_Bldg.2
HP9304-A(config-vlan-5)# tag e 1/25
HP9304-A(config-vlan-5)# no spanning-tree
HP9304-A(config-vlan-5)# router-interface ve6
HP9304-A(config-vlan-5)# vlan 6 name Rtr_BB_to_Bldg.3
HP9304-A(config-vlan-6)# tag ethernet 1/26
HP9304-A(config-vlan-6)# no spanning-tree
HP9304-A(config-vlan-6)# router-interface ve7
HP9304-A(config-vlan-6)# int ve6
HP9304-A(config-vif-6)# ip addr 1.1.4.1/24
HP9304-A(config-vif-6)# ip ospf area 0.0.0.0
HP9304-A(config-vif-6)# ipx network 4 ethernet_802.3
HP9304-A(config-vif-6)# int ve7
HP9304-A(config-vif-7)# ip addr 1.1.5.1/24
HP9304-A(config-vif-7)# ip ospf area 0.0.0.0
HP9304-A(config-vif-7)# ipx network 5 ethernet_802.3
HP9304-A(config-vif-7)#
7 - 25

Advertisement

Table of Contents
loading

This manual is also suitable for:

9315m

Table of Contents