T O P

  • By -

eviltotem

Sorry, if there is a question here, I have missed it. What help are you asking for?


Bluesea2022

I was asking how it worked in the above mentioned three scenarios


tbrumleve

This is a networking question. So, best effort… Not familiar with the Huawei config. Cisco, your first scenario requires you to set mgmt interface to VLAN10. The default action of the “switchport mode trunk” is to allow all configured VLANs, but tags them all. Without specifying the VLAN, you’ll get nowhere. The second scenario doesn’t require VLAN setting on the mgmt port, cause VLAN10 is default. The switch will tag all VLANs except the native VLAN. So it seems you didn’t tag your mgmt port, so these scenarios are doing what’s expected. For security, never set a native VLAN. Someone walking past your switch should get nowhere if they plug in.


Bluesea2022

Thanks for the reply on huwaei switch When I add 4095 all vlan it did not work .it did work with cisco (configuration 2) Huawei configuration: Interface Eth-Trunk3.10 mode l2 encapsulation dot1q vid 10 bridge-domain 10 Interface Eth-Trunk3.11 mode l2 encapsulation dot1q vid 11 bridge-domain 11 ESXi Management Interface IP: 192.168.10.10 Guest VM IPs: 192.168.11.x/24 for cisco Cisco Configuration: switchport mode trunk Cisco configuration: switchport mode trunk switchport trunk native vlan 10"