Configure a HP 5308xl Switch and route to each subnet

Posted on 2008-10-06
Medium Priority
Last Modified: 2012-05-05
Hallo Experts,

I´m a newbie with configure HP ProCurve Switches!

We have two 5308xl switch in ouer company, the configuration is:

; J4819A Configuration Editor; Created on release #E.11.03

hostname "mainswitchb1"
snmp-server contact "" 
snmp-server location "" 
web-management management-url "
cdp run
module 6 type J4820A
module 1 type J4821A
module 7 type J4820A
module 3 type J4820A
module 4 type J4820A
module 5 type J4820A
module 2 type J4878A
ip default-gateway
ip routing
snmp-server community "public" Unrestricted
snmp-server host "public" Not-INFO
snmp-server host "public"
snmp-server host "public"
vlan 1
   name "DEFAULT_VLAN"
   untagged A1-A4,B1-B4,C1-C24,D1-D24,E1-E24,F1-F24,G1-G24
   ip address
   ip address
   ip address
   ip address
   ip address
   ip address
   ip address
   ip helper-address
fault-finder bad-driver sensitivity low
fault-finder bad-transceiver sensitivity low
fault-finder bad-cable sensitivity low
fault-finder too-long-cable sensitivity low
fault-finder over-bandwidth sensitivity low
fault-finder broadcast-storm sensitivity low
fault-finder loss-of-link sensitivity low
fault-finder duplex-mismatch-HDx sensitivity low
fault-finder duplex-mismatch-FDx sensitivity low
xrrp domain 2
xrrp instance 1 1
xrrp instance 2 1 ip
xrrp instance 2 1 ip
xrrp instance 2 1 ip
xrrp instance 2 1 ip
xrrp instance 2 1 ip
xrrp instance 2 1 ip
ip route
ip route
ip route
ip route
ip route
ip route
password manager
password operator

In the Network there is a second router with the ip: and the clients are in the subnet. But I can´t ping the router from the clients. Only when I give them an second ip from the subnet.

Perhaps you know a started guide to configure the hp switch? or is it to difficult?

thanks for the help!

best regard, wolfgang
Question by:deibel
LVL 10

Accepted Solution

kyleb84 earned 1000 total points
ID: 22655197
What you've done is not particually the way it's supposed to be done.....

If you paste these commands in:
no ip routing
no ip route
no xrrp
vlan 1
   no ip address
   no ip address
   no ip address
   no ip address
   no ip address
   no ip address
ip routing


That should clear up all the clutter in your switch's config.
The idea is, you have a different subnet/network for each vlan, and the switch will route between VLANs, as a rule of thumb you're not supposed to have multiple networks on the same "VLAN".

If you want another network, maybe isolate it to one of your modules:

vlan 20
 name "Sales"
 untagged G1-G24
 ip address

This will remove VLAN 1 from the last modules ports, and put them in their own network ( network).


If you have a default router of, make a VLAN for that network, then plug it in to a port on the switch like this:

vlan 12
 name "Gateway"
 untagged E1
 ip address

Then plug your router in to port E1, the switch will now forward internet bound packets to the router.

NOTE: Your router must know of how to get "back" to your switches other networks, you might have to add routes to the [ via] etc... in the router.


There's some config examples you can read here:


The first document explains how to route between VLANs (Which is exactly what you need to read).

Author Closing Comment

ID: 31503590
great answer

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question