EasyManua.ls Logo

HP 9304m - Page 221

HP 9304m
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation and Getting Started Guide
7 - 24
USING THE CLI
Configuring HP9304-A
Enter the following commands to configure HP9304-A. The following commands enable OSPF or RIP routing and
IPX routing.
HP9304> en
No password has been assigned yet...
HP9304# configure terminal
HP9304(config)# hostname HP9304-A
HP9304-A(config)# router ospf
HP9304-A(config-ospf-router)# area 0.0.0.0 normal
HP9304-A(config-ospf-router)# router ipx
ipx routing enabled for next power cycle.
Please save configuration to flash and reboot.
HP9304-A(config-ospf-router)#
The following commands create the port-based VLAN 2. In the previous example, an external HP 9304M defined
the router interfaces for VLAN 2. With ISR, routing for VLAN 2 is done locally within each HP 9304M. Therefore,
there are two ways you can solve this problem. One way is to create a unique IP sub-net and IPX network VLAN,
each with its own virtual interface and unique IP or IPX address within VLAN 2 on each HP 9304M. In this
example, this is the configuration used for VLAN 3. The second way is to split VLAN 2 into two separate port-
based VLANs and create a virtual router interface within each port-based VLAN. Later in this example, this
second option is used to create a port-based VLAN 8 to show that there are multiple ways to accomplish the same
task with ISR.
You also need to create the Other-Protocol VLAN within port-based VLAN 2 and 8 to prevent unwanted protocols
from being Layer 2 switched within port-based VLAN 2 or 8. Note that the only port-based VLAN that requires
STP in this example is VLAN 4. You will need to configure the rest of the network to prevent the need to run STP.
HP9304-A(config-ospf-router)# vlan 2 name IP-Subnet_1.1.2.0/24
HP9304-A(config-vlan-2)# untag e 1/1 to 1/4
HP9304-A(config-vlan-2)# no spanning-tree
HP9304-A(config-vlan-2)# router-interface ve1
HP9304-A(config-vlan-2)# other-proto name block_other_protocols
HP9304-A(config-vlan-other-proto)# no dynamic
HP9304-A(config-vlan-other-proto)# exclude e 1/1 to 1/4
Once you have defined the port-based VLAN and created the virtual interface, you need to configure the virtual
interface just as you would configure a physical interface.
HP9304-A(config-vlan-other-proto)# interface ve1
HP9304-A(config-vif-1)# ip address 1.1.2.1/24
HP9304-A(config-vif-1)# ip ospf area 0.0.0.0
Do the same thing for VLAN 8.
HP9304-A(config-vif-1)# vlan 8 name IPX_Network2
HP9304-A(config-vlan-8)# untag ethernet 1/5 to 1/8
HP9304-A(config-vlan-8)# no spanning-tree
HP9304-A(config-vlan-8)# router-interface ve 2
HP9304-A(config-vlan-8)# other-proto name block-other-protocols
HP9304-A(config-vlan-other-proto)# no dynamic
HP9304-A(config-vlan-other-proto)# exclude ethernet 1/5 to 1/8
HP9304-A(config-vlan-other-proto)# int ve2
HP9304-A(config-vif-2)# ipx network 2 ethernet_802.3
HP9304-A(config-vif-2)#
The next thing you need to do is create VLAN 3. This is very similar to the previous example with the addition of
virtual interfaces to the IP sub-net and IPX network VLANs. Also there is no need to exclude ports from the
IP sub-net and IPX network VLANs on the router.
HP9304-A(config-vif-2)# vlan 3 name IP_Sub_&_IPX_Net_VLAN

Table of Contents