Techieshelp.com

HP A Series VLAN and Trunk Guide

Here I will show you how to create a trunk on an HP A Series Switch, how to create a VLAN on an HP A Series Switch and how to allow VLAN traffic over a trunk. First we will create a VLAN.

Creating a VLAN on an HP A Series Switch

This is a very simple process, we first log in as System and run the VLAN command followed by the VLAN ID. In the example below we create 10 VLAN`s. 10 to 20.

System
Vlan 10 to 20

To remove a vlan it would be

undo vlan 10

To add and ip address to a VLAN weenter the VLAN and run the ip address command speciying the IP and subnet required

interface vlan 10
ip address 192.168.1.1 24

Creating Access Ports and Allow VLAN Access

Here we create a group call Clients, we then add ports to the group and define them as an access ports and finally we grant the group access to a VLAN (10). Remember you can use Fast Ethernet ports or Gigabit Ethernet ports, in this example we use Gigabit ports 1 to 10.

port-group manual Client
Group-member Gi 1/0/1 to G1 1/0/10
port link-type access
port access Vlan 10

Creating HP A Series Trunks

Here we select a port we will use as a trunk port, generally trunk ports are used to connect switched together where as access ports are to connect deices to such as pc`s or printers. Once we select the port we then set its default VLAN to be 10 with the PVID command, we then remove the standard VLAN port of 1. We then finally grant which VLAN`s are permitted to pass traffic over this trunk port in this case it is VLAN 10 to 20. If the switch was an access switch this port would generally connect to the core switch through this port.

interface gigabit 1/0/24
port link-type trunk
port trunk PVID vlan 10
undo port trunk permit vlan 1
port trunk permit vlan 10 to 20

With the guide above you should now be able to create VLAN`s on the A series switch, add ports to VLANs by creating a group and create a trunk port on the A Series switch.