Hello , We recently bought hp switch to our environment and i was tasked by my manager to configure 2 vlans with one trunking port to allow the multiple vlans.
As I am coming form cisco world , i found the commands i know dont suite the hp CLI...
Can someone help me with the configuration please?
I created 2 vlans :
then the question is here i want port 24 to allow the 2 vlans to pass.
Tagged: Trunk Port
Untagged: Access Port
Support vlan 2 and vlan 3 you want to pass from port 24:
vlan 2 tagged eth 24
vlan 3 tagged eth 24
Or can take your example:
So basically like this configuration will allow a laptop with static ip 10.0.0.2 connected to port 24 to ping the vlan (10.0.0.1)?
ip default-gateway 192.168.13.1snmp-server community "public" unrestrictedvlan 1name "VLAN1"no untagged 8-10,12-14untagged 1-7,11,15-28ip address dhcp-bootpexitvlan 10name "vlan10"untagged 8-10tagged 24ip address 10.0.0.1 255.255.255.0exitvlan 20name "vlan20"untagged 12-14tagged 24ip address 188.8.131.52 255.255.255.0exit
If port 24 is directly connected with Laptop then this port should be a access(untagged) port and allowed VLAN would be 10.
It will be like that:
vlan 10name "vlan10"untagged 8-10untagged 24ip address 10.0.0.1 255.255.255.0exit
What if i need to allow port 24 to access the 2 vlans?
it seems i cant untagged 2 vlans at the same interface.
You can not untagged (access)same interface for two vlans.
So, how i can let these 2 vlans (vlan 10 and vlan 20) passby or access port 24 ??
Only one vlan on access port.
Ok... last question please , how i can add dhcp for vlan 10 for example i want it to dhcp 10.0.0.0 network
It depends on your requirement.
What is you requirement for DHCP configuration?
© Copyright 2023 Hewlett Packard Enterprise Development LPAll Rights Reserved.