06-05-2023 11:21 AM - edited 06-05-2023 11:57 AM
Hi,
I am very new to Switch world. I have a task to migrate from HP switch to Cisco switch but I'm not familiar with the HP configuration. I wanted to make sure that what I have is correct so there is no hiccups when migration happens.
Gi1/0/1 is the uplink to the main switch.
Config on HP:
hostname "Switch1"
ip default-gateway 10.10.10.1
exit
vlan 1
name "DEFAULT_VLAN"
no untagged 4-26
untagged 1-3,27-52
ip address dhcp-bootp
ipv6 enable
ipv6 address dhcp full
exit
vlan 100
name "PHONE"
untagged 4
tagged 1-3
no ip address
voice
vlan 300
name "VLAN300"
untagged 5-26
tagged 1-3
no ip address
exit
vlan 800
name "VLAN800"
tagged 1-3
no ip address
exit
vlan 900
name "MANAGEMENT"
tagged 1-3
ip address 10.10.10.250 255.255.255.0
exit
no tftp server
no autorun
no dhcp config-file-update
no dhcp image-file-update
no dhcp tr69-acs-url
password manager
Here is what I have for Cisco:
hostname Switch1
vlan1
name DEFAULT
vlan 100
name Phone
Vlan 300
name VLAN300
vlan 800
name VLAN800
vlan 900
name MANAGEMENT
int vlan 1
ip address dhcp
int vlan 900
ip address 10.10.10.250 255.255.255.0
int range Gi1/0/1-3
switchport mode trunk
switchport trunk allow vlan 100,300,800,900
int Gi1/0/4
switchport mode access
switchport access voice vlan 100
int range Gi1/0/5-26
switchport mode access
switchport access vlan 300
ip default-gateway 10.10.10.1
Question:
1. Do I have to allow vlan 1 in the trunk?
2. Does the configuration for the Cisco switch look ok?
06-05-2023 11:43 AM - edited 06-05-2023 11:44 AM
Hi,
No, vlan1 is the native vlan, and you don't to specify it in the trunk
HTH
06-05-2023 11:52 AM
Thank you.
Does the configuration I have look ok?
06-05-2023 12:05 PM - edited 06-05-2023 12:06 PM
Looks correct to me.
Just one thing. It looks like you are using vlan 900 as your management vlan. In this case, you can simply shut down vlan1. It is a good practice not to use vlan1.
int vlan 1
sh
HTH
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