07-17-2019 01:55 PM
i have these commands in HP switch need to configure them into Cisco switch , whats should i type
vlan 1
name "DEFAULT_VLAN"
untagged 21-28
ip address X.X.X.X X.X.X.X
no untagged 1-20
exit
vlan 2
name "Control"
untagged 1-10,15-20
ip address X.X.X.X X.X.X.X
tagged 27-28
exit
vlan 3
name "CobraNet"
untagged 11-14
ip address X.X.X.X X.X.X.X
tagged 27-28
exit
snmp-server community "public" unrestricted
spanning-tree
Solved! Go to Solution.
07-18-2019 06:16 PM
07-17-2019 10:01 PM
07-18-2019 12:42 AM
switchport
switchport mode trunk
switchport trunk allowed vlan 2 <permits VLAN 2 only>
switchport trunk native vlan 999 <makes sure VLAN2 (and any others that are allowed) is tagged>
no shut
which port numbers will be configure to Vlan 2 and port 27,28 in multiple vlan 1,2 ,3 (can it be as it will be trunk port )
07-18-2019 01:22 AM - edited 07-18-2019 01:26 AM
Sorry I missed ports 27 and 28. If you need vlans tagged on a port then you must configure it as a trunk, permit the vlans you want (optional but keeps unnecessary traffic out) and make sure the native vlan is different to the ones you want tagged.
By default the native vlan on a trunk is not tagged. You can change that but simpler this way
07-18-2019 02:06 AM
interface GigabitEthernet0/25
switchport trunk allowed vlan 2,3
switchport mode trunk
!
interface GigabitEthernet0/26
switchport trunk allowed vlan 2,3
switchport mode trunk
!
interface Vlan1
ip address 192.168.3.254 255.255.255.0
no ip route-cache
shutdown
!
interface Vlan2
ip address 192.158.1.254 255.255.255.0
!
interface Vlan3
ip address 192.168.2.254 255.255.255.0
and this is for port 1 till 10 access vlan 2
port 11 till 14 access vlan 3
15 till 24 access vlan 2
what will be the ports that access vlan 1
07-18-2019 06:16 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide