This document shows how to view and change the primary VLAN for the HP Procurve
Series 2500 Switches:
Definitions:
Default VLAN. In factory default configuration, the switch has one VLAN, called the
DEFAULT_VLAN.
Primary VLAN. The primary VLAN performs five functions: 1) it has the switch's
primary network management IP address; 2) the stack management feature; 3)
learning the default gateway from DHCP and Bootp; and 4) learning the TIMEP server
TTL. Time To Live. This IP datagram parameter specifies how long in seconds an
outgoing packet should exist in the network.
2. You can change the name of the default VLAN, but you cannot delete it or change
it's VID.
3. The switch requires that all ports be members of a VLAN. So, in order to remove
a port from the default VLAN, you must first assign that port to another VLAN. In
this way, you can move all ports out of the default VLAN, if you wish.
4. VLAN support is always on. By contrast, the Procurve switch models 1600M,
2400M, 2424M, 4000M and 8000M have VLAN support deactivated, by
default.
3. The switch sends and receives its stacking management packets only on the
primary VLAN (for more details on stack management, see the Management and
Configuration Guide's section "HP Procurve Stack Management".).
5. The switch uses one default gateway. In spite of having one default gateway, the
switch can communicate (ping, network management, TELNET, etc.) with remote
(that is: through a router) subnets from any of its VLANs. The switch has no need
for more than one default gateway.
Procurve switch models 1600M, 2400M, 2424M, 4000M and 8000M have a
different default gateway support model.
The CLI, menu and web instructions below apply to software version F.01.07.
Choose Switch Configuration, then VLAN Menu, then VLAN Support. By choosing
EEdi
ditt you can select a different VLAN as primary.
dit,
Display the primary VLAN using the show vlan command. You can execute this
command in any mode.
Change the primary VLAN using the global configuration mode command, primary-
<vlan-id>, where you specify the new primary VLAN by VID, not by VLAN
vlan <vlan-id>
name. For example, to make VLAN 22 the primary VLAN:
HP2512(config)# primary-vlan 22
To view the primary VLAN setting, click on the Configuration tab, then click on VLAN
Configuration.
To change the Primary VLAN Using the Web Interface, click on the Configuration
tab, then click on VLAN Configuration, then click on ADD/REMOVE VLANs, select
your new primary VLAN from the list in the box labeled Current VLAN Definitions,
then click on Set Primary VLAN.
Verification Commands:
Troubleshooting Scenarios:
Symptom The switch does not learn the Timep server address, the default gateway
Symptom:
address or TTL from DHCP or Bootp.
Issue: The switch can learn its Timep server address, default gateway
Possible Issue
address or TTL from DHCP or Bootp packets received on the primary VLAN, but not
Solution If you want the switch to learn its Timep server address, default gateway
Solution:
address or TTL from DHCP or Bootp, make sure there is a DHCP or Bootp server on
The user can set the current date and time using the CLI configuration mode
command, time
time.
The user can set the Timep server address, default gateway address or TTL by:
Symptom:
Issue The Commander and Candidates are not connected by their
Possible Issue:
respective switches' primary VLANs. See the Management and Configuration
routable.
Solution: Make sure that the stack commander's primary VLAN has connectivity to
Solution
the primary VLANs of the candidates. This connection must not pass through a
router.
Symptom The user replaced a Procurve switch model 1600M, 2400M, 2424M,
Symptom:
4000M or 8000M with a Procurve 2500 series switch, and has problems forwarding
Possible Issue:
forwarding, there is an important difference in default behavior between the 2500
series switches and the other models listed above. In factory default mode the 2500
series switches have VLAN support on, while the other switch models listed above
have VLAN support off. The other switch models will receive and process all
incoming packets, whether tagged or not. In factory default configuration, the 2500
series switches will not process tagged packets, because the default VLAN's ports are
set to Untagged. For this reason, the 2500 series switches will discard incoming
tagged packets.
It is difficult to troubleshoot this problem using the switch counters, because the switch
2500's transmit and receive counters will increment as if traffic is successfully being
transmitted and received, even though the packets will not be processed. These
Solution:: The Installation and Getting Started Guide has excellent advice for verifying
Solution
communication. See the chapter "Troubleshooting", section "Hardware Diagnostic
"VLAN Tagging Information". At the end of this section is a table introduced with
"To summarize:" This table gives an excellent summary of how to correctly configure
directly-connect devices.